Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898200 - dev-lang/go: test failure on arm64
Summary: dev-lang/go: test failure on arm64
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2023-02-27 23:35 UTC by Sam James
Modified: 2023-02-27 23:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-27 23:35:16 UTC
Arthur's reported this upstream at https://github.com/golang/go/issues/58771.

```
##### ../misc/cgo/test
ok      misc/cgo/test   2.016s
# misc/cgo/test.test
loadelf: /usr/lib/gcc/aarch64-unknown-linux-gnu/12/libgcc.a(_mulsc3.o/): 147259: sym#128 (wm4.0.2dd2ef601d1ee34f25664efd3ab09129): ignoring symbol in section 1 (type 0)
loadelf: /usr/lib/gcc/aarch64-unknown-linux-gnu/12/libgcc.a(_muldc3.o/): 147264: sym#128 (wm4.0.04c8e0a7cf24532cc22a8c08a8485b50): ignoring symbol in section 1 (type 0)
loadelf: /usr/lib/gcc/aarch64-unknown-linux-gnu/12/libgcc.a(_absvsi2.o/): 147269: sym#127 (wm4.0.8b6811288dcbb7bf8d7935a4ff231675): ignoring symbol in section 1 (type 0)
loadelf: /usr/lib/gcc/aarch64-unknown-linux-gnu/12/libgcc.a(lse-init.o/): 147281: sym#26 (wm4.0.e9dbc2a4f4cd55ed8d876963f7cda273): ignoring symbol in section 1 (type 0)
misc/cgo/test(.text): unknown symbol __mulsc3 in callarm64
misc/cgo/test(.text): unknown symbol __muldc3 in callarm64
misc/cgo/test(.text): unknown symbol __absvsi2 in callarm64
libgcc(.text): unknown symbol __aarch64_have_lse_atomics
misc/cgo/test(.text): relocation target __mulsc3 not defined
misc/cgo/test(.text): relocation target __muldc3 not defined
misc/cgo/test(.text): relocation target __absvsi2 not defined
libgcc(.text): relocation target __aarch64_have_lse_atomics not defined
FAIL    misc/cgo/test [build failed]
FAIL
2023/02/27 20:06:52 Failed: exit status 2
ok      misc/cgo/test   2.084s
ok      misc/cgo/testtls        0.004s
ok      misc/cgo/testtls        0.005s
```

This is GCC 12, but it's a bit suspicious given bug 868018.