The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Bind failure zing_foru UNIX for Advanced & Expert Users 5 01-19-2008 03:20 AM
Redirecting Bootstrap Jshwon SUN Solaris 0 01-14-2008 03:17 PM
Raid5 Failure gseyforth SCO 2 02-21-2006 10:22 AM
ld failure handak9 High Level Programming 2 09-29-2004 07:56 AM
CPU failure??? 98_1LE UNIX for Dummies Questions & Answers 1 01-23-2001 02:38 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-20-2005
Registered User
 

Join Date: Sep 2005
Location: Florida
Posts: 1
GCC bootstrap failure on AIX 5.3

I'm trying to build gcc-3.4.4 on AIX 5.3, and I get the following error in phase 2. I suspect that the problem is related to AIX's "as" assembler somehow, but from what I understand, the binutils assembler is not useable on AIX 5.1 or later. Any ideas?


checking for powl declaration... yes
checking for powl... yes
checking for sqrtl declaration... make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/voltds/doug/tmp/gcc-3.4.4.inst'
make: *** [bootstrap] Error 2
Reply With Quote
Forum Sponsor
  #2  
Old 10-14-2005
Registered User
 

Join Date: Oct 2005
Posts: 4
Hi, found your thread on google. I was curious if you ever made any progress?

I am trying to do the same thing and /bin/sh coredumps on the same library. I just sent IBM the core to examine this afternoon, no word yet. My system is 5.3 ML03 / 'make bootstrap' of gcc-3.4.4.

checking for LC_MESSAGES... yes
/bin/sh: 63858 Segmentation fault(coredump)
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory '/opt/gcc/gcc-3.4.4/obj'
make: *** [bootstrap] Error 2
Reply With Quote
  #3  
Old 10-18-2005
Registered User
 

Join Date: Oct 2005
Posts: 4
I found the solution to my own problem, perhaps yours as well. I had IBM AIX support analyze the coredump from /bin/sh and it appeared that there wasn't enough memory available causing the crash. Here was what I did to get this fixed:

Run this as root:
ulimit -m 500000
^--arbitrary, just a larger number than what it currently is (ulimit -a). An alternative is to edit /etc/security/limits and set the line for "rss" for the account you are building gcc as to this: "rss = -1" then log out and back in, memory is now unlimited.

Next set this environment variable:
export LDR_CNTRL=MACDATA=0x30000000
If you continue to error out, increase the "3" to 4, 5, or even larger until it works.

Good luck!
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:59 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0