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

muslcross for ppc64le target #182000

Open
tlaurion opened this issue Jul 18, 2022 · 1 comment
Open

muslcross for ppc64le target #182000

tlaurion opened this issue Jul 18, 2022 · 1 comment
Labels
0.kind: packaging request Request for a new package to be added 6.topic: exotic Exotic hardware or software platform

Comments

@tlaurion
Copy link

Project description
We are planning to move Heads buildsystem to linux-builder on top of NixOS, but for that we would need to have a muslcross ppc64le target

Reference: linuxboot/heads#1190 (comment)

Metadata

@tlaurion tlaurion added the 0.kind: packaging request Request for a new package to be added label Jul 18, 2022
@infinisil infinisil moved this to In scope in Issues Jul 18, 2022
@infinisil infinisil added this to Issues Jul 18, 2022
@infinisil infinisil removed this from Issues Jul 18, 2022
@trofi
Copy link
Contributor

trofi commented Jul 19, 2022

Does musl-power target do what you need?

$ nix build nixpkgs#pkgsCross.musl-power.hello
$ file ./result/bin/hello
./result/bin/hello: ELF 64-bit LSB pie executable, 64-bit PowerPC or cisco 7500, OpenPOWER ELF V2 ABI, version 1 (SYSV), dynamically linked, interpreter /nix/store/cmdgpvrffy2yirpxwzbjzy1hdggjhy3q-musl-powerpc64le-unknown-linux-musl-1.2.3/lib/ld-musl-powerpc64le.so.1, not stripped

$ LANG=C qemu-ppc64le result/bin/hello
Hello, world!

@alyssais alyssais added the 6.topic: exotic Exotic hardware or software platform label Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: packaging request Request for a new package to be added 6.topic: exotic Exotic hardware or software platform
Projects
None yet
Development

No branches or pull requests

3 participants