x/sys: go build fail on powerPC64 using gccgo #33057
Labels
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
cat /proc/version
Linux version 4.1.35-g2019-05-20-637432e (houzp@dev) (gcc version 4.9.2 (GCC) ) #118 SMP Mon May 20 12:59:31 CST 2019
go build
What did you expect to see?
compile success
What did you see instead?
usb_client
/root/.cache/go-build/09/09c966f52bbded84a8ec71e8ff39f8486d6c851665f52cc7420a13ecb26bdaf5-d(go.o): In function
unix.realSyscallNoError': /opt/golang/src/usb_client/vendor/golang.org/x/sys/unix/gccgo.go:22: undefined reference to
gccgoRealSyscall'/root/.cache/go-build/09/09c966f52bbded84a8ec71e8ff39f8486d6c851665f52cc7420a13ecb26bdaf5-d(go.o): In function
usb_client..z2fvendor..z2fgolang.org..z2fx..z2fsys..z2funix.RawSyscallNoError': affinity_linux.go:(.text+0x6168): undefined reference to
gccgoRealSyscall'/root/.cache/go-build/09/09c966f52bbded84a8ec71e8ff39f8486d6c851665f52cc7420a13ecb26bdaf5-d(go.o): In function
usb_client..z2fvendor..z2fgolang.org..z2fx..z2fsys..z2funix.Syscall': affinity_linux.go:(.text+0x6498): undefined reference to
gccgoRealSyscall'/root/.cache/go-build/09/09c966f52bbded84a8ec71e8ff39f8486d6c851665f52cc7420a13ecb26bdaf5-d(go.o): In function
usb_client..z2fvendor..z2fgolang.org..z2fx..z2fsys..z2funix.Syscall6': affinity_linux.go:(.text+0x6704): undefined reference to
gccgoRealSyscall'/root/.cache/go-build/09/09c966f52bbded84a8ec71e8ff39f8486d6c851665f52cc7420a13ecb26bdaf5-d(go.o): In function
usb_client..z2fvendor..z2fgolang.org..z2fx..z2fsys..z2funix.Syscall9': affinity_linux.go:(.text+0x68c8): undefined reference to
gccgoRealSyscall'/root/.cache/go-build/09/09c966f52bbded84a8ec71e8ff39f8486d6c851665f52cc7420a13ecb26bdaf5-d(go.o):affinity_linux.go:(.text+0x6958): more undefined references to `gccgoRealSyscall' follow
collect2: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered: