Bootstrapping of gcc-4.4.2 fails on my machine because the stage 1 compiler has a runtime dependency on mpfr and gmp, which are not in my LD_LIBRARY_PATH because I only built them in order to compile gcc.
Using --with-gmp, --with-mpfr and --with-build-libsubdir at configure time lets it compile but doesn't help it run. Given that the inputs to configure make it pretty clear mpfr and gmp are not in standard locations, and the finished compiler won't have any dependencies on those libraries, I would expect the build system to ensure they are accessible to any dependent intermediate binaries it runs. The workaround is to set up an LD_LIBRARY_PATH, so this is more annoyance than anything else. -- Summary: Bootstrap fails for mpfr/gmp not in LD_LIBRARY_PATH Product: gcc Version: 4.4.2 Status: UNCONFIRMED Severity: trivial Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: scovich at gmail dot com GCC host triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42028