From: "Damir Shayhutdinov" <lost404@gmail.com> To: "ALT Linux Sisyphus discussion list" <sisyphus@lists.altlinux.org> Subject: Re: [sisyphus] --as-needed && pkg-config/Libs.private Date: Fri, 9 Feb 2007 09:31:22 +0300 Message-ID: <679044850702082231x515d96cya7f2b7e8b22daea1@mail.gmail.com> (raw) In-Reply-To: <871wl2w81i.fsf@frontier.dottedmag.net> > Поскольку много upstream'ов отказываются включать --as-needed в сборку > (по-разному это мотивируя. некоторые мотивы достаточно существенны для > upstream'а, такие как странная работа ass-needed на не-x86 > архитектурах), предлагаю обратить внимание, что в pkg-config, начиная > с версии 0.18 (аж от лета 2005 года), добавлена возможность деления > библиотек на два класса: необходимых для динамической линковки, и > дополнительных, для статической (Libs и Libs.private). К сожалению, лишь малая часть проблем с --as-needed связана с pkgconfig. Точнее, из-за избыточности библиотек, которые представляет pkg-config --libs, проблем вообще не бывает. > Соответственно, вместо лечения линковки лишних библиотек "по месту" в > каждом приложении, можно приложить патч, разделяющий библиотеки на > Libs и Libs.private на библиотеку, и пропихивать в upstream уже его. В > продавливании таких патчей Сизиф автоматически получает себе в > союзники Debian. Ты путаешь. Мы не лечим линковку "лишних" библиотек. Мы лечим линковку недостаточных библиотек. pkg-config тут не причем. У нормальных апстримов (особенно тех, кто поддерживает статические сборки) проблем с --as-needed не бывает.
next prev parent reply other threads:[~2007-02-09 6:31 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-02-07 10:56 Mikhail Gusarov 2007-02-09 6:09 ` Alexey Rusakov 2007-02-09 6:31 ` Damir Shayhutdinov [this message] 2007-02-09 6:43 ` Mikhail Gusarov 2007-02-09 6:50 ` Damir Shayhutdinov 2007-02-09 8:07 ` Mikhail Gusarov 2007-02-09 9:23 ` Damir Shayhutdinov 2007-02-09 17:55 ` Dmitry V. Levin 2007-02-09 18:42 ` Damir Shayhutdinov 2007-02-12 16:33 ` Mikhail Gusarov 2007-02-09 6:45 ` Mikhail Gusarov 2007-02-09 6:58 ` Damir Shayhutdinov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=679044850702082231x515d96cya7f2b7e8b22daea1@mail.gmail.com \ --to=lost404@gmail.com \ --cc=sisyphus@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git