https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87836

--- Comment #22 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
Uni-Bielefeld.DE> ---
> --- Comment #21 from Gary Mills <gary_mills at fastmail dot fm> ---
> Most of the words in the title are wrong now.  I'm attempting to build gcc-7
> now.  The ICE occurs on both SPARC and x86 systems.  It only happens with the

Which version of /bin/as are you using on Solaris/x86?

And before trying to debug this further, could you please try a
bootstrap with the bare minimum of configure options and no local
patches: from what I see in your Comment #11, that would be

CC=/usr/gcc/4.9/bin/gcc         these are a 32-bit-default compilers, I assume?
CXX=/usr/gcc/4.9/bin/g++
--enable-languages=c,c++
--without-gnu-ld --with-ld=/usr/bin/ld
--without-gnu-as --with-as=/usr/bin/as

Certainly omit --with-initfini-array: if the configure test doesn't
detect it, there may be a problem (e.g. in ld) here.

Can you bootstrap a previous unmodified version of GCC (e.g. 4.9.x) in a
similar way and use that instead of the bundled one?  Maybe there's
already a problem with your bootstrap compiler.

If 4.9.x bootstraps fine and 4.9.x -> 7.x doesn't, try the last releases
from each branch (5.x, 6.x) in turn, starting with 4.9.x -> 5.x; then
5.x -> 6.x; then 6.x -> 7.x.

Reply via email to