Paolo Bonzini <bonz...@gnu.org> writes: > Andreas Schwab wrote: >> Paolo Bonzini <bonz...@gnu.org> writes: >> >>> If it bothers you (does it cause a PR?), >> >> It causes a program to fail to run during build. >> >> ./gcj-dbtool -n classmap.db || touch classmap.db >> /usr/local/gcc/gcc-20081202/Build/powerpc64-suse-linux/libjava/.libs/gcj-dbtool: >> error while loading shared libraries: libgcj.so.10: cannot open shared >> object file: No such file or directory >> >>> Anyway you know you do not need to build C++ executables (only Java) >>> in libjava. >> >> See above. > > But that's not a C++ program, it's a Java program.
Yes, this is true. But even though the test that sets shlibpath_overrides_runpath is run for every compiler, only one result is then used for all link commands, and that happens to be the result of the C++ test. Andreas. -- Andreas Schwab, SuSE Labs, sch...@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."