!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

575 Members
127 Servers

Load older messages


SenderMessageTime
14 Jul 2025
@artturin:matrix.orgArtturinIn what way?21:07:32
@artturin:matrix.orgArtturinIn the way that it doesn't override the libc selection in systems/default.nix?21:07:47
@artturin:matrix.orgArtturinOr just a build issue 21:07:53
@sananatheskenana:matrix.orglzcuntI'm trying to get a blame 1 minute21:13:12
@sananatheskenana:matrix.orglzcunthttps://github.com/NixOS/nixpkgs/blob/0455292066a49d3670dd7709ee82deb5531aa3c4/pkgs/top-level/all-packages.nix#L8188 this wasn't updated in 5c1955ff1404eddf3c0379a0573aabe83ac5bca3 (libcCross: Remove!)21:21:31
@sananatheskenana:matrix.orglzcuntbut even if it was, setting anything other than null would throw21:21:51
@sananatheskenana:matrix.orglzcunt and gcc can't target something with libc = null; because it uses the libc name in the include dir path 21:24:20
@sananatheskenana:matrix.orglzcuntbasically in several places nixpkgs pretty much requires newlib for freestanding targets21:25:17
@sananatheskenana:matrix.orglzcunt* basically in several places nixpkgs pretty much requires newlib (or another libc) for freestanding targets21:25:24
@sananatheskenana:matrix.orglzcunti guess i should make gcc deal with libc = null;21:26:44
@sananatheskenana:matrix.orglzcuntcuz that's the best way to encode "no libc not even newlib"21:26:57
@rosscomputerguy:matrix.orgTristan RossThat's the preferred way21:28:31
@rosscomputerguy:matrix.orgTristan RossNull means not specificed or unsupported21:28:48
@sananatheskenana:matrix.orglzcuntexpect a fix tomorrow then21:29:25
@sananatheskenana:matrix.orglzcuntfor this too21:29:34
15 Jul 2025
@sananatheskenana:matrix.orglzcunthttps://github.com/NixOS/nixpkgs/pull/425376 is ready and fixes my issues11:29:03
16 Jul 2025
@quadradical:federated.nexusQuadRadical (Ping) btw @Alyssa Ross, are you planning on rebasing https://github.com/NixOS/nixpkgs/pull/196333? 01:46:04
@qyliss:fairydust.spaceAlyssa RossIt's in progress but testing it takes quite a lot of builds.06:36:34
@quadradical:federated.nexusQuadRadical (Ping) right, but cant you rebase it and then multiple people can test? 13:34:01
18 Jul 2025
@quadradical:federated.nexusQuadRadical (Ping)Any idea what I should try to fix it?19:13:45
@quadradical:federated.nexusQuadRadical (Ping) oh you said depsBuildBuild = [pkg-config lvm2]; before sorry i missed that 19:14:30
@quadradical:federated.nexusQuadRadical (Ping)sadly there is no difference with that19:23:48
@quadradical:federated.nexusQuadRadical (Ping) still this:
       >   = note: some arguments are omitted. use `--verbose` to show all linker arguments
       >   = note: /nix/store/lg4hb0n4z18dfyi7jwrmrkw2dvc4fig8-binutils-2.44/bin/ld: skipping incompatible /nix/store/6fkll672b41pqdfcgkxk9kdgj7gf9myh-lvm2-aarch64-unknown-linux-gnu-2.03.32-lib/lib/libdevmapper.so when searching for -ldevmapper
       >           /nix/store/lg4hb0n4z18dfyi7jwrmrkw2dvc4fig8-binutils-2.44/bin/ld: cannot find -ldevmapper: No such file or directory
       >           /nix/store/lg4hb0n4z18dfyi7jwrmrkw2dvc4fig8-binutils-2.44/bin/ld: skipping incompatible /nix/store/6fkll672b41pqdfcgkxk9kdgj7gf9myh-lvm2-aarch64-unknown-linux-gnu-2.03.32-lib/lib/libdevmapper.so when searching for -ldevmapper
       >           collect2: error: ld returned 1 exit status
19:24:08
@emilazy:matrix.orgemilyis that on top of Alyssa's rebased branch? can you share the whole expression?20:09:24
@emilazy:matrix.orgemily Alyssa Ross: I think you should be able to drop the ALLOW_CROSS thing we set somewhere too btw 20:13:14
@qyliss:fairydust.spaceAlyssa RossOh okay I'll look tomorrow (comment on the PR so I don't forget?)20:13:45
@emilazy:matrix.orgemilysure20:14:03
@emilazy:matrix.orgemilyleft a comment20:16:32
@quadradical:federated.nexusQuadRadical (Ping) Yep. Sorry, what is an expression, is that the response from the nix build? 20:21:49
@emilazy:matrix.orgemilythe patched package20:24:10

Show newer messages


Back to Room ListRoom Version: 6