[Clfs-dev] SVN-20090709-PowerPC64-Multilib - Cross GCC-4.4.0 - Final - Error

John Frankish j-frankish at slb.com
Sat Jul 11 01:11:33 PDT 2009


Using a ps3, I still cannot get to the end of chapter 5 without error. Any ideas as to the problem would be welcome.

Regards, John


Cross-Compiled Linux From Scratch - Version SVN-20090709-PowerPC64-Multilib
Chapter 5. Constructing Cross-Compile Tools
5.16. Cross GCC-4.4.0 - Final
5.16.1. Installation of GCC Cross Compiler


$ AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" ../gcc-4.4.0/configure --prefix=/cross-tools --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} --with-sysroot=${CLFS} --with-local-prefix=/tools --disable-nls --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit --with-mpfr=/cross-tools --with-gmp=/cross-tools --enable-c99 --with-ppl=/cross-tools --with-cloog=/cross-tools --enable-long-long --enable-threads=posix
...
$ make AS_FOR_TARGET="${CLFS_TARGET}-as" LD_FOR_TARGET="${CLFS_TARGET}-ld"
...
make[3]: Leaving directory `/mnt/clfs/sources/gcc-build/powerpc64-unknown-linux-gnu/libgcc'
make[2]: Leaving directory `/mnt/clfs/sources/gcc-build/powerpc64-unknown-linux-gnu/libgcc'
Checking multilib configuration for libgomp...
mkdir -p -- powerpc64-unknown-linux-gnu/libgomp
Configuring in powerpc64-unknown-linux-gnu/libgomp
configure: creating cache ./config.cache
...
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
...
checking whether the  /mnt/clfs/sources/gcc-build/./gcc/xgcc -shared-libgcc -B/mnt/clfs/sources/gcc-build/./gcc -nostdinc++ -L/mnt/clfs/sources/gcc-build/powerpc64-unknown-linux-gnu/libstdc++-v3/src -L/mnt/clfs/sources/gcc-build/powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs -B/cross-tools/powerpc64-unknown-linux-gnu/bin/ -B/cross-tools/powerpc64-unknown-linux-gnu/lib/ -isystem /cross-tools/powerpc64-unknown-linux-gnu/include -isystem /cross-tools/powerpc64-unknown-linux-gnu/sys-include linker (/mnt/clfs/sources/gcc-build/./gcc/collect-ld -m elf64ppc) supports shared libraries... yes
checking for  /mnt/clfs/sources/gcc-build/./gcc/xgcc -shared-libgcc -B/mnt/clfs/sources/gcc-build/./gcc -nostdinc++ -L/mnt/clfs/sources/gcc-build/powerpc64-unknown-linux-gnu/libstdc++-v3/src -L/mnt/clfs/sources/gcc-build/powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs -B/cross-tools/powerpc64-unknown-linux-gnu/bin/ -B/cross-tools/powerpc64-unknown-linux-gnu/lib/ -isystem /cross-tools/powerpc64-unknown-linux-gnu/include -isystem /cross-tools/powerpc64-unknown-linux-gnu/sys-include option to produce PIC... -fPIC -DPIC

checking if  /mnt/clfs/sources/gcc-build/./gcc/xgcc -shared-libgcc -B/mnt/clfs/sources/gcc-build/./gcc -nostdinc++ -L/mnt/clfs/sources/gcc-build/powerpc64-unknown-linux-gnu/libstdc++-v3/src -L/mnt/clfs/sources/gcc-build/powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs -B/cross-tools/powerpc64-unknown-linux-gnu/bin/ -B/cross-tools/powerpc64-unknown-linux-gnu/lib/ -isystem /cross-tools/powerpc64-unknown-linux-gnu/include -isystem /cross-tools/powerpc64-unknown-linux-gnu/sys-include PIC flag -fPIC -DPIC works... yes
checking if  /mnt/clfs/sources/gcc-build/./gcc/xgcc -shared-libgcc -B/mnt/clfs/sources/gcc-build/./gcc -nostdinc++ -L/mnt/clfs/sources/gcc-build/powerpc64-unknown-linux-gnu/libstdc++-v3/src -L/mnt/clfs/sources/gcc-build/powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs -B/cross-tools/powerpc64-unknown-linux-gnu/bin/ -B/cross-tools/powerpc64-unknown-linux-gnu/lib/ -isystem /cross-tools/powerpc64-unknown-linux-gnu/include -isystem /cross-tools/powerpc64-unknown-linux-gnu/sys-include static flag -static works... no
checking if  /mnt/clfs/sources/gcc-build/./gcc/xgcc -shared-libgcc -B/mnt/clfs/sources/gcc-build/./gcc -nostdinc++ -L/mnt/clfs/sources/gcc-build/powerpc64-unknown-linux-gnu/libstdc++-v3/src -L/mnt/clfs/sources/gcc-build/powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs -B/cross-tools/powerpc64-unknown-linux-gnu/bin/ -B/cross-tools/powerpc64-unknown-linux-gnu/lib/ -isystem /cross-tools/powerpc64-unknown-linux-gnu/include -isystem /cross-tools/powerpc64-unknown-linux-gnu/sys-include supports -c -o file.o... yes
checking if  /mnt/clfs/sources/gcc-build/./gcc/xgcc -shared-libgcc -B/mnt/clfs/sources/gcc-build/./gcc -nostdinc++ -L/mnt/clfs/sources/gcc-build/powerpc64-unknown-linux-gnu/libstdc++-v3/src -L/mnt/clfs/sources/gcc-build/powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs -B/cross-tools/powerpc64-unknown-linux-gnu/bin/ -B/cross-tools/powerpc64-unknown-linux-gnu/lib/ -isystem /cross-tools/powerpc64-unknown-linux-gnu/include -isystem /cross-tools/powerpc64-unknown-linux-gnu/sys-include supports -c -o file.o... (cached) yes
checking whether the  /mnt/clfs/sources/gcc-build/./gcc/xgcc -shared-libgcc -B/mnt/clfs/sources/gcc-build/./gcc -nostdinc++ -L/mnt/clfs/sources/gcc-build/powerpc64-unknown-linux-gnu/libstdc++-v3/src -L/mnt/clfs/sources/gcc-build/powerpc64-unknown-linux-gnu/libstdc++-v3/src/.libs -B/cross-tools/powerpc64-unknown-linux-gnu/bin/ -B/cross-tools/powerpc64-unknown-linux-gnu/lib/ -isystem /cross-tools/powerpc64-unknown-linux-gnu/include -isystem /cross-tools/powerpc64-unknown-linux-gnu/sys-include linker (/mnt/clfs/sources/gcc-build/./gcc/collect-ld -m elf64ppc) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for exception model to use... configure: error: unable to detect exception model
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/mnt/clfs/sources/gcc-build'
make: *** [all] Error 2



More information about the Clfs-dev mailing list