The HP-UX bootstrap has been failing since the switch to C++.  The
first problem was the strsignal problem that Tru64 was also having and
the fix for Tru64 fixes things on HP-UX too.  But after I applied
that patch, I got a good build with no errors, and I got a good
test run, but when I went to run the compiler from it's installed
location I got this:

$ /proj/opensrc/nightly/gcc-ia64-hp-hpux11.23-trunk/bin/gcc      
/usr/lib/hpux32/dld.so: Unable to find library 'libgcc_s.so.0'.

gcc (the driver) is now linked with C++ instead of C and
that means it wants to use the shared libgcc instead of the
archive one but it cannot find it.

Looking at the gcc driver, it has an embedded search path for
the build locations but not the installed location.  I am not
sure why that wouldn't work (if the build location existed) because
in my case it does and one of the directories to be searched
does include libgcc_s.so.0.

I will keep investigating but I thought I would see if anyone
else has seen this.  Note that a 'make check' did not find this,
I had to run gcc from it's installed location to see the failure.

GCC is using the HP linker on IA64 HP-UX, not the GNU linker so that
may be an issue as well, particularly if this only fails on HP-UX.

Steve Ellcey
s...@cup.hp.com

Reply via email to