You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
openbsd/arm64 passes all tests successfully prior to d2765de, however with that commit the misc/cgo/test now fails with:
##### ../misc/cgo/test
PASS
ok misc/cgo/test 184.359s
# misc/cgo/test.test
/tmp/go-build512157972/b053/_pkg_.a(_x002.o): unknown relocation type 299; compiled without -fpic?
FAIL misc/cgo/test [build failed]
2019/05/08 12:23:39 Failed: exit status 2
This occurs on the -linkmode=internal run of this test and is reproducible via:
$ cd src/misc/cgo/test
$ GOFLAGS=-ldflags=-linkmode=internal go test -c
I haven't yet tracked down the failure/fix, however it is worth noting that openbsd/arm64 uses clang and hence this may also result on other platforms when clang is in use.
The text was updated successfully, but these errors were encountered:
Relocation 299 is R_AARCH64_LDST128_ABS_LO12_NC. That may need to be added to the switch in relSize in cmd/link/internal/loadelf/ldelf.go. Likely we'll also need some code for the reloc in cmd/link/internal/arm64/asm.go.
openbsd/arm64 passes all tests successfully prior to d2765de, however with that commit the misc/cgo/test now fails with:
This occurs on the
-linkmode=internal
run of this test and is reproducible via:I haven't yet tracked down the failure/fix, however it is worth noting that openbsd/arm64 uses clang and hence this may also result on other platforms when clang is in use.
The text was updated successfully, but these errors were encountered: