gcc 4.3.2 compilation failure on aix 5.3
Vardhan, Sundara (GE Infra, Energy)
Thu Nov 20 04:36:00 GMT 2008
Do not know if you were able to build 4.3.2 on AIX, but I was able to :
1. CONFIG_SHELL=/usr/bin/bash; export CONFIG_SHELL
2. make a separate directory for gcc build which is different from where
source is present.
3. cd to build directory and run configure script from the gcc directory
with the options you want to.
This should have gcc compiled.
From: firstname.lastname@example.org [mailto:email@example.com] On
Behalf Of Rohit
Sent: Wednesday, November 19, 2008 2:21 PM
To: David Edelsohn
Subject: Re: gcc 4.3.2 compilation failure on aix 5.3
btw when i try to run the configure part of fmodl separately it does not
seem to have any issue. correct contest file is created. There is also
conftest.c:121: warning: conflicting types for built-in function 'fmodl'
but i do not think this is any issue. I am not getting why it exits at
Can you copy paste your configure options here ? or any other options
you used for compilation that matter ?
On Wed, Nov 19, 2008 at 1:47 PM, David Edelsohn <firstname.lastname@example.org>
> [Redirecting to gcc-help]
> On Wed, Nov 19, 2008 at 1:36 PM, Rohit <email@example.com>
>> I have not specified any options to configure.
>> just ./configure and gmake
>> libstdc++v3 is being compiled with (this is from config.log )
>> /mnt/gcc-4.3.2/libstdc++-v3/configure --cache-file=./config.cache
>> --enable-multilib --enable-languages=c,c++,fortran,java,objc
>> m-name=s,y,y, --with-target-subdir=powerpc-ibm-aix188.8.131.52
>> --build=powerpc-ibm-aix184.108.40.206 --host=powerpc-ibm-aix220.127.116.11
>> --target=powerpc-ibm-aix18.104.22.168 --srcd
>> Any ideas why it might be failing. config.cache remains empty and
>> every time i do this it takes lot of time as it tries to do all this
>> again. Looks like this is 3 rd stage in compilation.
>> cat stage_* show stage3 for all three files. Is there any workaround
>> to skip this. I do not really care what the output gcc will be
>> capable off. it should just be able to compile itself. Its more of an
>> i/o test in my setup.
>> I can provide more information if required.
> Did you read and follow the AIX-specific installation instructions?
> If you use Bash, the configure step is much faster.
> GCC does not configure and build Java by default on AIX, so I am
> surprised that Java is listed as an enabled language.
> I have built GCC 4.3.2 on AIX 22.214.171.124, and did not experience the
> fmodl conflict.
More information about the Gcc-help