This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: New libtool is in the GCC and Src trees.
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Steve Ellcey <sje at cup dot hp dot com>, jjohnstn at redhat dot com, bonzini at gnu dot org
- Cc: gcc-patches at gcc dot gnu dot org, libtool at cwilson dot fastmail dot fm, aoliva at redhat dot com
- Date: Tue, 29 May 2007 14:24:59 -0400
- Subject: Re: New libtool is in the GCC and Src trees.
- References: <200705241735.KAA09881@hpsje.cup.hp.com>
Steve and Paolo,
The libtool update has re-exposed the libgfortran build problem on
AIX. libtool calculates max_cmd_line on AIX as 8192 and the link
commandline generated after the libtool update exceeds that limit.
With the old, patched libtool, initially I was overriding
max_cmd_line, but then I was able to work around it by defining
MAKEOVERRIDES=
in libgfortran/Makefile.in to remove the redundant Make variables passed
in. With the libtool update, that Makefile trick no longer seems to be
effective.
I am working around the problem by returning to overriding
max_cmd_line in libgfortran/configure, but this is going to affect users
who want to build GCC on AIX with Fortran configured.
Is there some other place I need to remove the extra Make
variables? Is now the time when GCC should strip the extra variables it
passes? Any idea why the new libtool is creating such large commandlines?
Thanks, David