-
Notifications
You must be signed in to change notification settings - Fork 365
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
Can't cross compile to armv7 from Fedora36 + podman #1010
Comments
Does it affect any other targets, just wondering? Also, I don't think it should be using
Thanks. |
Okay so it does happen with the other targets you suggested, /nix/store exists but the environment variables don't I do however remember doing something NIX related (I don't remember what). I remove /nix and solved this. |
Small question is it possible to cross compile when relying on C libraries, like sqlite3 and lirc_client I get these errors
|
So then the issue is it's trying to mount a directory it doesn't have permissions to modify as the current users, which is odd.... We might need to change the SELinux labels. As for the glibc errors, see the pinned issue #724. For the other ones with external dependencies, we've documented this on the wiki. Let me know if anything is unclear. It's absolutely possible to cross-compile with C dependencies, and we understand it's a bit trickier to setup, so we've tried to make the process as simple as possible. |
Closed in favor of #1012, which details this issue more precisely and generally. |
Checklist
Describe your issue
I'm trying to setup a cross compile setup for my to ease my development of a raspberry pi project.
But after the initial clone / setup all I get is this
Error: lsetxattr /nix/store/.links: operation not permitted
Looking around it seems to be a SELinux issue but I'm not sure how to go about fixing it
What target(s) are you cross-compiling for?
armv7-unknown-linux-gnueabihf
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
cross 0.2.4 (47df5c7 2022-08-30)
Example
Additional information / notes
No response
The text was updated successfully, but these errors were encountered: