From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 298031382C5 for ; Mon, 12 Mar 2018 14:06:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8539BE089A; Mon, 12 Mar 2018 14:06:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 30543E086D for ; Mon, 12 Mar 2018 14:06:43 +0000 (UTC) Received: from red.yakaraplc.local (host213-123-185-55.in-addr.btopenworld.com [213.123.185.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: chewi) by smtp.gentoo.org (Postfix) with ESMTPSA id 8F280335C49 for ; Mon, 12 Mar 2018 14:06:41 +0000 (UTC) Date: Mon, 12 Mar 2018 14:06:35 +0000 From: James Le Cuirot To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Proliferation of IUSE=static-libs in Gentoo Message-ID: <20180312140631.6df4b45d@red.yakaraplc.local> In-Reply-To: <20180312135334.GB7672@undo-autkin> References: <1520523644.13614.14.camel@gentoo.org> <20180308175735.76093afa@wim.jer> <20180312135334.GB7672@undo-autkin> X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.32; x86_64-redhat-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: b11ef238-3e43-4628-ada1-1079805d515b X-Archives-Hash: ae1e910cd61a4bc79c862ee071912299 On Mon, 12 Mar 2018 13:53:34 +0000 Andrey Utkin wrote: > On Thu, Mar 08, 2018 at 05:57:35PM +0100, Jeroen Roovers wrote: > > On Thu, 08 Mar 2018 16:40:44 +0100 > > Micha=C5=82 G=C3=B3rny wrote: > > =20 > > > As part of that we also shouldn't deliver static libraries =20 > >=20 > > 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? =20 >=20 > 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=3Dstatic-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=3Dstatic-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. --=20 James Le Cuirot (chewi) Gentoo Linux Developer