This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Building gcc-4.4.2 on CentOS 5.3


Afternoon,

I'm trying to build gcc-4.4.2 (C and Fortran) on a CentOS 5.3 system (gcc 4.1.2). But I'm hitting an error I don't know how to deal correct.

I get the following error during "make":

make[3]: Leaving directory `/home/laytonjb/src/gcc-4.4.2/host-x86_64-unknown-linux-gnu/gcc'
Checking multilib configuration for libgcc...
Configuring stage 1 in x86_64-unknown-linux-gnu/libgcc
configure: loading cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for x86_64-unknown-linux-gnu-ar... ar
checking for x86_64-unknown-linux-gnu-lipo... lipo
checking for x86_64-unknown-linux-gnu-nm... /home/laytonjb/src/gcc-4.4.2/host-x86_64-unknown-linux-gnu/gcc/nm
checking for x86_64-unknown-linux-gnu-ranlib... ranlib
checking for x86_64-unknown-linux-gnu-strip... strip
checking whether ln -s works... yes
checking for x86_64-unknown-linux-gnu-gcc... /home/laytonjb/src/gcc-4.4.2/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/home/laytonjb/src/gcc-4.4.2/host-x86_64-unknown-linux-gnu/gcc/ -B/home/laytonjb/bin/gcc-4.4.2/x86_64-unknown-linux-gnu/bin/ -B/home/laytonjb/bin/gcc-4.4.2/x86_64-unknown-linux-gnu/lib/ -isystem /home/laytonjb/bin/gcc-4.4.2/x86_64-unknown-linux-gnu/include -isystem /home/laytonjb/bin/gcc-4.4.2/x86_64-unknown-linux-gnu/sys-include
checking for suffix of object files... configure: error: in `/home/laytonjb/src/gcc-4.4.2/x86_64-unknown-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory `/home/laytonjb/src/gcc-4.4.2'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/laytonjb/src/gcc-4.4.2'
make: *** [all] Error 2




I then checked the config.log file in x86_64-unknown-linux-gnu-gcc/libgcc and found the following:

configure:2590: checking for suffix of object files
configure:2611: /home/laytonjb/src/gcc-4.4.2/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/home/laytonjb/src/gcc-4.4.2/host-
x86_64-unknown-linux-gnu/gcc/ -B/home/laytonjb/bin/gcc-4.4.2/x86_64-unknown-linux-gnu/bin/ -B/home/laytonjb/bin/gcc-4.4.
2/x86_64-unknown-linux-gnu/lib/ -isystem /home/laytonjb/bin/gcc-4.4.2/x86_64-unknown-linux-gnu/include -isystem /home/la
ytonjb/bin/gcc-4.4.2/x86_64-unknown-linux-gnu/sys-include -c -g -O2 conftest.c >&5
/home/laytonjb/src/gcc-4.4.2/host-x86_64-unknown-linux-gnu/gcc/cc1: error while loading shared libraries: libmpfr.so <http://libmpfr.so>.1:
cannot open shared object file: No such file or directory
configure:2614: $? = 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:2627: error: in `/home/laytonjb/src/gcc-4.4.2/x86_64-unknown-linux-gnu/libgcc':
configure:2630: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.





Any suggestions?


TIA!

Jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]