Patch to update libtool in GCC and binutils trees

Steve Ellcey sje@cup.hp.com
Fri Mar 30 18:29:00 GMT 2007


Charles Wilson wrote:

> 	LIBSUPCXX_PICFLAGS=
> 	test "$enable_shared" = yes && LIBSUPCXX_PICFLAGS=-prefer-pic

Thanks, testing $enable_shared fixes the build problem.

I still have a problem when testing libstdc++.  On IA64 HP-UX, when
testing in 64 bit mode, I look at
obj_gcc/ia64-hp-hpux11.23/hpux64/libstdc++-v3/testsuite/Makefile

and I see:

CXX =  /proj/opensrc/nightly/build-ia64-hp-hpux11.23-trunk/obj_gcc/./gcc/xgcc -shared-libgcc -B/proj/opensrc/nightly/build-ia64-hp-hpux11.23-trunk/obj_gcc/./gcc -nostdinc++ -L/proj/opensrc/nightly/build-ia64-hp-hpux11.23-trunk/obj_gcc/ia64-hp-hpux11.23/libstdc++-v3/src -L/proj/opensrc/nightly/build-ia64-hp-hpux11.23-trunk/obj_gcc/ia64-hp-hpux11.23/libstdc++-v3/src/.libs -B/proj/opensrc/nightly/gcc-ia64-hp-hpux11.23-trunk/ia64-hp-hpux11.23/bin/ -B/proj/opensrc/nightly/gcc-ia64-hp-hpux11.23-trunk/ia64-hp-hpux11.23/lib/ -isystem /proj/opensrc/nightly/gcc-ia64-hp-hpux11.23-trunk/ia64-hp-hpux11.23/include -isystem /proj/opensrc/nightly/gcc-ia64-hp-hpux11.23-trunk/ia64-hp-hpux11.23/sys-include

The problem is:

	-L/proj/opensrc/nightly/build-ia64-hp-hpux11.23-trunk/obj_gcc/ia64-hp-hpux11.23/libstdc++-v3/src
	-L/proj/opensrc/nightly/build-ia64-hp-hpux11.23-trunk/obj_gcc/ia64-hp-hpux11.23/libstdc++-v3/src/.libs

These don't have the 'hpux64' multilib directory inserted between
ia64-hp-hpux11.23 and libstdc++-v3.  When I do a build/test with the old
libtool the hpux64 directory is there.

Any idea on where this is going wrong?

Steve Ellcey
sje@cup.hp.com



More information about the Gcc-patches mailing list