This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]