From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DzyIU-0002RZ-Py for garchives@archives.gentoo.org; Tue, 02 Aug 2005 15:03:15 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j72F2ESI009446; Tue, 2 Aug 2005 15:02:14 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j72F0HgG019440 for ; Tue, 2 Aug 2005 15:00:17 GMT Received: from localhost ([127.0.0.1] helo=home.wh0rd.org) by smtp.gentoo.org with esmtp (Exim 4.43) id 1DzyFw-0005WO-UA for gentoo-dev@lists.gentoo.org; Tue, 02 Aug 2005 15:00:37 +0000 Received: (qmail 26177 invoked from network); 2 Aug 2005 10:21:38 -0400 Received: from unknown (HELO vapier) (192.168.0.2) by 192.168.0.1 with SMTP; 2 Aug 2005 10:21:38 -0400 From: Mike Frysinger Organization: wh0rd.org To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] The dreaded debug use flag/eclass Date: Tue, 2 Aug 2005 09:22:37 -0400 User-Agent: KMail/1.8.2 References: <42EECAC7.6010907@egr.msu.edu> <200508012226.38226.vapier@gentoo.org> <42EEDDCD.4020209@gentoo.org> In-Reply-To: <42EEDDCD.4020209@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508020922.37442.vapier@gentoo.org> X-Archives-Salt: 019da564-189b-49a3-8826-9df906181ab6 X-Archives-Hash: f17305e1fa8e7da6ed8f371a4c01519d On Monday 01 August 2005 10:43 pm, Danny van Dyk wrote: > Mike Frysinger schrieb: > |>your USE=pic example is wrong, it does not change CFLAGS (and if your > |>package does, it is broken) > > chillispot at least is not wrong. If USE="pic" is set, it compiles _only > with_ -fPIC, ommiting to compile files twice and effectivly telling > libtool not to produce a normal static library. just to review ... `use_with pic` should never be used because if you dont have 'pic' in your USE flags, the ebuild will run `./configure --without-pic` ... that means libtool will try to produce shared and static libraries with object files which were built without PIC ... on many arches (like amd64), the linker will abort btw, where do you get this information ? my tests show that libtool still compiles all files twice even though --with-pic was used ... -mike -- gentoo-dev@gentoo.org mailing list