GCC bootstrap failure on AIX 5.3


 
Thread Tools Search this Thread
Operating Systems AIX GCC bootstrap failure on AIX 5.3
# 1  
Old 09-20-2005
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  
Old 10-14-2005
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  
Old 10-18-2005
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!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX hard disk failure

Hi all, I have encountered the issue with the hard disk, the disk is failed and need to replace by the new one. As my understanding, this is just to take out the failed disk and insert the new ones, and that's all. But the third party hardware vendor said, there should be another procedure... (9 Replies)
Discussion started by: Phat
9 Replies

2. Programming

Gcc 4.5.8 on AIX 7.1 issue

after migrate our AIX server from 6.1 to 7.1 , we insalled c compilator with rpm files Server:root:/ > rpm -qa | grep gcc libgcc-4.8.5-1 gcc-cpp-4.8.5-1 gcc-4.8.5-1 gcc-c++-4.8.5-1 but whene we proceed to compile a c programm we have this error exec(): 0509-036 Cannot load... (2 Replies)
Discussion started by: yahia
2 Replies

3. UNIX for Advanced & Expert Users

How to fix bootstrap failure in unix V4.0D?

hi! my computer is... system: Digital Personal Workstation 433a Processor: Digital Alpha 21164, 433 MHz Memory: 64 MB Operating System: Digital Unix Console(SRM), Digital Unix V4.0D That computer is used for radar display. Application run on Unix. I have a problem now. I can't boot dkc0... (2 Replies)
Discussion started by: akz
2 Replies

4. AIX

Upgrading AIX 5.2 to AIX 6.1 - GCC compatibility

Hi All, We are in the processing of upgrading our AIX server OS from 5.2.0.0 to 6.1. And we have a set of highly critical running C applications in AIX box. I have a question like whether this upgradation of OS will affect any C code compilation and C runtime enviornment... how does AIX 6.1... (1 Reply)
Discussion started by: karthikc
1 Replies

5. Programming

Getting the random failure after upgraded the gcc version 3.1 to 3.4.6

I am getting the a random failure after upgrading the gcc version 3.1 to 3.4.6. My code where it is failing contains some STL and shared memory concepts.It is perfectly working on old version of gcc.I want to know what are possible causes that made this random error after upgrading gcc 3.4.6. (2 Replies)
Discussion started by: kapilkumawat
2 Replies

6. AIX

Gcc for AIX

Hi, I am working with AIX5.3 and I downloaded the gcc-4.2.4.tar.bz2 from the site and when I am trying to un-tar it.It is throwing error-- Please help me to resolve it. Thanks in Advance.. (6 Replies)
Discussion started by: smartgupta
6 Replies

7. AIX

problems with gcc on AIX 4.33

I just installed gcc on AIX 4.33, and I am having some problems with compiling a simple hello world program. See output below for the issue. The "standards.h" file is not on my system and I don't know where to get it. Thanks in advance for your help! # gcc -v Reading specs from... (2 Replies)
Discussion started by: jhall
2 Replies

8. AIX

Compile gcc on AIX 5.2

I'm trying to compile gcc 3.4.6 on AIX 5.2 but I get this error: bison -t --name-prefix=java_ -o java/parse.c java/parse.y M4sugar requires GNU M4. Install it before installing M4sugar or set the M4 environment variable to its path name.make: *** Broken pipe gcc -c -g -O2 -DIN_GCC -W... (7 Replies)
Discussion started by: untamed
7 Replies

9. AIX

gcc with AIX 4.3

hi, i need to install a source code from an open source on AIX 4.3. but first i need to install gcc. is gcc going to screw up AIX 4.3? the box is doing heavy legacy stuff with engine and db2 on it. and over 200 users. any comment would be appreciated. thanks (9 Replies)
Discussion started by: itik
9 Replies

10. AIX

gcc compiler on AIX 5.2

Does anybody know a web site where I could download gcc for AIX 5.2 (I've downloaded gcc 3.2 from http://www.bullfreeware.com/, but it doesn't work)? Thanks a lot for your answers. (2 Replies)
Discussion started by: SMISS
2 Replies
Login or Register to Ask a Question