darwin.darling: fix build on case-insensitive filesystems#110685
darwin.darling: fix build on case-insensitive filesystems#110685holymonson wants to merge 1 commit intoNixOS:stagingfrom
Conversation
4f6d4b1 to
b7a716d
Compare
|
@GrahamcOfBorg build darwin.Libsystem |
It's because the new
@veprbl which one do you prefer? |
|
I would try to stick to first updating darling if that is possible without breaking anything. |
Use upstream darlinghq/darling@ea5f07d to fix build on case-sensitive filesystems. Also update headers in Libsystem due to path modified. fix NixOS#91480
veprbl
left a comment
There was a problem hiding this comment.
I think, commit title should state something like "darwin.darling: unstable-2018-02-10 -> unstable-2020-04-26"
| os/activity.h | ||
| os/log.h | ||
| os/trace.h | ||
| ") |
There was a problem hiding this comment.
/nix/store/pawa4j5ywf0s0mm1khk8f45qx8qrj49v-Libsystem-1238.60.2-osx-10.12.6/include/os/trace.h:32:10: fatal error: 'os/trace_base.h' file not found
#include <os/trace_base.h>
^~~~~~~~~~~~~~~~~
There was a problem hiding this comment.
I think this header was added in SDK 10.13. Compare:
https://github.com/linxun45/MacOSX-SDKs/tree/aea47c83334af9c27dc57c49ca268723ef5e6349/MacOSX10.12.sdk/usr/include/os
vs
https://github.com/linxun45/MacOSX-SDKs/tree/aea47c83334af9c27dc57c49ca268723ef5e6349/MacOSX10.13.sdk/usr/include/os
There was a problem hiding this comment.
Here is a little complicated, os/trace_base.h required os/availability.h (not the one below, a new one), while the new os/availability.h required new Availability.h in xnu according to #110685 (review) . We have to do it step by step to keep minimal change in each PR.
@veprbl would you review #109368 first? Then I will try making a pure xnu update, then darling.
|
I marked this as stale due to inactivity. → More info |
|
I marked this as stale due to inactivity. → More info |
Motivation for this change
Use upstream darlinghq/darling@ea5f07d to fix build on case-insensitive filesystems.
Also update headers in Libsystem due to path modified.
Tested darling but not Libsystem.
cc @veprbl @thefloweringash
fix #91480 #107431
Things done
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)nix path-info -Sbefore and after)