!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1179 Members
“There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org192 Servers

Load older messages


SenderMessageTime
11 Apr 2026
@reckenrode:matrix.orgRandy EckenrodeThe stubs only support arm64e.00:44:34
@reckenrode:matrix.orgRandy EckenrodeWell, some of them only support it. libc++ still supports arm64, which may be a mistake.00:47:03
@reckenrode:matrix.orgRandy EckenrodeUgh, this sucks.00:47:06
@reckenrode:matrix.orgRandy EckenrodeIs our SDK unpacking mangling the stubs? That somehow seems worse.00:53:10
@reckenrode:matrix.orgRandy EckenrodeNo, doesn’t look like.01:00:44
@reckenrode:matrix.orgRandy Eckenrode * 01:00:50
@emilazy:matrix.orgemilywait, what? wasn't the arm64e ABI not stable before?01:02:19
@emilazy:matrix.orgemilyisn't it more likely that they just merged the symbol lists into one or something?01:02:28
@reckenrode:matrix.orgRandy EckenrodeIt was stabilized in macOS 26.01:05:11
@reckenrode:matrix.orgRandy EckenrodeMany of the 26.4 headers do not include arm64-macos in the list of targets.01:05:28
@emilazy:matrix.orgemilybut you can target way back with the macOS 26 SDK, right? 🤔01:05:37
@emilazy:matrix.orgemilymaybe we just need to switch to arm64e01:05:48
@reckenrode:matrix.orgRandy EckenrodeUpstream LLVM doesn’t have all the changes needed to support it. In particular, you need to set the ABI version, which it doesn’t support.01:06:13
@reckenrode:matrix.orgRandy EckenrodeThere’s work in progress to add support, but it’s not something we could use now.01:06:31
@reckenrode:matrix.orgRandy Eckenrode Somehow Xcode’s clang can link against arm64 without its being listed as a target. I don’t know how it’s doing that. Apple hasn’t released updated tapi sources for Xcode 26. I’m trying to see if maybe there are un-upstreamed LLVM TextAPI changes. 01:07:37
@emilazy:matrix.orgemilyI'm wondering if you can just duplicate the arm64e symbols for arm64 and it will all happen to work01:08:38
@reckenrode:matrix.orgRandy EckenrodeProbably, but that will involve doing some post-processing on every tbd file.01:09:02
@reckenrode:matrix.orgRandy EckenrodeAnd not all of them have this issue. libc++.tbd notably does not, which is how I was able to fully bootstrap with the 26.4 libc++ headers and stubs without encountering this issue.01:09:34
@emilazy:matrix.orgemilyjust like old times :)01:09:41
@reckenrode:matrix.orgRandy Eckenrode * And not all of them have this issue. libc++.tbd notably does not, which is how I was able to fully bootstrap with the 26.4 libc++ headers and stubs without encountering this issue. 01:09:43
@reckenrode:matrix.orgRandy EckenrodeI think it’s actually linking the arm64 binaries to the arm64e system libraries.01:26:24
@reckenrode:matrix.orgRandy Eckenrodehttps://github.com/lelegard/arm-cpusysregs/blob/main/docs/arm64e-on-macos.md01:28:17
@reckenrode:matrix.orgRandy EckenrodeIt links with LLD but not with ld64. That’s helpful I guess.02:33:30
@reckenrode:matrix.orgRandy EckenrodeUsing LLD to link file_cmds works as a workaround.02:49:23
@reckenrode:matrix.orgRandy EckenrodeThe only source release left to finish updating is network_cmds. I’ll circle back to the SDK linking issue later.03:12:04
@niklaskorz:matrix.orgniklaskorz Apparently projects are starting to use Xcode 26's actool now to construct the new app icon format compiled to Assets.car, I wonder what we can do to accomodate that in nixpkgs... 08:45:48
@niklaskorz:matrix.orgniklaskorzthe actool in xcbuild does not seem to be able to handle the new icon input format or the car output format08:49:06
@niklaskorz:matrix.orgniklaskorzoh huh we have a python based re-implementation in nixpkgs already08:50:16
@niklaskorz:matrix.orgniklaskorzadded three weeks ago, great timing 😄08:51:42
@niklaskorz:matrix.orgniklaskorzdoesn't seem to support SVGs yet unfortunately, mhm08:52:45

There are no newer messages yet.


Back to Room ListRoom Version: 6