!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

580 Members
129 Servers

Load older messages


SenderMessageTime
9 Jan 2026
@opna2608:matrix.orgPunahttps://github.com/gcc-mirror/gcc/blob/9a2402ad31db7507cb63905a8d98ce81769d9835/gcc/config/loongarch/loongarch-c.cc#L50-L5612:13:18
@alexfmpe:matrix.orgalexfmpeso in this case GHC? or the c compiler?12:13:19
@opna2608:matrix.orgPunawell, whichever compiler is processing that file ig12:13:45
@alexfmpe:matrix.orgalexfmpehmm the actual failing command seems to be gcc12:15:39
@alexfmpe:matrix.orgalexfmpeoh wait a second it does hit the line 39 error12:37:06
@alexfmpe:matrix.orgalexfmpeboth errors show up actually12:37:19
@alexfmpe:matrix.orgalexfmpeso maybe ghc isn't configuring gcc properly for loongarch?12:37:33
11 Jan 2026
@ivank:matrix.orgivan joined the room.01:44:54
@lukas:matrix.landgraf.freeddns.orglukas joined the room.03:02:23
@9hp71n:matrix.orgghpzin changed their display name from ghpzin (moved to @ghpzin:envs.net) to ghpzin.15:04:40
@ghpzin:envs.net@ghpzin:envs.net left the room.16:21:10
12 Jan 2026
@grand_master_programmer:matrix.orgjimmie joined the room.08:05:53
@grand_master_programmer:matrix.orgjimmie set a profile picture.08:12:16
@grand_master_programmer:matrix.orgjimmie changed their display name from zigzen to jimmie.08:12:34
@jappie:jappie.devjappie joined the room.17:28:20
13 Jan 2026
@jopejoe1:matrix.orgjopejoe1 (4094@epvpn) changed their display name from jopejoe1 (4094@39c3) to jopejoe1 (4094@epvpn).08:24:56
14 Jan 2026
@bpub:matrix.orgBPub changed their display name from Robert to BPub.18:49:26
16 Jan 2026
@keiwop:matrix.orgkeiwop joined the room.12:43:55
@neobrain:matrix.orgneobrain joined the room.13:41:20
17 Jan 2026
@theo-paris:matrix.orgTheo ParisIs there a reason nixpkgs only has cctools for darwin, and not linux hosts? I need cctools-port to be able to cross compile pongoOS 🙃22:35:53
@theo-paris:matrix.orgTheo Paris* Is there a reason nixpkgs only has cctools for darwin, and not linux hosts? I need cctools-port to be able to cross compile pongoOS 🙃 Attempting to build it with --impure results in missing macos headers22:36:37
@emilazy:matrix.orgemily Darwin cross doesn't work in general right now. our ld64 patch set is incompatible with cctools-port and the latter was lagging far behind at the time we switched to our patches 22:38:24
@emilazy:matrix.orgemily IIRC cctools-port patches are kind of crufty in various ways too. 22:39:13
18 Jan 2026
@reckenrode:matrix.orgRandy Eckenrodecctools-port doesn’t support LTO and does code signing in a weird way.19:55:24
@reckenrode:matrix.orgRandy Eckenrode(Or, rather, LTO is broken.)19:55:34
@reckenrode:matrix.orgRandy Eckenrode We patch libcodedirectory to support the missing functionality. They exec sigtool, which is awful. 19:56:15
@reckenrode:matrix.orgRandy Eckenrode The expectation in tools is that a binary linked and signed automatically by a linker will have the linker-signed flag set. That causes them to update the signature after processing them (e.g., by strip and install_name_tool). 19:57:01
@reckenrode:matrix.orgRandy Eckenrode sigtool doesn’t set the flag and is effectively unmaintained, so it probably never will. 19:57:18
@reckenrode:matrix.orgRandy EckenrodeAfter Swift, I plan to switch Darwin to use LLD, so cross-compilation should be easier.19:57:49
@reckenrode:matrix.orgRandy Eckenrode * 19:57:58

Show newer messages


Back to Room ListRoom Version: 6