<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
John Frankish wrote:
<blockquote
 cite="mid:6AC5A55546F64545AE996F8200E3AC4E06DD3C96@NL0105EXC01V01.eur.slb.com"
 type="cite">
  <pre wrap="">John Frankish wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">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
_______________________________________________

    </pre>
  </blockquote>
  <pre wrap=""><!---->Try adding this patch, also can you send us a copy of the config.log for
that section.

<a class="moz-txt-link-freetext" href="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-branch_update-6.patch</a>
<a class="moz-txt-link-freetext" href="http://svn.cross-lfs.org/svn/repos/patches/gcc/gcc-4.4.0-fixes-3.patch">http://svn.cross-lfs.org/svn/repos/patches/gcc/gcc-4.4.0-fixes-3.patch</a>

_______________________________________________
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</pre>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Clfs-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Clfs-dev@lists.cross-lfs.org">Clfs-dev@lists.cross-lfs.org</a>
<a class="moz-txt-link-freetext" href="http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org">http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org</a></pre>
</blockquote>
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.<br>
<br>
</body>
</html>