Gentoo Archives: gentoo-alt

From: Greg <trigggl@×××××.com>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] gcc failing, prefix-launcher-1.2 on AIX
Date: Mon, 09 Jun 2008 21:50:55
Message-Id: 484DA5BB.8060103@yahoo.com
In Reply to: Re: [gentoo-alt] gcc failing, prefix-launcher-1.2 on AIX by Greg Trigg
Greg Trigg wrote:

> > Well, before I start over again from svn, I thought I might as well > post the point at which gcc failed this time. Now it gets to > stage1/xgcc before failing. It's pretty annoying to have to wait 2-3 > hours to see if something is going to fail again and then on the next > try, it starts from the beginning again. Anyways, this is where it > failed on me. > > stage1/xgcc -Bstage1/ > -B/usr/local/prefix-launcher-1.2/powerpc-ibm-aix5.2.0.0/powerpc-ibm-aix5.2.0.0/bin/ > -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes > -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros > -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H > -DGENERATOR_FILE -I. -Ibuild > -I/usr/local/src/prefix-launcher-1.2/buildroot/gcc/gcc-4.1.1/gcc > -I/usr/local/src/prefix-launcher-1.2/buildroot/gcc/gcc-4.1.1/gcc/build > -I/usr/local/src/prefix-launcher-1.2/buildroot/gcc/gcc-4.1.1/gcc/../include > -I/usr/local/src/prefix-launcher-1.2/buildroot/gcc/gcc-4.1.1/gcc/../libcpp/include > -o build/genautomata.o > /usr/local/src/prefix-launcher-1.2/buildroot/gcc/gcc-4.1.1/gcc/genautomata.c > > In file included from > /usr/local/src/prefix-launcher-1.2/buildroot/gcc/gcc-4.1.1/gcc/genautomata.c:113: > > ./include/math.h:1066:2: error: '#' is not followed by a macro parameter > In file included from > /usr/local/src/prefix-launcher-1.2/buildroot/gcc/gcc-4.1.1/gcc/genautomata.c:113: > > ./include/math.h:1067: error: expected ')' before '==' token > ./include/math.h:1067: error: expected ')' before '||' token > ./include/math.h:1067: error: stray '#' in program > ./include/math.h:1069: error: stray '#' in program > ./include/math.h:1071: error: stray '#' in program > gmake[2]: *** [build/genautomata.o] Error 1 > gmake[2]: Leaving directory > `/usr/local/src/prefix-launcher-1.2/buildroot/gcc/ibm_slow.powerpc-ibm-aix5.2.0.0/gcc' > > gmake[1]: *** [stage2_build] Error 2 > gmake[1]: Leaving directory > `/usr/local/src/prefix-launcher-1.2/buildroot/gcc/ibm_slow.powerpc-ibm-aix5.2.0.0/gcc' > > gmake: *** [bootstrap] Error 2 > gmake: *** > [/usr/local/src/prefix-launcher-1.2/buildroot/gcc/gcc.ibm_slow.powerpc-ibm-aix5.2.0.0.builded] > Error 1
I finally got the bright idea of Googling this and quickly found the problem. AIX has bugs. :-O I found a description of the problem here: http://gcc.gnu.org/ml/gcc-bugs/2004-11/msg01996.html After some more Googling, I found IBM's fix here: http://www-1.ibm.com/support/docview.wss?uid=isg1IY46553 Hopefully I'll be able to install this fix and get back on my way to an AIX Prefix. Greg Trigg Jacksonville, AR -- gentoo-alt@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] gcc failing, prefix-launcher-1.2 on AIX Fabian Groffen <grobian@g.o>