[Bug go/60931] New: libgo has issues when page size is not 4k
anton at samba dot org
gcc-bugzilla@gcc.gnu.org
Wed Apr 23 07:06:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60931
Bug ID: 60931
Summary: libgo has issues when page size is not 4k
Product: gcc
Version: 4.10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: go
Assignee: ian at airs dot com
Reporter: anton at samba dot org
Created attachment 32659
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32659&action=edit
Bump page size to 64kB
We are seeing random failures with go programs on a 64kB page size ppc64 box.
It looks like garbage collection issues - sometimes we SEGV in timer code,
sometimes we SEGV in the code that wraps a kernel read syscall. If I prevent
the garbage collector from running, the programs work.
The libgo malloc hard codes the page size so I wrote a quick hack to bump this
(and a few other dependent variables). This makes the problem go away, but we
will need to come up with a better way to do this at runtime.
More information about the Gcc-bugs
mailing list