-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined syscall.TIOCGPTN, syscall.TIOCSPTLCK during compilation of cri-o (gollvm related) #4197
Comments
CC @sameo @saschagrunert @rhatdan Ivan |
sorry if I'm misunderstanding, but it seems all of these errors are from different libraries. Is there anything actionable in cri-o other than importing a newer version of the libraries that support gollvm? |
@haircommander , I can't tell yet. |
@haircommander , did as you proposed |
golang/go#41404 it says it's fixed in libgo. |
Hi.
I was trying to build cri-o using gollvm .
So I cloned the master branch and triggered make:
go build: when using gccgo toolchain, please pass linker flags using -gccgoflags, not -ldflags
cat /home/oceanfish81/.cache/go-
unshare.c:137:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
unshare.c:148:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
error: reference to undefined identifier 'syscall.DT_UNKNOWN'
error: reference to undefined identifier 'syscall.RUSAGE_SELF'
vendor/github.com/creack/pty/pty_linux.go:40:31: error: reference to undefined identifier 'syscall.TIOCGPTN'
vendor/github.com/creack/pty/pty_linux.go:50:31: error: reference to undefined identifier 'syscall.TIOCSPTLCK'
make: *** [Makefile:169: bin/crio] Error 2
Ivan
The text was updated successfully, but these errors were encountered: