-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
(staging) systemd fails to cross compile to arm #86644
Comments
Hm, the workaround doesn't seem to be enough and I've switched it to
|
Looks like #72802 adds support for |
Firstly, I assume you did check the resulting package runs on arm? I'd be suspicious it's not cross-compiling at all! |
Thanks, the only problem is the EFI (systemd-boot) part, it does cross-compile and works correctly it without it. Trouble (for me :)) is expressing your suggestion using |
Fixed by a239864 |
Describe the bug
Building
systemd-boot
withEFI
support uses hostcc
andld
correctly but with target arch set toarm
resulting inWorkaround is to disable
EFI
completely by adding the following tomesonFlags
but I would like to fix this correctly.
There's also
-Defi-ld
flag which can be used to pass anotherld
but I'm not sure if using target'sld
is the right approach here.To Reproduce
Cross-build to
armv7l
with current staging.Notify maintainers
Ping cross gurus @Mic92 @Ericson2314 @matthewbauer
The text was updated successfully, but these errors were encountered: