30 Oct 2022 |
pie_ | have you swapped out the stdenv? | 08:01:36 |
| * pie_ tries to check script | 08:01:41 |
Madoura | Yeah, tried with stdenvNoCC | 08:01:50 |
pie_ | thats still gcc isnt it? I honestly have nmo idea | 08:02:03 |
pie_ | I gues it would make sense that it isnt because its called NoCC | 08:02:14 |
Madoura | yeah, it shouldn't have a compiler | 08:02:24 |
pie_ | but yes youre using stdenv in what you linked and im pretty sure that will at least be one of the starting points of the problem | 08:02:43 |
Madoura | Oh it's actually why-depends , okay. | 08:02:53 |
Madoura | I'll try it again as well as check with that nix command. | 08:03:07 |
| * pie_ tries to remember how he helped someone else before with mixed toolchain issues | 08:03:20 |
pie_ | but yeah long story long you need to start sanitizing whatever is going on here | 08:03:38 |
pie_ | Madoura: also https://nixos.wiki/wiki/Using_Clang_instead_of_GCC | 08:04:56 |
Madoura | ah ty | 08:05:03 |
pie_ | how long for the build to error? | 08:05:19 |
Madoura | Assuming gfx1030, should only be around 5-8 minutes with rx 5950x | 08:05:50 |
pie_ | can you disable that while you try to get toolchain stuff fixed? im asuming its computing some sort of models or something on your gpus? | 08:06:17 |
Madoura | has nothing to do with the gpu | 08:07:28 |
pie_ | though technically you can check the toolchain mixing just by looking at the drvs | 08:07:29 |
Madoura | I put it there for rapid testing rather than all, which compiles for all gpus | 08:07:41 |
pie_ | aha | 08:07:50 |
pie_ | so yeah i guess its faster to check if there are still references to gcc (other than libc I guess?) in the closure of the deriation | 08:08:13 |
Madoura | Yup, that's the plan. | 08:08:24 |
pie_ | * so yeah i guess its faster to check if there are still references to gcc (other than libc I guess?) in the closure of the derivation, as opposed to yoloing the builds a few more times | 08:08:27 |
Madoura | https://github.com/NixOS/nixpkgs/blob/3928cfa27d9925f9fbd1d211cf2549f723546a81/pkgs/development/compilers/llvm/rocm/default.nix#L21
https://github.com/NixOS/nixpkgs/blob/3928cfa27d9925f9fbd1d211cf2549f723546a81/pkgs/development/compilers/llvm/rocm/default.nix#L40
| 12:17:52 |
Madoura | I suspect the GCC include is coming here, from llvm. | 12:18:04 |
Madoura | * I suspect the GCC include is coming here, from rocm-llvm. | 12:18:14 |
Madoura | * I suspect the GCC include is here, from rocm-llvm. | 12:19:09 |
pie_ | 0.o | 13:00:39 |
1 Nov 2022 |
| emilytrau joined the room. | 21:43:17 |
3 Nov 2022 |
Madoura | Looks like it's faulty includes. I have rocBLAS correctly compiling though with a patch! | 02:31:50 |