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

--- Comment #32 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
Uni-Bielefeld.DE> ---
> --- Comment #31 from Gary Mills <gary_mills at fastmail dot fm> ---
> When I built gcc-7 with even more configuration options, including
> --enable-initfini-array, I got this segmentation fault on SPARC hardware:
[...]
> conftest.c:11:1: internal compiler error: Abort
> xgcc: internal compiler error: Abort (program cc1)
>
> This is a known problem, and an old one.  The --enable-initfini-array option 
> is
> not shown in the help output from gcc-7 configure.  When I did a subsequent
> build without that option, I got a successful build.  It's quite possible that
> this option was the source of all the problems.

As I'd mentioned before, this doesn't astonish me in the least.  It took
quite a bit of work for and with the Solaris linker engineers to get
that support right in ld and the configure test to pass.  If you're
forcing that support when the test fails, it's quite likely that
something is not quite right with Illumos ld's support (which was only
added independently after Oracle closed down OpenSolaris).

Reply via email to