Building fails here: touch ../stamp-tools ../../gnatmake -c -I../rts -I. -I/home/users/builder/rpm/BUILD/gcc-4.0-20050213/gcc/ada gnatchop --GCC="../../xgcc -B../../ -O2 -O2 -mieee -mieee -gnatpg -gnata" gnatmake: "gnatchop" not found Unified build environment on multiple archs shows this bug occurs only on alpha: http://ep09.pld-linux.org/~builderth/queue.html (sparc broke because of something else, which I've already fixed). Full buildlog can be found here: ftp://buildlogs.pld-linux.org/th/alpha/FAIL/gcc.bz2
hmm, RTH was able to build and report Ada results on alpha-linux-gnu: http://gcc.gnu.org/ml/gcc-testresults/2005-02/msg00683.html
I've managed to google myself to PR18434 so looks like there is something wrong with alpha. Though I've seen stuff being broken depending on what languages are marked as supported (I've turned on only c++ and ada). Either way, I'll be building a whole distro (5 archs included) based on gcc4 and I need this working, so even a workaround would help.
Yes this is probably a miscompilation of gnatmake, you may try to set boot flags to -O0 or -O1 instead of -O2. No idea on why RTH doesn't see this.
I've recompiled the whole thing with -O0. Still doesn't work. If this is a miscompilation, then gcc4 is seriously borked on alpha. Any suggestions what to do with this? (I need gcc4 on alpha :)
CC'ed.
Forgot to mention - here's a quick fix: http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/gcc-alpha-ada_fix.patch
*** This bug has been marked as a duplicate of 18434 ***