!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

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

Load older messages


SenderMessageTime
17 Sep 2025
@reckenrode:matrix.orgRandy EckenrodeTime to update Xcode to see what versions of things it has.01:49:46
@reckenrode:matrix.orgRandy EckenrodeIs there a 15.6 SDK?01:52:18
@emilazy:matrix.orgemilynot some days ago when I did the update at least01:52:47
@emilazy:matrix.orgemilyiirc libc++ is 20.* in 26 SDK01:52:56
@reckenrode:matrix.orgRandy Eckenrodehttps://github.com/apple-oss-distributions/webdavfs/commit/77cce7d78f880b4f005ba37fdc03958b88d55c9e01:53:56
@reckenrode:matrix.orgRandy Eckenrodelol?01:53:57
@emilazy:matrix.orgemilybtw https://github.com/NixOS/nixpkgs/pull/44331401:55:19
@emilazy:matrix.orgemilyone of the few LLVM 21 things left I think01:55:51
@emilazy:matrix.orgemilymost stuff has been merged by now01:56:02
@reckenrode:matrix.orgRandy EckenrodeI saw that. I figured since it was sourced from my branch, I’m probably not the right person to review.01:56:04
@emilazy:matrix.orgemilytechnically I changed it 😆01:56:12
@reckenrode:matrix.orgRandy Eckenrode

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld-classic -v
@(#)PROGRAM:ld-classic  PROJECT:ld64-956.6
BUILD 16:28:55 Aug 11 2025
configured to support archs:  armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em armv8m.main armv8.1m.main
LTO support using: LLVM version 17.0.0 (static support for 29, runtime is 29)
TAPI support using: Apple TAPI version 17.0.0 (tapi-1700.3.8)
01:57:36
@emilazy:matrix.orgemilydropped LLVM 17 before Apple01:58:07
@reckenrode:matrix.orgRandy EckenrodeApple is still updating ld64. I thought it was supposed to be removed?01:58:26
@reckenrode:matrix.orgRandy Eckenrode
$ clang ~/Developer/test.c -arch arm64e -o test
$ file test
test: Mach-O 64-bit executable arm64e
$ ./test
3
$ cat test.c
#include <stdio.h>

int main() {
        printf("%lu\n", sizeof(int));
}
02:00:28
@reckenrode:matrix.orgRandy EckenrodeIs the arm64e ABI finally stable? I’m on macOS 26.0 with SIP enabled.02:00:48
@reckenrode:matrix.orgRandy Eckenrode
$ clang --version
Apple clang version 17.0.0 (clang-1700.3.19.1)
Target: arm64-apple-darwin25.0.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
02:01:21
@reckenrode:matrix.orgRandy EckenrodeThe Clang version really doesn’t make sense anymore.02:01:29
@reckenrode:matrix.orgRandy Eckenrode
$ file test
test: Mach-O 64-bit arm64e (caps: PAC01) executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|PIE>
02:07:23
@reckenrode:matrix.orgRandy Eckenrode
$ file test2
test2: Mach-O 64-bit arm64e 00) executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|PIE>
02:07:36
@reckenrode:matrix.orgRandy Eckenrode test2 was compiled with LLVM 19 from nixpkgs. It seems there is a new, stable arm64e ABI. 02:07:53
@reckenrode:matrix.orgRandy Eckenrodehttps://github.com/llvm/llvm-project/pull/10465002:08:22
@reckenrode:matrix.orgRandy EckenrodeFrom what I can tell, Apple hasn’t yet upstreamed the v1 ABI yet.02:16:41
@samasaur:matrix.orgsamasaurI'm pretty sure this would not work. From what I remember when I was messing around with nix-built Swift packages, the SDKs need to match or all libraries from the SDK give you an error about being built with a different version of Swift02:17:39
@reckenrode:matrix.orgRandy EckenrodeThey give you that error, but the real error is usually something else.02:18:43
@reckenrode:matrix.orgRandy EckenrodeBut right now, just getting my branch updated again and splitting things up is my priority.02:19:24
@samasaur:matrix.orgsamasaurThis is ideally true though I remember back when Swift 5 running the Swift 4.2 language mode did not exhibit the same behavior as Swift 4.2 itself (or maybe it was 4.2 emulating 4 vs 4 itself? it's been a while)02:19:52
@reckenrode:matrix.orgRandy EckenrodeApple only ships Swift 6.x. They don’t ship a Swift 5 compiler.02:20:17
@samasaur:matrix.orgsamasaursure, and I'm not even against going from 5 to 6. I just mean that the language mode solution has not been perfect in the past02:21:06
@reckenrode:matrix.orgRandy EckenrodeI believe there are some things available to Swift 5 code, but the breaking language features require switching your modules to Swift 6.02:21:14

Show newer messages


Back to Room ListRoom Version: 6