Sender | Message | Time |
---|---|---|
21 Mar 2024 | ||
NixOS Moderation Botchanged room power levels. | 18:03:11 | |
@grahamc:nixos.org left the room. | 20:07:49 | |
cleverca22 | In reply to @trofi:matrix.orghttps://github.com/cleverca22/nixpkgs/tree/vc4-fixup time nix-build -A gcc-vc4-unwrapped | 21:39:17 |
trofi | Aha, a few notes:
The following was enough for me to get a C compiler that can produce assembly:
Example code: https://bpa.st/raw/L7PQ | 22:10:38 |
cleverca22 | i try to wait on adding enableParallelBuilding until the build succeeds without it, since it can sometimes break things | 22:22:47 |
cleverca22 | trofi: https://github.com/librerpi/lk-overlay/blob/master/default.nix#L5-L8 this commit of nixpkgs, was able to do both c and c++ with pkgsCross.vc4 | 22:24:26 |
cleverca22 | so fixing c++ would still be on the todo list | 22:24:48 |
cleverca22 | testing your above patch out now... | 22:26:18 |
cleverca22 |
| 22:27:13 |
cleverca22 | ah yep, and i see that in setup.sh | 22:27:17 |
cleverca22 | which was set by the default gcc | 22:27:35 |
cleverca22 | it does build with your above patch, trying some other things... | 22:32:34 |
cleverca22 | --with-headers=/nix/store/3x2ill45fc0x7dkbpkk9jcv0vwjz3gpw-newlib-vc4-elf/vc4-elf/include | 22:37:58 |
cleverca22 | and your hint also led here, this was in the nix log for the final gcc, in the nixpkgs that worked | 22:38:16 |
cleverca22 | so, i need to use this first gcc to build newlib, then rebuild gcc with the above flag | 22:38:45 |
cleverca22 | that should fix c++ | 22:38:49 |
trofi | yeaр | 22:51:47 |
trofi | * yeah | 22:52:03 |
cleverca22 | that also explains why it was doing a 2 stage build before | 22:52:41 |
22 Mar 2024 | ||
mrene joined the room. | 00:44:18 | |
hmenke joined the room. | 08:02:31 | |
hmenke | I'm trying to build a static executable of difftastic, but it fails at the linking step. What gives? Any hints on how to fix errors like these?
| 08:02:55 |
hakmark joined the room. | 11:03:33 | |
abathur joined the room. | 18:43:03 | |
23 Mar 2024 | ||
SomeoneSerge (migrating synapse) changed their display name from SomeoneSerge (hash-versioned python modules when) to SomeoneSerge (migrating synapse). | 02:11:09 | |
24 Mar 2024 | ||
belak joined the room. | 18:24:53 | |
25 Mar 2024 | ||
tpw_rules | this is currently breaking cross-compiling a system: https://github.com/NixOS/nixpkgs/pull/298001 | 00:17:51 |
ships joined the room. | 03:36:28 | |
26 Mar 2024 | ||
Jack changed their profile picture. | 19:05:52 | |
27 Mar 2024 | ||
linj joined the room. | 08:47:52 |