https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110297
Bug ID: 110297 Summary: [13/14 Regression] all libgo tests fail on arm-linux-gnueabi and arm-linxu-gnueabihf Product: gcc Version: 13.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: doko at gcc dot gnu.org Target Milestone: --- seen on the gcc-13 branch 20230611 on arm-linux-gnueabi and arm-linux-gnueabihf: and all libgo tests fail on ARM32, both on the gcc-13 branch and the trunk. [...] fatal error: runtime: cannot allocate memory runtime stack: runtime.dopanic__m ../../../src/libgo/go/runtime/panic.go:1207 runtime.fatalthrow ../../../src/libgo/go/runtime/panic.go:1073 runtime.throw ../../../src/libgo/go/runtime/panic.go:1044 runtime.persistentalloc1 ../../../src/libgo/go/runtime/malloc.go:1475 runtime.persistentalloc..func1 ../../../src/libgo/go/runtime/malloc.go:1429 runtime.systemstack ../../../src/libgo/go/runtime/stubs.go:61 runtime.persistentalloc ../../../src/libgo/go/runtime/malloc.go:1428 runtime.addrRanges.init ../../../src/libgo/go/runtime/mranges.go:170 runtime.pageAlloc.init ../../../src/libgo/go/runtime/mpagealloc.go:330 runtime.mheap.init ../../../src/libgo/go/runtime/mheap.go:723 runtime.mallocinit ../../../src/libgo/go/runtime/malloc.go:497 runtime.schedinit ../../../src/libgo/go/runtime/proc.go:681 :0 :0 __libc_start_main :0 that's from a simple check: GO=go-13 WORKDIR=$(mktemp -d) trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM cd $WORKDIR cat <<EOF > hello.go package main import "fmt" func main() { fmt.Println("hello world") } EOF $GO run hello.go $GO build hello.go echo "build: OK" ldd hello [ -x hello ] ./hello echo "run: OK"