This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Moving to Autoconf 2.64, Automake 1.11
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 28 Aug 2009 14:30:50 -0700 (PDT)
- Subject: Re: Moving to Autoconf 2.64, Automake 1.11
I think the move to autoconf 2.64 and automake 1.11 has broken
the libgomp build on HP-UX and maybe some other platforms (and
maybe some other libraries).
Here is what I see:
In libgomp's configure.tgt we set XLDFLAGS to '-lrt' for HP-UX.
In Makefile.am XLDFLAGS is rolled into AM_LDFLAGS and AM_LDFLAGS
is used in the LINK command.
In Makefile.in I see those same settings, but the LINK command is not used
when linking libgomp. Instead automake 1.11 has created libgomp_la_LINK
command to create libgomp and that command uses AM_LIBTOOLFLAGS and
libgomp_la_LDFLAGS but not AM_LDFLAGS. Neither AM_LIBTOOLFLAGS nor
libgomp_la_LDFLAGS include the XLDFLAGS setting from configure so I don't
get the -lrt flag that I need when building libgomp.
Does anyone know the right way to fix this for Automake 1.11?
Steve Ellcey
sje@cup.hp.com