libgo patch committed: copy rdebug code from Go 1.7

Richard Biener
Wed Oct 19 11:30:00 GMT 2016

On Mon, Oct 17, 2016 at 6:54 PM, Ian Lance Taylor <> wrote:
> This patch to libgo copies the rdebug code from the Go 1.7 runtime to libgo.
> While we're at it, this updates the runtime/debug package, and starts
> running its testsuite by default.  I'm not sure why runtime/debug was
> not previously updated to 1.7.  Doing that led me to fix some minor
> aspects of runtime.Stack and the C function runtime/debug.readGCStats.
> Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu.  Committed
> to mainline.

Not sure which of the merges broke it but I get

runtime_sysinfo.go  -fPIC -o .libs/runtime-go.o
error:integer constant overflow = _EPOLLIN | _EPOLLOUT | _EPOLLRDHUP | _EPOLLET
make[4]: *** [runtime-go.lo] Error 1

now and bootstrap is broken for me.  This is on x86_64-linux, SLES 11
SP4 which uses glibc 2.11.3.

There is a missing space after 'error:' as well.

Please fix.


> Ian

More information about the Gcc-patches mailing list