The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > 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 06:20 AM
Redirecting Bootstrap Jshwon SUN Solaris 0 01-14-2008 06:17 PM
Raid5 Failure gseyforth SCO 2 02-21-2006 01:22 PM
ld failure handak9 High Level Programming 2 09-29-2004 10:56 AM
CPU failure??? 98_1LE UNIX for Dummies Questions & Answers 1 01-23-2001 05:38 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-20-2005
Duggerdee Duggerdee is offline
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
  #2 (permalink)  
Old 10-14-2005
Kawdes Kawdes is offline
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
  #3 (permalink)  
Old 10-18-2005
Kawdes Kawdes is offline
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!
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:47 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0