-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
mesa: fix build for armv5tel #213635
mesa: fix build for armv5tel #213635
Conversation
I'm not aware of any ARMv5 EFI implementation. gnu-efi doesn't support it, so the build of systemd for armv5tel-linux is broken if it's isEfi.
ARMv5 does not have hardware floating point, so can't build systemd's BPF code.
Fixes: e7a2c65 ("mesa: reorganize default driver list")
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!
I wonder why ofborg is seeing a rebuild here. |
IIRC nixos-install-tools pulls in a verbatim copy of lib, so any change to lib now causes a rebuild. :/ |
It pulls in nixos-manpages which get rebuild with every module change and the diff is: ...drum sticks playing.... ➜ diffoscope result*
--- result
+++ result-before
├── stat {}
│ @@ -1,7 +1,7 @@
│
│ Size: 76 Blocks: 2 IO Block: 131072 symbolic link
│ Device: 0,31 Access: (0777/lrwxrwxrwx) Uid: ( 1000/ sandro) Gid: ( 100/ users)
│
│ -Modify: 2023-01-30 21:24:49.196166901 +0000
│ +Modify: 2023-01-30 21:23:10.292482912 +0000
│ --- result/share
├── +++ result-before/share
│┄ symlink
│ @@ -1 +1 @@
│ -destination: /nix/store/mr95w917i81bwq17p5gcayvj5i1330wh-nixos-manpages/share
│ +destination: /nix/store/jk09zfw9v0if7kc0jvf8wiiksfk3bkns-nixos-manpages/share
➜ diffoscope /nix/store/jk09zfw9v0if7kc0jvf8wiiksfk3bkns-nixos-manpages/share /nix/store/mr95w917i81bwq17p5gcayvj5i1330wh-nixos-manpages/share
➜ |
Description of changes
I went a bit overboard and decided to test cross builds of #213158 for every non-Darwin entry in
lib.platforms.mesaPlatforms
. Everything was fine apart from a regression on armv5tel with a simple fix, but then the final commit was pushed adding a systemd dependency, so then I had to fix the build of systemd for armv5tel as well.The particular ARMv5 quirks we have to take into account for systemd and mesa are:
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes