!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

576 Members
126 Servers

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


SenderMessageTime
18 Dec 2025
@emilazy:matrix.orgemily gcc-arm-embedded is basically just there because we don't have working stdenvs for its targets, I think. 15:32:21
3 Apr 2026
@charles:computer.surgeryCharles joined the room.20:48:10
18 Dec 2025
@rosssmyth:matrix.org@rosssmyth:matrix.orgyes15:34:15
3 Apr 2026
@charles:computer.surgeryCharles

so i'm looking at building relibc with nixpkgs out-of-tree, and i have it successfully building for x86_64 linux now (no idea if it works though lol). now i'm trying to get cross to x86_64 redox going, but when i do that, i get infinite recursion:

error:
       … while evaluating an expression to select 'drvPath' on it
         at «internal»:1:552:
       … while evaluating strict
         at «internal»:1:552:
       (stack trace truncated; use '--show-trace' to show the full trace)

       error: infinite recursion encountered

       note: trace involved the following derivations:
       derivation 'relibc-static-x86_64-unknown-redox-rolling'
       derivation 'x86_64-unknown-redox-gcc-wrapper-15.2.0'
       derivation 'x86_64-unknown-redox-binutils-wrapper-2.44'

i know that redox has its own binutils implementation(s?) so i'm guessing i need to package and use that to break the cycle?

21:00:06
18 Dec 2025
@rosssmyth:matrix.org@rosssmyth:matrix.orgNixpkg's cross-compilation infra doesn't really work with some targets15:34:38

Show newer messages


Back to Room ListRoom Version: 6