From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21531 invoked by alias); 13 Nov 2009 09:50:06 -0000 Received: (qmail 21361 invoked by uid 48); 13 Nov 2009 09:49:54 -0000 Date: Fri, 13 Nov 2009 09:50:00 -0000 Subject: [Bug bootstrap/42028] New: Bootstrap fails for mpfr/gmp not in LD_LIBRARY_PATH X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "scovich at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-11/txt/msg01058.txt.bz2 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