Skip to content
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

unix.SIGSTKFLT was not found when compiled #8768

Closed
hellocloudnative opened this issue Dec 18, 2020 · 14 comments
Closed

unix.SIGSTKFLT was not found when compiled #8768

hellocloudnative opened this issue Dec 18, 2020 · 14 comments
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@hellocloudnative
Copy link

hellocloudnative commented Dec 18, 2020

unix.SIGSTKFLT was not found when compiled
image

我通过添加这个信号量,在我的golang.org/unix里

并且成功编译通过

使用podman 的命令 pull push 都很正常

但是当我运行podman run -it 容器
image

没有任何反应
我通过sudo tail -f /var/log/messages 查看日志

image

Please help me. Thank you very much

@zhangguanzhang
Copy link
Collaborator

could you show your os and go version?

@hellocloudnative
Copy link
Author

hellocloudnative commented Dec 18, 2020

could you show your os and go version?

image

uos@uos-sw:/go/src/github.com/containers/podman$ go version
go version go1.14.1 linux/sw64
uos@uos-sw:
/go/src/github.com/containers/podman$ cat /etc/os-release
PRETTY_NAME="uos 20"
NAME="uos"
VERSION_ID="20"
VERSION="20"
ID=uos
HOME_URL="https://www.chinauos.com/"
BUG_REPORT_URL="http://bbs.chinauos.com"

@zhangguanzhang
Copy link
Collaborator

which your arch,could you show the result of command arch?

@hellocloudnative
Copy link
Author

which your arch,could you show the result of command arch?

uos@uos-sw:~/go/src/github.com/containers/podman$ arch
sw_64

@zhangguanzhang
Copy link
Collaborator

zhangguanzhang commented Dec 18, 2020

what about the comamnd go env print

@hellocloudnative
Copy link
Author

uos@uos-sw:~/go/src/github.com/containers/podman$ go env
GO111MODULE=""
GOARCH="sw64"
GOBIN=""
GOCACHE="/home/uos/.cache/go-build"
GOENV="/home/uos/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="sw64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY="https://gitlabwh.uniontech.com/wuhan/container/gowarehouses"
GONOSUMDB="https://gitlabwh.uniontech.com/wuhan/container/gowarehouses"
GOOS="linux"
GOPATH="/home/uos/go"
GOPRIVATE="https://gitlabwh.uniontech.com/wuhan/container/gowarehouses"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go-1.14"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go-1.14/pkg/tool/linux_sw64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/uos/go/src/github.com/containers/podman/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build965382663=/tmp/go-build -gno-record-gcc-switches"

@zhangguanzhang
Copy link
Collaborator

I think the reason lies in the imperfect support of golang for sw64, you can try the latest golang version

@hellocloudnative
Copy link
Author

I think the reason lies in the imperfect support of golang for sw64, you can try the latest golang version
我在mips64架构也遇到这个问题,使用go1.14.1都是可以的
这个原因和golang本身有关系嘛

@zhangguanzhang
Copy link
Collaborator

主要是目标架构,golang对sw64的支持不行,目前arm的应该没问题的

@hellocloudnative
Copy link
Author

主要是目标架构,golang对sw64的支持不行,目前arm的应该没问题的

我想知道podman 运行过程,哪里影响到了这里。

@vrothberg
Copy link
Member

As @zhangguanzhang mentioned, Golang does not support sw64, so I am closing the issue.

@rhatdan
Copy link
Member

rhatdan commented Dec 18, 2020

I had never heard of sw_64... Had to do some internet searching.

@hellocloudnative
Copy link
Author

我从未听说过sw_64 ...必须进行一些Internet搜索。

我想知道podman运行过程,涉及到架构方面,哪里影响到了这里。非常感谢你

@fishbar
Copy link

fishbar commented Mar 25, 2022

@hellocloudnative the offical Golang does not support sw_64 arch, you should read this blog https://blog.frytea.com/archives/598/?hmsr=joyk.com&utm_source=joyk.com&utm_medium=referral

@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Mar 30, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

No branches or pull requests

5 participants