| 23 Oct 2025 |
emily | it should be listed as unsupported for the WASI toolchain then no? | 00:30:15 |
Randy Eckenrode | The hardening may be supported, but the check doesn’t expect the extra macros. We’re not defining this as a default in libc++. We’re going behinds its back via the wrapper. | 00:38:03 |
emily | libc++ tells distros to set it as a -D IIRC | 00:38:29 |
Randy Eckenrode | Though in this case it appears to be a set of predefined macros from the WASI libc. | 00:38:45 |
emily | oh | 00:38:46 |
emily | ok, I'm wrong | 00:38:51 |
emily | there is a knob | 00:38:53 |
Randy Eckenrode | /nix/store/2csn56l6kpm3ccbljvd8g9w9c7d9f8s1-wasilibc-static-wasm32-unknown-wasi-27-share/share/predefined-macros.txt | 00:38:53 |
emily | we should probably just set the default in the derivation… | 00:39:22 |
emily | and have hardening flags only for the opt-in levels | 00:39:30 |
Randy Eckenrode | Naturally, Apple releases the source releases right after I open this PR. | 00:39:32 |
emily | the macOS 26 ones? | 00:39:44 |
Randy Eckenrode | Yes. | 00:39:49 |
Randy Eckenrode | https://github.com/apple-oss-distributions/distribution-macOS/tree/macos-260 | 00:40:00 |
emily | feature freeze is in a couple days, maybe those should be for 26.05 😅 | 00:40:01 |
emily | forgot to look at the bump today, sorry | 00:40:22 |
emily | hopefully tomorrow | 00:40:24 |
Randy Eckenrode | But text_cmds has an updated sed! 🤪 | 00:43:19 |
Randy Eckenrode | More importantly. ld64 updates. | 00:43:46 |
Randy Eckenrode | We might need the ld64 update for the 26.0 SDK. | 00:44:37 |
Randy Eckenrode | https://github.com/apple-oss-distributions/ld64/blob/1a4389663d65d6630e4b3e31ace2a86b6183b452/src/ld/Options.cpp#L4888 | 00:45:01 |
Randy Eckenrode | Or at least cherry-pick that patch until I can do it. | 00:45:41 |
Ihar Hrachyshka | ok re hardening flag, if no one gets to fix it in a day or two, I may post a patch on weekend. I suspect I will make mistakes though. :) so feel free to beat me to it. | 00:45:57 |
samasaur | if the 26.0 source releases are out I can try and include that in my apple-sdk_26 PR | 00:50:28 |
samasaur | ...the one i still haven't opened | 00:50:34 |
Randy Eckenrode | I was complaining about the source release updates in pkgs/os-specific/darwin/apple-source-releases. Those updates can be non-trivial. The SDK is just providing the sources. | 00:59:23 |
| reno joined the room. | 01:00:51 |
Randy Eckenrode | nix-repl> llvmPackages_21.clang
«derivation /nix/store/45l6x4prnm0fj9snbcaaknh5wbd5kxzj-clang-wrapper-21.1.2.drv»
nix-repl> (llvmPackages_21.override { }).clang
«derivation /nix/store/axdpznj47124az3zjf788fr3lsw7853m-clang-wrapper-21.1.2.drv»
| 01:06:52 |
Randy Eckenrode | That doesn’t seem right. | 01:06:55 |
samasaur | ah, gotcha | 01:07:50 |