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

build fails on MIPS systems #8782

Closed
dangowrt opened this issue Dec 18, 2020 · 4 comments · Fixed by #8797
Closed

build fails on MIPS systems #8782

dangowrt opened this issue Dec 18, 2020 · 4 comments · Fixed by #8797
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@dangowrt
Copy link

/kind bug

podman 2.2.1 fails to build on MIPS (both little and big endian, 32-bit as well as 64-bit) due to some type incompatibility.

# github.com/containers/podman/v2/pkg/signal
../../pkg/signal/signal_linux.go:46:14: undefined: unix.SIGSTKFLT

as well as

# github.com/containers/psgo/internal/dev
../../../../../dl/go-mod-cache/github.com/containers/[email protected]/internal/dev/tty.go:116:22: cannot use s.Rdev (type uint32) as type uint64 in argument to minDevNum
../../../../../dl/go-mod-cache/github.com/containers/[email protected]/internal/dev/tty.go:117:22: cannot use s.Rdev (type uint32) as type uint64 in argument to majDevNum

Please see the links below for full build logs:

https://downloads.openwrt.org/snapshots/faillogs/mips64_octeonplus/packages/podman/compile.txt

https://downloads.openwrt.org/snapshots/faillogs/mips_24kc/packages/podman/compile.txt

https://downloads.openwrt.org/snapshots/faillogs/mipsel_24kc/packages/podman/compile.txt

@openshift-ci-robot openshift-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Dec 18, 2020
@rhatdan
Copy link
Member

rhatdan commented Dec 19, 2020

@vrothberg PTAL

@zhangguanzhang
Copy link
Collaborator

unix.SIGSTKFLT is that golang does not support mips

@dangowrt
Copy link
Author

dangowrt commented Dec 21, 2020

unix.SIGSTKFLT is that golang does not support mips

well, at least officially Go does support MIPS and we do build other golang package in OpenWrt and they do work.
From what I understood Go supports aarch64, arm, i386, i686, mips, mips64, mips64el, mipsel, powerpc64 and x86_64.
Ie. ppc32 and armbe being the most popular exotic ones missing in the list, but all MIPS variants are among the supported architectures.

@Luap99
Copy link
Member

Luap99 commented Dec 21, 2020

@dangowrt I opened #8797. Can you try this please I do not have a mips system.

The other error comes from https://github.com/containers/psgo you should open an issue there.

@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 Sep 22, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants