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
What steps will reproduce the problem?
1. run mkall.sh at $(GOROOT)/src/pkg/syscall
2. run make at $(GOROOT)/src/pkg/syscall
3. got error
What is the expected output?
no compilation errors
What do you see instead?
6g -o _go_.6 str.go exec.go syscall.go syscall_amd64.go syscall_linux.go
syscall_linux_amd64.go zerrors_linux_amd64.go zsyscall_linux_amd64.go
zsysnum_linux_amd64.go ztypes_linux_amd64.go syscall_unix.go
syscall_linux.go:372: undefined: socketpair
make: *** [_go_.6] Error 1
What is your $GOOS? $GOARCH?
GOARCH=amd64
GOOS=linux
Which revision are you using? (hg identify)
a481e050147b+ tip
Please provide any additional information below.
Looks like there are two reasons for this issue; a) syscall_linux_amd64.go doesn't
contain ``//sys sockaetpair(...)'' prototype, b) mksyscall.sh doesn't take care about
array type return parameter.
% uname -a
Linux vm5 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 08:03:28 UTC 2010 x86_64 GNU/Linux
% cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04 LTS"
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: