!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

371 Members
89 Servers

Load older messages


SenderMessageTime
4 Jul 2024
@artturin:matrix.orgArtturin pkgsCross.riscv64 is just config = "riscv${bits}-unknown-linux-gnu" https://github.com/NixOS/nixpkgs/blob/ae53ca09fcd5393225192a43513992bc0da82bbc/lib/systems/examples.nix#L124 17:44:48
@toxicfrog:ancilla.caToxicFrog Yeah, which is what I'm using in my expression, so ??????
I have found a difference in the logs between the passing and failing runs; the failure ends with:
the __GI_SCANNER__ constant should only be used with simple #ifdef or #endif: #if defined(G_OS_UNIX) && !defined(G_STDIO_WRAP_ON_UNIX) && !defined(__GI_SCANNER__)
after all the syntax errors
So I think that's the actual error it aborts on
17:47:57
@toxicfrog:ancilla.caToxicFrogContinuing to prune the repro17:51:53
@toxicfrog:ancilla.caToxicFrog Huh.
If I remove the extra ccflags, it starts working.
17:59:04
@toxicfrog:ancilla.caToxicFrog Now testing it with withCFlags " " to see if the problem is the -mtune/-mcpu options, or using replaceCrossStdenv/withCFlags at all 17:59:54
@toxicfrog:ancilla.caToxicFrog Ok, that works. Let's try it with just -mtune and not -mcpu. 18:34:21
@toxicfrog:ancilla.caToxicFrog Ok -- the issue is, specifically, that adding -mcpu=thead-c906 to the CFLAGS causes the build to fail. 19:13:35
5 Jul 2024
@chn:chn.moe陈浩南 joined the room.09:03:33
@wcohen:matrix.orgwcohen joined the room.14:15:57
@nurelin:matrix.org@nurelin:matrix.org left the room.18:35:22
6 Jul 2024
@emiliopeju:matrix.orgEmilio PJ joined the room.13:51:20
7 Jul 2024
@ashley_:matrix.orgAshley changed their profile picture.11:22:54
@wilhelmvon:matrix.org@wilhelmvon:matrix.org left the room.18:36:31
9 Jul 2024
@sbc64:matrix.orgsbc64 joined the room.16:48:36
10 Jul 2024
@toxicfrog:ancilla.caToxicFrog changed their display name from toxicfrog ⚡️ to ToxicFrog.00:23:44
@oak:universumi.fioak changed their profile picture.20:21:24
11 Jul 2024
@myrkskog:matrix.orgmyrkskog joined the room.03:17:02
@k900:0upti.meK900https://www.kdab.com/using-nix-as-a-yocto-alternative/09:03:24
@k900:0upti.meK900KDAB is now complaining about Qt6 cross :(09:03:32
@echobc:matrix.org@echobc:matrix.org joined the room.15:21:29
@mjolnir:nixos.orgNixOS Moderation Bot banned @echobc:matrix.org@echobc:matrix.org (<no reason supplied>).15:21:29
12 Jul 2024
@wirew0rm:matrix.orgAlexander KrimmWhat is the complaint? I read the article and to me it sounds overall very nix-positive?00:17:11
@valconius:matrix.org@valconius:matrix.org left the room.01:16:02
@k900:0upti.meK900Well they had to do cursed hacks to get it to even build 05:18:14
15 Jul 2024
@oak:universumi.fioak changed their profile picture.03:16:34
12 Jul 2024
@toxicfrog:ancilla.caToxicFrogIf what they're doing there with cmakeFlags counts as "cursed" then what I am doing18:50:12
16 Jul 2024
@will4:matrix.orgwill joined the room.04:51:28
@dramforever:matrix.orgdramforever joined the room.07:34:37
@marius851000:mariusdavid.frMarius changed their display name from Burrito (Marius) to Marius.12:27:50
18 Jul 2024
@tewi:queer.cattewi 🏳️‍⚧️ joined the room.00:23:48

There are no newer messages yet.


Back to Room ListRoom Version: 6