From: James Le Cuirot <chewi@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Proliferation of IUSE=static-libs in Gentoo
Date: Mon, 12 Mar 2018 14:06:35 +0000 [thread overview]
Message-ID: <20180312140631.6df4b45d@red.yakaraplc.local> (raw)
In-Reply-To: <20180312135334.GB7672@undo-autkin>
On Mon, 12 Mar 2018 13:53:34 +0000
Andrey Utkin <andrey_utkin@gentoo.org> wrote:
> On Thu, Mar 08, 2018 at 05:57:35PM +0100, Jeroen Roovers wrote:
> > On Thu, 08 Mar 2018 16:40:44 +0100
> > Michał Górny <mgorny@gentoo.org> wrote:
> >
> > > As part of that we also shouldn't deliver static libraries
> >
> > OK, so you want to absolutely kill dead the only current sane way
> > for developers who use Gentoo to ship static binaries to their
> > users' target systems? Drive them away to another Linux distro that
> > does support being the build platform that they need? Or force
> > everyone to use EXTRA_ECONF"--enable-static" and hope for them that
> > it works for all packages? All just because static linking
> > *between* ebuilds is bad?
>
> This is close to my current case. Trying (in my own time) to build a
> (hopefully elegant) demo setup of Gentoo & crossdev with static libs
> enabled, to present as an alternative to CentOS which is currently the
> build env at my job (and static linkage is the way the product is
> built now). I run into cross-compilation problems when I enable
> USE=static-libs to any extent, despite the comment in Gentoo's fake
> /usr/lib64/*.so files saying "And yes, this works in the cross-
> compiling scenario as the sysroot-ed linker will prepend the real
> path". But it's what I'd rather have resolved than have no
> USE=static-libs at all.
libtool often screws up relinking unless --with-sysroot is passed to
configure, which is something we're adding for EAPI 7. I need to take a
closer look at those fake .so files to see whether anything more needs
to be done.
--
James Le Cuirot (chewi)
Gentoo Linux Developer
next prev parent reply other threads:[~2018-03-12 14:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-08 15:40 [gentoo-dev] Proliferation of IUSE=static-libs in Gentoo Michał Górny
2018-03-08 15:59 ` Alec Warner
2018-03-08 16:13 ` Rich Freeman
2018-03-08 16:57 ` Jeroen Roovers
2018-03-12 13:53 ` Andrey Utkin
2018-03-12 14:06 ` James Le Cuirot [this message]
2018-03-08 20:16 ` James Le Cuirot
2018-03-08 23:12 ` Francesco Riosa
2018-03-10 11:01 ` Michael Orlitzky
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=20180312140631.6df4b45d@red.yakaraplc.local \
--to=chewi@gentoo.org \
--cc=gentoo-dev@lists.gentoo.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox