GCC 4.7.2. build fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
gcc-4.7.2. build fails for native build on x86 with fatal error:
usr/include/features.h:323:26: fatal error: bits/predefs.h: No such
file or directory
compilation terminated.

Though "predefs.h" file is in the paths:
/usr/include/i386-linux-gnu/bits/predefs.h
/usr/include/predefs.h

Configuration settings are:
./configure --prefix=/X86  --enable-languages=c \
--with-gmp=/home/prem/GCC/gmp-4.3.2 --with-mpfr=/home/prem/GCC/mpfr-3.1.2 \
--with-mpc=/home/prem/GCC/mpc-0.8.2 --with-as=/DRIVER/X86/bin/as
--with-ld=/DRIVER/X86/bin/ld \
--with-ar=/DRIVER/X86/bin/ar --with-readelf=/DRIVER/X86/bin/readelf \
--with-addr2line=/DRIVER/X86/bin/addr2line --with-nm=/DRIVER/X86/bin/nm \
--enable-shared=libgcc --disable-multilib

####Following lines lines can be helpful ###########

make[3]: Entering directory
`/home/prem/GCC/gcc_build_x86/i686-pc-linux-gnu/libgcc'
# If this is the top-level multilib, build all the other
# multilibs.
DEFINES='' HEADERS='../../../gcc-4.7.2/libgcc/config/i386/value-unwind.h' \
		../../../gcc-4.7.2/libgcc/mkheader.sh > tmp-libgcc_tm.h
/bin/bash ../../../gcc-4.7.2/libgcc/../move-if-change tmp-libgcc_tm.h
libgcc_tm.h
echo timestamp > libgcc_tm.stamp
/home/prem/GCC/gcc_build_x86/./gcc/xgcc
-B/home/prem/GCC/gcc_build_x86/./gcc/
-B/DRIVER/X86/i686-pc-linux-gnu/bin/
-B/DRIVER/X86/i686-pc-linux-gnu/lib/ -isystem
/DRIVER/X86/i686-pc-linux-gnu/include -isystem
/DRIVER/X86/i686-pc-linux-gnu/sys-include    -g -O2 -O2  -g -O2
-DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include
-fpic -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -fpic
-I. -I. -I../.././gcc -I../../../gcc-4.7.2/libgcc
-I../../../gcc-4.7.2/libgcc/. -I../../../gcc-4.7.2/libgcc/../gcc
-I../../../gcc-4.7.2/libgcc/../include
-I../../../gcc-4.7.2/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT
-DHAVE_CC_TLS  -DUSE_TLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF
_muldi3.dep -DL_muldi3 -c ../../../gcc-4.7.2/libgcc/libgcc2.c
-fvisibility=hidden -DHIDE_EXPORTS
In file included from /usr/include/stdio.h:28:0,
                 from ../../../gcc-4.7.2/libgcc/../gcc/tsystem.h:88,
                 from ../../../gcc-4.7.2/libgcc/libgcc2.c:29:
/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such
file or directory
compilation terminated.
make[3]: *** [_muldi3.o] Error 1
make[3]: Leaving directory
`/home/prem/GCC/gcc_build_x86/i686-pc-linux-gnu/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory `/home/prem/GCC/gcc_build_x86'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/prem/GCC/gcc_build_x86'
make: *** [all] Error 2


Any help would be really appreciated.
Regards,
Sudha Sarita




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux