New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
runtime: TestCgoCrashHandler and TestCgoSignalDeadlock compilation failure on openbsd/amd64 #5415
Labels
Milestone
Comments
reproduced on openbsd-5.2/amd64: --- FAIL: TestCgoCrashHandler (1.90 seconds) crash_test.go:78: expected "main: recovered done\nnew-thread: recovered done\nsecond-new-thread: recovered done\nmain-again: recovered done\n", but got "# command-line-arguments\n/usr/bin/ld: /var/tmp/go-link-FwncUO/go.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC\n/var/tmp/go-link-FwncUO/go.o: could not read symbols: Bad value\ncollect2: ld returned 1 exit status\n/home/minux/go.hg/pkg/tool/openbsd_amd64/6l: running gcc failed: unsuccessful exit status 0x100\n" --- FAIL: TestCgoSignalDeadlock (1.65 seconds) crash_cgo_test.go:21: expected "OK\n", but got "# command-line-arguments\n/usr/bin/ld: /var/tmp/go-link-iIEXwY/go.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC\n/var/tmp/go-link-iIEXwY/go.o: could not read symbols: Bad value\ncollect2: ld returned 1 exit status\n/home/minux/go.hg/pkg/tool/openbsd_amd64/6l: running gcc failed: unsuccessful exit status 0x100\n" FAIL FAIL runtime 20.563s Labels changed: added priority-later, removed priority-triage. Status changed to Accepted. |
I get a similar error with tip (16907:fae6ab78c055) on FreeBSD 8.3, on i386: --- FAIL: TestCgoCrashHandler (2.01 seconds) crash_test.go:78: expected "main: recovered done\nnew-thread: recovered done\nsecond-new-thread: recovered done\nmain-again: recovered done\n", but got "# command-line-arguments\n/var/tmp/go-link-vq1CgF/go.o(.text+0x17d94): In function `runtime.mallocinit':\n/data/go/src/pkg/runtime/malloc.goc:402: relocation truncated to fit: R_386_32 end\n/var/tmp/go-link-vq1CgF/go.o(.gosymtab+0x2e9b): In function `runtime.chanrecv':\n/data/go/src/pkg/runtime/chan.c:346: relocation truncated to fit: R_386_32 end\n/var/tmp/go-link-vq1CgF/go.o(.debug_info+0x88b9): In function `scanblock':\n/data/go/src/pkg/runtime/mgc0.c:1084: relocation truncated to fit: R_386_32 end\n/data/go/pkg/tool/freebsd_386/8l: running gcc failed: unsuccessful exit status 0x100\n" --- FAIL: TestCgoSignalDeadlock (1.64 seconds) crash_cgo_test.go:21: expected "OK\n", but got "# command-line-arguments\n/var/tmp/go-link-b3i1Q8/go.o(.text+0x18984): In function `runtime.mallocinit':\n/data/go/src/pkg/runtime/malloc.goc:402: relocation truncated to fit: R_386_32 end\n/var/tmp/go-link-b3i1Q8/go.o(.gosymtab+0x2ec4): In function `runtime.chanrecv':\n/data/go/src/pkg/runtime/chan.c:366: relocation truncated to fit: R_386_32 end\n/var/tmp/go-link-b3i1Q8/go.o(.debug_info+0x8c3e): In function `flushptrbuf':\n/data/go/src/pkg/runtime/mgc0.c:347: relocation truncated to fit: R_386_32 end\n/data/go/pkg/tool/freebsd_386/8l: running gcc failed: unsuccessful exit status 0x100\n" FAIL FAIL runtime 21.657s |
On OpenBSD, this is the same as issue #5067. The FreeBSD issue looks similar but different... |
See issue #6845 for FreeBSD. It's a different issue. |
This was fixed in #5067. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by raul.san@sent.com:
The text was updated successfully, but these errors were encountered: