Closed
Description
On tip, revision: 21835:4e8f29def76a. power64le is accepted, but can't compile Go. The C bootstrap goes well, but once starting the go_bootstrap, it segfault. Compiling from power64le on darwin works fine, but the resulting go binaries segfault when running on powerpc64le. Also tried to crosscompile a simple "func main() { println("hello world")}", same thing: segfault when running it. I did not manage to get gdb working, but when running the hello world with valgrind, I get: ==30914== Memcheck, a memory error detector ==30914== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. ==30914== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info ==30914== Command: ./t ==30914== ==30914== Warning: set address range perms: large range [0xc000000000, 0xe208010000) (noaccess) ==30914== Warning: ignored attempt to set SIGRT32 handler in sigaction(); ==30914== the SIGRT32 signal is used internally by Valgrind fatal error: rt_sigaction failure runtime stack: runtime.gothrow(0x91990, 0x14) /Users/guillaume/goroot/src/runtime/panic.go:507 +0xf4 runtime.setsig(0x40, 0x62cf0, 0x48101) /Users/guillaume/goroot/src/runtime/os1_linux.go:257 +0x1e0 runtime.initsig() /Users/guillaume/goroot/src/runtime/signal1_unix.go:41 +0x1e8 runtime.mstart1() /Users/guillaume/goroot/src/runtime/proc1.go:730 +0xfc runtime.mstart() /Users/guillaume/goroot/src/runtime/proc1.go:709 +0x108 goroutine 1 [runnable]: runtime.main() /Users/guillaume/goroot/src/runtime/proc.go:14 runtime.goexit() /Users/guillaume/goroot/src/runtime/asm_power64x.s:972 +0x4 ==30914== ==30914== HEAP SUMMARY: ==30914== in use at exit: 0 bytes in 0 blocks ==30914== total heap usage: 0 allocs, 0 frees, 0 bytes allocated ==30914== ==30914== All heap blocks were freed -- no leaks are possible ==30914== ==30914== For counts of detected and suppressed errors, rerun with: -v ==30914== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)