!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

583 Members
126 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
30 Nov 2025
@reckenrode:matrix.orgRandy EckenrodeSomewhat longer term, I want to rewrite at least some parts of ld64 in Swift. It does a lot of pointer fiddling and other unsafe stuff. There was a ton of UB fixed a release or two ago.22:17:10
@reckenrode:matrix.orgRandy EckenrodeI wanted to work on making it build on Linux at some point even without that, but there are other priorities like Swift.22:19:52
@reckenrode:matrix.orgRandy EckenrodeWhen I resync with upstream, I’ll incorporate any patches people have submitted to nixpkgs to fix the build.22:20:06
@bake.monorail:matrix.orgbake.monorail I just managed to get ld64 from cctools-port to build. What's wrong with that? 22:23:03
@bake.monorail:matrix.orgbake.monorail libtapi doesn't look like great code either, but I'd avoid frontloading rewriting code in order to be able to cross-compile for macOS. 22:26:56
1 Dec 2025
@matthewcroughan:defenestrate.itmatthewcroughan changed their profile picture.14:57:37
@reckenrode:matrix.orgRandy Eckenrode

LTO doesn’t work, and it uses sigtool for signing. sigtool doesn’t set the linker-signed flag, which causes tools like strip to break binaries because their aren’t updated. That flag makes them update automatically.

It also historically lagged behind Apple’s releases, but I think they got better about that.

15:56:23
@reckenrode:matrix.orgRandy EckenrodeDarwin used to use cctools-port, but it moved away from it due to the LTO and update issue. The code-signing problem was discovered later.15:57:18

Show newer messages


Back to Room ListRoom Version: 6