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]

Build gcc-4.8.2 error -- gcc-4.8.1/x86_64-unknown-linux-gnu/libgomp


There is some error, when I build gcc-4.8.2. 
The build configure: ../configure --build=x86_64-redhat-linux --prefix=/usr/local/gcc-4.8.1 --enable-FEATURE=yes --with-gmp=/usr/local/gmp-4.3.2 --with-mpfr=/usr/local/mpfr-2.4.2 --with-mpc=/usr/local/mpc-0.8.1/ --enable-languages=c,c++ --disable-multilib

I have google it. There is lack of that error help. Any help will be appreciated.

The following is error log:
--------------------------------
mkdir -p -- x86_64-unknown-linux-gnu/libgomp
Checking multilib configuration for libgomp...
Configuring stage 1 in x86_64-unknown-linux-gnu/libgomp
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for --enable-generated-files-in-srcdir... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-unknown-linux-gnu-gcc... /root/JULY/gcc-4.8.1/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/root/JULY/gcc-4.8.1/host-x86_64-unknown-linux-gnu/gcc/ -B/usr/local/gcc-4.8.1/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc-4.8.1/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc-4.8.1/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc-4.8.1/x86_64-unknown-linux-gnu/sys-include  
checking for C compiler default output file name...
configure: error: in `/root/JULY/gcc-4.8.1/x86_64-unknown-linux-gnu/libgomp':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgomp] Error 77
make[2]: Leaving directory `/root/JULY/gcc-4.8.1'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/root/JULY/gcc-4.8.1'
make: *** [all] Error 2


The following is libgomp error log:
-----------------------------------------
gcc version 4.8.1 (GCC)
configure:3644: $? = 0
configure:3633: /root/JULY/gcc-4.8.1/build/./gcc/xgcc -B/root/JULY/gcc-4.8.1/build/./gcc/ -B/usr/local/gcc-4.8.1/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc-4.8.1/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc-4.8.1/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc-4.8.1/x86_64-unknown-linux-gnu/sys-include    -V >&5
xgcc: error: unrecognized command line option '-V'
xgcc: fatal error: no input files
compilation terminated.
configure:3644: $? = 1
configure:3633: /root/JULY/gcc-4.8.1/build/./gcc/xgcc -B/root/JULY/gcc-4.8.1/build/./gcc/ -B/usr/local/gcc-4.8.1/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc-4.8.1/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc-4.8.1/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc-4.8.1/x86_64-unknown-linux-gnu/sys-include    -qversion >&5
xgcc: error: unrecognized command line option '-qversion'
xgcc: fatal error: no input files
compilation terminated.
configure:3644: $? = 1
configure:3664: checking for C compiler default output file name
configure:3686: /root/JULY/gcc-4.8.1/build/./gcc/xgcc -B/root/JULY/gcc-4.8.1/build/./gcc/ -B/usr/local/gcc-4.8.1/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gcc-4.8.1/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gcc-4.8.1/x86_64-unknown-linux-gnu/include -isystem /usr/local/gcc-4.8.1/x86_64-unknown-linux-gnu/sys-include    -g -O2   conftest.c  >&5
/usr/lib/../lib64/crt1.o: In function `_start':
(.text+0x12): undefined reference to `__libc_csu_fini'
/usr/lib/../lib64/crt1.o: In function `_start':
(.text+0x19): undefined reference to `__libc_csu_init'
collect2: error: ld returned 1 exit status
configure:3690: $? = 1
configure:3727: result:
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU OpenMP Runtime Library"
| #define PACKAGE_TARNAME "libgomp"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU OpenMP Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgomp/";
| #define PACKAGE "libgomp"
| #define VERSION "1.0"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3733: error: in `/root/JULY/gcc-4.8.1/build/x86_64-unknown-linux-gnu/libgomp':
configure:3737: error: C compiler cannot create executables

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