Summary: | libgo regression in runtime test resulting in SIGSEGV on ppc64le | ||
---|---|---|---|
Product: | gcc | Reporter: | boger |
Component: | go | Assignee: | Ian Lance Taylor <ian> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | bergner |
Priority: | P3 | ||
Version: | 10.0 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: |
Description
boger
2019-11-18 17:28:31 UTC
More information on this bug has been added to https://github.com/golang/go/issues/36697. The problem appears to be due the use of split stack and possibly the gold linker is not handling the split stack functions correctly in libgcc generic-morestack.c. Did you try Ian's suggestion of -Wl,--split-stack-adjust-size=0x8000 or even larger? Yes, I tried the value of 0x80000 and the test passed. In the issue Ian mentioned that 0x100000 was the default on x86. If we want the same default on x86 and ppc64 then 0x100000 would work since the value I tested with is smaller. |