2 msgset default rpath without using -specs?
2 msglibgcc_s.so.1 for IRIX
1 msgstruct member detection

Problem compiling gcc 4.2.1 on AIX 5.3
\ Anant Athavale (17 Jan 2008)
. \ Thomas Mittelstaedt (17 Jan 2008)
. . \ Anant S Athavale (27 Jan 2008)
. \ Kai Ruottu (17 Jan 2008)
. . \ Anant S Athavale (17 Jan 2008)
. . . \ Anant Athavale (18 Jan 2008)
. . . . \ Kai Ruottu (18 Jan 2008)
. . . . . \ Kai Ruottu (18 Jan 2008)
. . . . . . \ Thomas Mittelstaedt (18 Jan 2008)

1 msgFailed bootstrap on mainline on powerpc-apple-d...
14 msgReducing compilation memory usage
1 msgLove Is...
2 msgLong double problem and -funsafe-math-optimizat...
2 msgCan not declare std::map::iterator in template ...
5 msgGcc Configure System
2 msgRunning the testsuite using a different compiler
2 msgISO C90 forbids mixed declarations and code
1 msggnatbind error
1 msgCorrect way to terminate executable testcase fo...
2 msgVector data types in fortran
1 msgGcc 4.2.2 build failure (fixincludes breaks lim...
2 msgOpenMP+gfortran performance extremely variable ...
2 msgwhere gcc -save-temps puts temporary files
14 msgPlease help with these two errors
1 msg__bss_start not correct
Subject:Re: Problem compiling gcc 4.2.1 on AIX 5.3
Group:Gcc-help
From:Anant S Athavale
Date:27 Jan 2008


Thanks everybody. Finally I could compile in full gcc 4.2.2 on AIX
5.3. It required me to install GNU bash and GNU bison to achieve it.

I ran normal configure without any options. And make went through.
It took several hours on my p610 system for to finish compiling.

Thanks a lot again for pointing me towards solving my problem.

Regards,
ANANT.

----- Message from T.Mittelstaedt ---------
Date: Thu, 17 Jan 2008 10:05:05 +0100
From: Thomas Mittelstaedt <T.Mittelstaedt>
Reply-To: Thomas Mittelstaedt <T.Mittelstaedt>
Subject: Re: Problem compiling gcc 4.2.1 on AIX 5.3
To: Anant Athavale <asa>
Cc: gcc-help


> Anant,
>
> How did you configure gcc?
>
> I recently built version gcc 4.2.2 on aix 5.2 with the following configure
>
>
> ../gcc-4.2.2/configure --enable-version-specific-runtime-libs
> --enable-static --enable-shared --enable-threads
> --prefix=/opt/gcc-4.2.2 --without-gnu-ld --disable-nls --with-pic
> --disable-symvers --enable-symvers=no --enable-languages=c,c++,objc
>
> then built with:
> make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2
> -fno-implicit-templates' bootstrap
>
> You may also consider to set environment variable CONFIG_SHELL to the
> full path of bash like
> CONFIG_SHELL=/usr/local/bin/bash
> At least when building on hp, it also proved to be useful to set CC to
> the full path of the bootstrap compiler like
> CC=/opt/gcc-3.2.1/bin/gcc
>
> Hope that gets you going. You also should use a gnu tar version higher
> than 1.13 to untar the sources and gnu make, of course.
> I used version 3.79.1.
>
> thomas
>
>
>
> Anant Athavale schrieb:
>> gcc compilation fails with the following error AIX 5.3
>>
>> ---------------------------------------------------------
>> make[3]: Entering directory `/tmp/gcc-4.2.1/host-powerpc-ibm-aix/libiberty'
>> make[4]: Entering directory
>> `/tmp/gcc-4.2.1/host-powerpc-ibm-aix/libiberty/testsuite'
>> make[4]: Nothing to be done for `all'.
>> make[4]: Leaving directory
>> `/tmp/gcc-4.2.1/host-powerpc-ibm-aix/libiberty/testsuite'
>> make[3]: Leaving directory `/tmp/gcc-4.2.1/host-powerpc-ibm-aix/libiberty'
>> make[3]: Entering directory `/tmp/gcc-4.2.1/host-powerpc-ibm-aix/intl'
>> make[3]: Nothing to be done for `all'.
>> make[3]: Leaving directory `/tmp/gcc-4.2.1/host-powerpc-ibm-aix/intl'
>> make[3]: Entering directory `/tmp/gcc-4.2.1/build-powerpc-ibm-aix/libiberty'
>> make[4]: Entering directory
>> `/tmp/gcc-4.2.1/build-powerpc-ibm-aix/libiberty/testsuite'
>> make[4]: Nothing to be done for `all'.
>> make[4]: Leaving directory
>> `/tmp/gcc-4.2.1/build-powerpc-ibm-aix/libiberty/testsuite'
>> make[3]: Leaving directory `/tmp/gcc-4.2.1/build-powerpc-ibm-aix/libiberty'
>> make[3]: Entering directory
>> `/tmp/gcc-4.2.1/build-powerpc-ibm-aix/fixincludes'
>> make[3]: Nothing to be done for `all'.
>> make[3]: Leaving directory
>> `/tmp/gcc-4.2.1/build-powerpc-ibm-aix/fixincludes'
>> make[3]: Entering directory `/tmp/gcc-4.2.1/host-powerpc-ibm-aix/zlib'
>> true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g
>> -fkeep-inline-functions" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=-g
>> -O2" "CFLAGS_FOR_TARGET=-O2 -g -O2 "
>> "INSTALL=/tmp/gcc-4.2.1/install-sh -c"
>> "INSTALL_DATA=/tmp/gcc-4.2.1/install-sh -c -m 644"
>> "INSTALL_PROGRAM=/tmp/gcc-4.2.1/install-sh -c"
>> "INSTALL_SCRIPT=/tmp/gcc-4.2.1/install-sh -c"
>> "LDFLAGS=-Wl,-bbigtoc" "LIBCFLAGS=-g -fkeep-inline-functions"
>> "LIBCFLAGS_FOR_TARGET=-O2 -g -O2 " "MAKE=make"
>> "MAKEINFO=/tmp/gcc-4.2.1/missing makeinfo --split-size=5000000
>> --split-size=5000000 --split-size=5000000 " "PICFLAG="
>> "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect"
>> "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr/local"
>> "infodir=/usr/local/info" "libdir=/usr/local/lib"
>> "prefix=/usr/local" "tooldir=/usr/local/powerpc-ibm-aix" "AR=ar"
>> "AS=as" "CC=gcc" "CXX=c++" "LD=ld" "LIBCFLAGS=-g
>> -fkeep-inline-functions" "NM=nm" "PICFLAG=" "RANLIB=ranlib"
>> "DESTDIR=" DO=all multi-do # make
>> make[3]: Leaving directory `/tmp/gcc-4.2.1/host-powerpc-ibm-aix/zlib'
>> make[3]: Entering directory `/tmp/gcc-4.2.1/host-powerpc-ibm-aix/libcpp'
>> make[3]: Nothing to be done for `all'.
>> make[3]: Leaving directory `/tmp/gcc-4.2.1/host-powerpc-ibm-aix/libcpp'
>> make[3]: Entering directory
>> `/tmp/gcc-4.2.1/host-powerpc-ibm-aix/libdecnumber'
>> make[3]: Nothing to be done for `all'.
>> make[3]: Leaving directory
>> `/tmp/gcc-4.2.1/host-powerpc-ibm-aix/libdecnumber'
>> make[3]: Entering directory `/tmp/gcc-4.2.1/host-powerpc-ibm-aix/gcc'
>> make[3]: *** No rule to make target `all'. Stop.
>> make[3]: Leaving directory `/tmp/gcc-4.2.1/host-powerpc-ibm-aix/gcc'
>> make[2]: *** [all-stage1-gcc] Error 2
>> make[2]: Leaving directory `/tmp/gcc-4.2.1'
>> make[1]: *** [stage1-bubble] Error 2
>> make[1]: Leaving directory `/tmp/gcc-4.2.1'
>> make: *** [all] Error 2
>> ---------------------------------------------------
>>
>> I searched internet for the same, but some suggested use gnu tar to
>> untar the gcc source file.tar. Some said use gmake. Even after
>> using both, I getting this error.
>>
>> Please suggest how do I proceed. The system already has older
>> version of gcc installed ver 4.1.1.
>>
>> Regards,
>>
>> Anant Athavale.
>>


----- End message from T.Mittelstaedt -----



Regards,

Anant Athavale,
Computer and Information Group,
ISRO Satellite Centre,
Airport Road,
Bangalore - 560017
INDIA.

Landline: 080-25083512
Cell: 99809 13616

My Free/BusyURL:
http://isacmail2.isac.dos.gov.in/kronolith/fb.php?u=asa%40isac.gov.in


© 2004-2008 readlist.com