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

Brjd <brjd_epdjq36 at kygur dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brjd_epdjq36 at kygur dot com

--- Comment #5 from Brjd <brjd_epdjq36 at kygur dot com> ---
I got the same error on x86_64-pc-linux-gnu at libgo/libgotool.a :

go1: error: ‘-fsplit-stack’ currently only supported on GNU/Linux
go1: error: ‘-fsplit-stack’ is not supported by this compiler configuration


I disable the build since it stops at gotools. It is not quite clear if it is
supported in all glibc versions, whether -fsplit-stack is  needed for the gccgo
build or not, and I see that it is disabled for non-glibcs in the gnu.h header 
because of -fsplit-stack issues which is correct of course.
I guess these problems may be serious, e.g. possible memory corruption,
segfaults etc. But I was unable to find reliable information in the gcc docs. I
would suggest if the checks of compatibility are made at the very beginning
when the build is configured initially, so that users know if the go build is
supported on their system or not.

Reply via email to