------- Comment #29 from rakdver at kam dot mff dot cuni dot cz 2007-08-13 18:04 ------- Subject: Re: Bootstrap with vectorization enabled fails with ICE on PPC
> ------- Comment #27 from victork at il dot ibm dot com 2007-08-13 15:09 > ------- > > this is the problem we discussed in this thread before; for now, add > > -mabi=altivec to BOOT_CFLAGS to workaround it. > > yes, this helped. Still I see a failure in cofigure before stage3 starts: > checking for powerpc-suse-linux-gcc... > /home/victork/mainline/build.trunk.127373/./prev-gcc/xgcc > -B/home/victork/mainline/build.trunk.127373/./prev-gcc/ > -B/home/victork/mainline/usr.trunk.127373/powerpc-suse-linux/bin/ > checking for C compiler default output file name... a.out > checking whether the C compiler works... configure: error: cannot run C > compiled programs. > If you meant to cross compile, use `--host'. > See `config.log' for more details. > > Seemingly, the compiler created by stage 2 is unusable. this is a misscompilation of crtbegin.o that I have been investigating as well. The reason seems to be that with -ftree-vectorize, we change alignment of __CTOR_LIST__ and __DTOR_LIST__, although why exactly this causes problems I did not find out yet. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32582