This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 4.1: Buildable on GHz machines only?
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Ian Lance Taylor <ian at airs dot com>, Andrew Haley <aph at redhat dot com>, Andreas Schwab <schwab at suse dot de>, Gcc Mailing List <gcc at gcc dot gnu dot org>
- Date: 03 May 2005 17:05:43 -0300
- Subject: Re: GCC 4.1: Buildable on GHz machines only?
- References: <JCEPIPKHCJGDMPOHDOIGIECJCOAA.gary@intrepid.com><426F2D5D.7010305@3am-software.com><200504271441.j3REfND27584@makai.watson.ibm.com><426FAA43.7030009@3am-software.com> <m3zmvipy7h.fsf@gossamer.airs.com><17010.666.458892.446031@cuddles.cambridge.redhat.com><m3zmvhk4s2.fsf@gossamer.airs.com> <jemzrh623h.fsf@sykes.suse.de><17010.27400.618827.676847@cuddles.cambridge.redhat.com><m3acnhij8a.fsf@gossamer.airs.com> <20050429203546.GA10338@redhat.com>
On Apr 29, 2005, Richard Henderson <rth@redhat.com> wrote:
> On Fri, Apr 29, 2005 at 01:30:13PM -0400, Ian Lance Taylor wrote:
>> I don't know of a way to tell libtool to not do duplicate compiles.
>> You can use -prefer-pic, but at least from looking at the script it
>> will still compile twice, albeit with -fPIC both times.
> Incidentally, libtool does not compile things twice when you use
> convenience libraries.
Yes, it does, because when you compile libtool still doesn't know
you're going to only use the object file for convenience libraries.
Besides, the fact that only the PIC version of object files is used
for convenience libraries is effectively a limitation of libtool, that
should eventually be addressed.
We should try to reinstate that --tag disable-static patch and get
detailed information on what broke for you, and fix that.
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}