-
-
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
darwin.xnu: use unwrapped clang for MIGCC #324440
Conversation
xnu headers built fine on aarch64 moving to staging. |
cc: @reckenrode @toonn |
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.
LGTM, I think this is what I asked for in one of my questions on the other PR. I'll run a build on x86_64-darwin to verify.
libunistring
was broken on staging for a bit, so still running the build.
#324155 (comment) merged. marking this as draft till it makes it to staging so i can rebase and fix the merge conflict i created [edit] rebased and resolved. |
the mig header build requires a 32 bit arch but the wrapped compiler specifies `-arch 64-bit-arch` on the command line causing compile failures. This was worked around for aarch64 by patching out the 32 bit arch but that ignores the comment and the code saying that 32 bit arch is required and thus will generate the wrong sizes for the structures in the headers. Using the unwrapped clang mig can pass whatever arch it desires.
cd0a6a4
to
bae30f2
Compare
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.
stdenv
built on x86_64-darwin, that's enough to get my stamp of approval.
Description of changes
#324155 (comment)
the mig header build requires a 32 bit arch but the wrapped compiler specifies
-arch 64-bit-arch
on the command line causing compile failures. This was worked around for aarch64 by patching out the 32 bit arch but that ignores the comment and the code saying that 32 bit arch is required and thus will generate the wrong sizes for the structures in the headers. Using the unwrapped clang mig can pass whatever arch it desires.Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.