issues with gcc 4.4.6

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

 




Hello There 

While trying to build gcc 4.4.6 I keep hitting few errors .

My configure option sare 

Stage 1 :
AR=ar ${SOURCES_GCC}/configure \
        --prefix=${CLFS_CROSS_TOOLS} \
        --target=${CLFS_TARGET} --disable-nls --enable-shared=libstdc++ --without-headers --with-newlib --disable-decimal-float --disable-libmudflap --disable-libgomp --disable-threads --enable-languages=c --enable-checking=release

Stage 2
AR=ar ${SOURCES_GCC}/configure \
        --prefix=${CLFS_CROSS_TOOLS} \
        --target=${CLFS_TARGET} --with-sysroot=${CLFS} --disable-nls -enable-shared --enable-__cxa_atexit --enable-long-long --enable-threads=posix --enable-c99 --enable-languages=c,c++,objc,obj-c++,java --enable-checking=release


CLFS_TARGET=x86_64-unknown-linux-gnu
CLFS=/local/gagupta/gccfolder
CLFS_SOURCES=/local/gagupta/gccfolder/crosscompile
NAME_BINUTILS=binutils
SOURCES_BINUTILS=$CLFS_SOURCES/binutils-2.20.51.0.2
CLFS_CROSS_TOOLS=$CLFS/cross-tools
CLFS_TOOLS=$CLFS/tools
NAME_GCC=gcc
SOURCES_GCC=$CLFS_SOURCES/gcc-4.4.6-20120305
NAME_GLIBC=glibc
SOURCES_GLIBC=$CLFS_SOURCES/glibc-2.12-2-gc4ccff1
SOURCES_LINUX=$CLFS_SOURCES/linux-2.6.32-279.9.1.el6
PATH=/local/gagupta/gccfolder:/local/gagupta/gccfolder/usr:/local/gagupta/gccfolder/tools:$CLFS_CROSS_TOOLS/bin:$PATH
LC_ALL=POSIX


1. /local/gagupta/gccfolder/crosscompile/gcc-4.4.6-20120305/libgcc/../gcc/tsystem.h:87:19: error: stdio.h: No such file or directory .Please note that my path Variable has sysroot set that contains the header files .

2. some time errors related to 

checking for suffix of object files... configure: error: in `/local/gagupta/gccfolder/crosscompile/gcc-build/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


3. some time local/gagupta/gccfolder/crosscompile/gcc-4.4.6-20120305/libiberty/strsignal.c:554: error: conflicting types for 'psignal'
/usr/include/signal.h:141: note: previous declaration of 'psignal' was here
make[2]: *** [strsignal.o] Error 1


4. some time error related to libstd++v3 not found 

Thanks
Gaurav 



[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