I was doing a build on sparc64-sun-solaris2.9 (I guess all sparc*-*-solaris* targets are affected). The build was failing because library search path was not hardcoded (via -rpath or -R options) into xgcc executable.
On my system, I have two libintl.so libraries. Solaris version in /usr/lib/sparcv9/libintl.so.1 and GNU version in /usr/local/lib/sparcv9/libintl.so.3 (from GNU gettext). Of course, xgcc got linked with GNU libint.so.3, however dynamic linker couldn't load it at runtime (since it wasn't in its search path, and binary did not had RUNPATH and RPATH in dynamic section (as displayed by "dump -Lv")). Since I really don't need gcc to complain in any other language (just English is fine), I opted for easy solution. I added --disable-nls option to configure flags. Helped to get me pass building C and C++ compilers. However, than I hit another problem, the f95 failed to build. The reason was that I had GMP library installed as shared lib, and again, dynamic linker couldn't find it (same reason as above, the path to it was not hard coded into the C and Fortran compiler binaries during bootstrapping). Is there anything I can add to "configure" or "make bootstrap" command line to get around this? I attempted using LDFLAGS, but it hasn't helped. I also attempted defining LD_LIBRARY_PATH, however it had no effect during bootstrapping. ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.