!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

563 Members
118 Servers

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


SenderMessageTime
15 Sep 2025
@siraben:matrix.orgsirabencurious, did we ever get cosmopolitan libc off into some sort of cross?15:51:42
@siraben:matrix.orgsirabenthey are on version 4.0.2 now but we are on 2.215:53:06
@siraben:matrix.orgsirabenwill attempt an update and see how nontrivial it is15:53:57
@siraben:matrix.orgsirabenhttps://github.com/jart/cosmopolitan/releases/tag/4.0.215:54:35
@siraben:matrix.orgsirabentheir release notes say bash, emacs, vim, git, links, wget work15:54:47
@siraben:matrix.orgsirabenhttps://github.com/NixOS/nixpkgs/issues/381557 cosmoccStdenv proposal15:56:20
@emilazy:matrix.orgemilyAIUI it requires fairly substantial patching of software16:00:53
@emilazy:matrix.orgemilywhich isn't something we'd want to carry in-tree16:00:57
@siraben:matrix.orgsirabenah, if so, bummer16:09:26
@matthewcroughan:defenestrate.itmatthewcroughan @fosdem joined the room.19:06:28
@matthewcroughan:defenestrate.itmatthewcroughan @fosdem

I'm pretty close to producing an LLVM/Musl system, but I get

compat-netbsd-aarch64-unknown-linux-musl> --- md2.po ---
compat-netbsd-aarch64-unknown-linux-musl> aarch64-unknown-linux-musl-objcopy: error: 'md2.po': not stripping symbol '.L.str.1' because it is named in a relocation
19:06:48
@matthewcroughan:defenestrate.itmatthewcroughan @fosdem nix build nixpkgs#pkgsLLVM.pkgsMusl.netbsd.compat -L works though 🤨 19:08:56
@rosscomputerguy:matrix.orgTristan Ross Do a nix-diff between the two drv files of pkgsLLVM.pkgsMusl.netbsd.compat as the base and what you're trying to build as the other. 19:24:18
@rosscomputerguy:matrix.orgTristan RossIf you've configured cross correctly, they'll be the same.19:24:32
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemIs there no easy way to configure cross identically to `pkgsMusl?19:25:39
@matthewcroughan:defenestrate.itmatthewcroughan @fosdem * Is there no easy way to configure cross identically to pkgsMusl? 19:25:43
@rosscomputerguy:matrix.orgTristan RossThere is19:25:52
@rosscomputerguy:matrix.orgTristan Ross Your localSystem needs to be the standard GNU triple 19:26:13

Show newer messages


Back to Room ListRoom Version: 6