-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Open
Labels
NeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.compiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.
Milestone
Description
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version
)?
go version go1.6.1 gccgo (Debian 6.2.1-4) 6.2.1 20161119 linux/mipsn64
go version go1.6.1 gccgo (Debian 6.2.1-4) 6.2.1 20161119 linux/mipso32
Same for alpha and powerpc (the 4 arches use gccgo in Debian).
What operating system and processor architecture are you using (go env
)?
GOARCH="mipsn64"
GOHOSTARCH="mipsn64"
GOHOSTOS="linux"
GOOS="linux"
What did you do?
$ go build golang.org/x/sys/unix
# golang.org/x/sys/unix
obj-mips64el-linux-gnuabi64/src/golang.org/x/sys/unix/flock.go:15:30: error: reference to undefined name 'SYS_FCNTL'
var fcntl64Syscall uintptr = SYS_FCNTL
^
obj-mips64el-linux-gnuabi64/src/golang.org/x/sys/unix/sockcmsg_linux.go:15:30: error: reference to undefined name 'SizeofUcred'
b := make([]byte, CmsgSpace(SizeofUcred))
^
obj-mips64el-linux-gnuabi64/src/golang.org/x/sys/unix/sockcmsg_linux.go:16:9: error: reference to undefined name 'Cmsghdr'
h := (*Cmsghdr)(unsafe.Pointer(&b[0]))
^
(The log of errors is huge, you can see a complete build log here: https://buildd.debian.org/status/fetch.php?pkg=mtail&arch=powerpc&ver=0.0%2Bgit20161027.a7b3e3c-1&stamp=1479766693)
For mips64el, I pressume it is just a disparity of GOARCH between gccgo and gc, and possibly could be fixed by renaminng. But I don't see any support in the code for mipsel/mipso32, alpha, or powerpc (32bits)
Metadata
Metadata
Assignees
Labels
NeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.compiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.
Type
Projects
Status
Todo