John Frankish wrote:
John Frankish wrote:
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
_______________________________________________
Try adding this patch, also can you send us a copy of the config.log for
that section.
http://svn.cross-lfs.org/svn/repos/patches/gcc/gcc-4.4.0-branch_update-6.patch
http://svn.cross-lfs.org/svn/repos/patches/gcc/gcc-4.4.0-fixes-3.patch
_______________________________________________
I'd already used gcc-4.4.0-branch_update-6.patch, but not
gcc-4.4.0-fixes-3.patch (not mentioned in the instructions?) - however the
result was the same.
I attached config.log
Thanks, John
------------------------------------------------------------------------
_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
Ok that was the config.log for the base section. You need to find the
one that has the error in. find * -name "config.log" should find them,
look for the one that is in libstdc.
_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org