John Frankish wrote:
-----Original Message-----
From: John Frankish
Sent: 12 July, 2009 06:40
To: 'CLFS development discussion'
Subject: RE: [Clfs-dev] SVN-20090709-PowerPC64-Multilib - Cross GCC-4.4.0 - 
Final - Error


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

[snip]
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

________________________________________

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.
-----
 Oops - Here's the one from  libstdc
-----

Ah-ha, from the stdc config.log, it looks like I ran out of RAM:

Quote
Cc1plus: out of memory allocating 1145393247 bytes after a total of 270336 bytes
UnQuote

ps3 = 256MB RAM + 256MB vram-swap + 512MB hd swap = 1GB, 1,145,393,247 bytes = 
1.067GB

Is this correct?
_______________________________________________
I added 1GB of swap using a usb stick (?!) and now get this:

configure:14562: checking for exception model to use
configure:14606:  /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 -c -S  conftest.cc >&5
configure: In function 'void foo()':
configure:14601: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
configure:14609: $? = 1
configure:14638: error: unable to detect exception model

config.log attached.
------------------------------------------------------------------------

_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
I have no more ideas, have you turned in a bug report with gcc?
_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org

Reply via email to