From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8356 invoked by alias); 23 Feb 2009 15:06:25 -0000 Received: (qmail 8094 invoked by uid 48); 23 Feb 2009 15:06:06 -0000 Date: Mon, 23 Feb 2009 15:06:00 -0000 Subject: [Bug bootstrap/39273] New: cc1 Cannot find library mpfr. ".libs" prepended to library name libmpfr.so.1.2.0, X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rvatne 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-02/txt/msg02003.txt.bz2 The configure options: /t3-0/shared/gnu/gcc-4.3.3/configure --prefix=/t3-0/shared/gnu/gcc-trunk --srcdir=/t3-0/shared/gnu/gcc-4.3.3 --enable-languages=c,fortran --with-mpfr=/usr/local --with-gmp=/usr/local --with-pkgversion=432 --disable-bootstrap CC=gcc Using this compiler: >gcc -v Reading specs from /t3-0/local/bin/../lib/gcc/sparc-sun-solaris2.7/3.4.6/specs Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77 Thread model: posix gcc version 3.4.6 gmake output: gmake[2]: Leaving directory `/t3-0/shared/gnu/gcc-bld3/gcc' Checking multilib configuration for libgcc... mkdir sparc-sun-solaris2.8 mkdir sparc-sun-solaris2.8/libgcc Configuring in sparc-sun-solaris2.8/libgcc configure: creating cache ./config.cache checking for --enable-version-specific-runtime-libs... no checking for a BSD-compatible install... /t3-0/shared/gnu/gcc-4.3.3/install-sh -c checking for gawk... no checking for mawk... no checking for nawk... nawk checking build system type... sparc-sun-solaris2.8 checking host system type... sparc-sun-solaris2.8 checking for sparc-sun-solaris2.8-ar... ar checking for sparc-sun-solaris2.8-lipo... lipo checking for sparc-sun-solaris2.8-nm... /t3-0/shared/gnu/gcc-bld3/./gcc/nm checking for sparc-sun-solaris2.8-ranlib... ranlib checking for sparc-sun-solaris2.8-strip... strip checking whether ln -s works... yes checking for sparc-sun-solaris2.8-gcc... /t3-0/shared/gnu/gcc-bld3/./gcc/xgcc -B/t3-0/shared/gnu/gcc-bld3/./gcc/ -B/t3-0/shared/gnu/gcc-trunk/sparc-sun-solaris2.8/bin/ -B/t3-0/shared/gnu/gcc-trunk/sparc-sun-solaris2.8/lib/ -isystem /t3-0/shared/gnu/gcc-trunk/sparc-sun-solaris2.8/include -isystem /t3-0/shared/gnu/gcc-trunk/sparc-sun-solaris2.8/sys-include checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[1]: *** [configure-target-libgcc] Error 1 gmake[1]: Leaving directory `/t3-0/shared/gnu/gcc-bld3' gmake: *** [all] Error 2 looking in configure.log in sparc-sun-solaris2.8/libgcc configure:2567: checking for suffix of object files configure:2588: /t3-0/shared/gnu/gcc-bld3/./gcc/xgcc -B/t3-0/shared/gnu/gcc-bld3/./gcc/ -B/t3-0/shared/gnu/gcc-trunk/sparc-sun-solaris2.8/bin/ -B/t3-0/shared/gnu/g cc-trunk/sparc-sun-solaris2.8/lib/ -isystem /t3-0/shared/gnu/gcc-trunk/sparc-sun-solaris2.8/include -isystem /t3-0/shared/gnu/gcc-trunk/sparc-sun-solaris2.8/sys-in clude -c -O2 -g -g -O2 conftest.c >&5 ld.so.1: cc1: fatal: .libs/libmpfr.so.1.2.0: open failed: No such file or directory xgcc: Internal error: Killed (program cc1) Please submit a full bug report. See for instructions. configure:2591: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "GNU C Runtime Library" | #define PACKAGE_TARNAME "libgcc" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "GNU C Runtime Library 1.0" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2604: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. It seems that the newly buildt "xgcc" does not use the LD_LIBRARY_PATH to find the "libmpfr.so.1.2.0" library, but instead prepends at fixed path (.libs/). -- Summary: cc1 Cannot find library mpfr. ".libs" prepended to library name libmpfr.so.1.2.0, Product: gcc Version: 4.3.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rvatne at gmail dot com GCC build triplet: sparc-sun-solaris2.8 GCC host triplet: sparc-sun-solaris2.8 GCC target triplet: sparc-sun-solaris2.8 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39273