<shlevy>
Never mind, turns out what I want just isn't possible :(
<shlevy>
dtz: around?
mbrgm has quit [Ping timeout: 248 seconds]
mbrgm has joined #nixos-dev
<lopsided98>
I figured out the problem with the kernel cross compilation
<lopsided98>
The 'overrideCC' in the kernel derivation is using host gcc7, so it tries to cross-compile gcc (not build a cross compiler), which doesn't work (and is also incrrect behavior)
<shlevy>
Ouch :(
<shlevy>
lopsided98: Does it work if you switch it to targetPackages.gcc7? Is that the right one to use even? :D
<shlevy>
Or maybe it's buildPackages.gcc7... Not actually sure
<lopsided98>
buildPackages.gcc7 fixes it
<shlevy>
OK, can you open a PR for that?
<shlevy>
Or just push if you have commit bit
<shlevy>
I'd like to ping Sonarpulse to see if that's the right way to do it
<hl>
Fairly sure that's still an actual problem if you want to cross-compile a non-cross gcc for AArch64, but the fact that trying to compile Linux was trying to compile a non-cross AArch64 gcc in the first place made no sense.
<hl>
Nice, with that fix Linux seems to be successfully cross-compiling for AArch64.l
pie_ has joined #nixos-dev
zarel has joined #nixos-dev
pie_ has quit [Ping timeout: 240 seconds]
alunduil has quit [Quit: leaving]
alunduil has joined #nixos-dev
orivej has joined #nixos-dev
pie_ has joined #nixos-dev
<dtz>
awesome! all our compilers are a bit "confused" in a cross setting, would be interested in any efforts towards fixing this
<dtz>
all the compilers not built as part of the cross stdenv, I mean
clhodapp has joined #nixos-dev
zarel has quit [Quit: Leaving]
clhodapp has quit [Quit: Page closed]
<shlevy>
niksnut: ikwildrpepper: ping
cransom has quit [Quit: WeeChat 2.0]
cransom has joined #nixos-dev
<shlevy>
Can I get permission to upload stuff to tarballs.nixos.org?
<shlevy>
Building a native riscv64 stdenv bootstrab