This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Go patch committed: Update to Go1.10beta1


On Tue, Jan 9, 2018 at 11:34 PM, Uros Bizjak <ubizjak@gmail.com> wrote:
>> This patch updates libgo to the Go1.10beta1 release.  The final Go
>> 1.10 release is expected around February 1, so it's not clear how the
>> release timing is going to work with GCC 8.  In any case this updates
>> GCC to something pretty close to the final Go 1.10 release.
>
> This patch introduces a bunch of new fails in gotools testsuite form
> non-split stack targets, e.g.:
>
> AIL: TestCgoSignalDeadlock
>         crash_test.go:55: building testprogcgo []: exit status 2
>                 #
> _/space/uros/gcc-svn/trunk/libgo/go/runtime/testdata/testprogcgo
>                 cc1: error: '-fsplit-stack' is not supported by this
> compiler configuration
>
> and also:
>
> # _/space/homedirs/uros/gcc-build/gotools/cgo-test-dir/misc/cgo/test/gcc68255
> cc1: error: '-fsplit-stack' is not supported by this compiler configuration
> # _/space/homedirs/uros/gcc-build/gotools/cgo-test-dir/misc/cgo/test/issue8756
> cc1: error: '-fsplit-stack' is not supported by this compiler configuration
> # _/space/homedirs/uros/gcc-build/gotools/cgo-test-dir/misc/cgo/test/issue8828
> cc1: error: '-fsplit-stack' is not supported by this compiler configuration
> # _/space/homedirs/uros/gcc-build/gotools/cgo-test-dir/misc/cgo/test/issue9026
> cc1: error: '-fsplit-stack' is not supported by this compiler configuration
> # _/space/homedirs/uros/gcc-build/gotools/cgo-test-dir/misc/cgo/test/issue9510b
> cc1: error: '-fsplit-stack' is not supported by this compiler configuration
> # _/space/homedirs/uros/gcc-build/gotools/cgo-test-dir/misc/cgo/test/issue9510a
> cc1: error: '-fsplit-stack' is not supported by this compiler configuration
> FAIL    _/space/homedirs/uros/gcc-build/gotools/cgo-test-dir/misc/cgo/test
> [build failed]

The go tool is trying to decide whether the C compiler supports the
-fsplit-stack option by running
    gcc -fsplit-stack -c -x c - < /dev/null
On your system, what does that print, and what is the exit status?

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]