!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

576 Members
128 Servers

Load older messages


SenderMessageTime
5 Jan 2025
@artturin:matrix.orgArtturin Both build on 89019580b73ddd7d4b05fa5f6952a4676538c031 (Changed them to my local master so I don't have to rebuild things) 18:19:15
@rosscomputerguy:matrix.orgTristan RossBoth build?18:19:41
@rosscomputerguy:matrix.orgTristan RossDo you have binfmt?18:19:51
@artturin:matrix.orgArtturinNope18:20:32
@artturin:matrix.orgArtturinAlso I'm on x86_64 linux lol18:20:44
@rosscomputerguy:matrix.orgTristan RossOh lol18:20:49
@rosscomputerguy:matrix.orgTristan RossThat makes this even stranger18:20:57
@rosscomputerguy:matrix.orgTristan RossSo it's only an issue on aarch64 with the local/cross system nixpkgs options then?18:21:24
@artturin:matrix.orgArtturin
$ nix eval --file test.nix drvPath
"/nix/store/0gp81b50wg2bf2dbqswkbhvy21i8x552-X11-fonts.drv"
$ nix eval --file test-fail.nix drvPath
"/nix/store/0gp81b50wg2bf2dbqswkbhvy21i8x552-X11-fonts.drv"
18:24:07
@artturin:matrix.orgArtturinSame for you? 18:25:15
@artturin:matrix.orgArtturin
$ nix build --file test.nix --rebuild
evaluation warning: system.stateVersion is not set, defaulting to 25.05. Read why this matters on https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion.
error: a 'aarch64-linux' with features {} is required to build '/nix/store/0gp81b50wg2bf2dbqswkbhvy21i8x552-X11-fonts.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, ca-derivations, kvm, nixos-test}

I got the drv from cache it seems

18:26:04
@rosscomputerguy:matrix.orgTristan Ross
  1. /nix/store/0gp81b50wg2bf2dbqswkbhvy21i8x552-X11-fonts.drv
  2. /nix/store/1xfdmcvvjc1s57lp4yfq5x5cl9zva9bk-X11-fonts.drv
18:26:06
@artturin:matrix.orgArtturinnix-diff those18:26:17
@rosscomputerguy:matrix.orgTristan Rosshttps://termbin.com/2ipd18:27:01
@rosscomputerguy:matrix.orgTristan RossIf I use the same rev from the 2nd in the 1st one then the 1st fails18:28:33
@rosscomputerguy:matrix.orgTristan RossSo something post 24.11 fixed it18:29:27
@artturin:matrix.orgArtturin https://github.com/nixos/nixpkgs/commit/e9e1d145f6e6da36d743619704aa8e1eed14704b 18:30:00
@artturin:matrix.orgArtturinhahaha18:30:07
@rosscomputerguy:matrix.orgTristan Rosslol18:30:20
@rosscomputerguy:matrix.orgTristan RossI just faceplamed18:30:24
@rosscomputerguy:matrix.orgTristan Ross* I just facepalmed18:30:32
@rosscomputerguy:matrix.orgTristan RossWell that's one problem solved18:32:34
6 Jan 2025
@niklas.foerster:scs.ems.host@niklas.foerster:scs.ems.host changed their display name from Niklas Förster (🌴 bis 03.01.) to Niklas Förster.08:39:35
@asbjorn:olli.ngA2 changed their display name from A2 (☎️ 61777) to A2.16:17:06
@sananatheskenana:matrix.orglzcunt

Hey, when building a gcc cross-compiler for a isStatic target I keep getting this error ```
checking if /build/build/./gcc/xgcc -B/build/build/./gcc/ supports -fno-rtti -fno-exceptions... no
checking for /build/build/./gcc/xgcc -B/build/build/./gcc/ option to produce PIC... -fPIC -DPIC
checking if /build/build/./gcc/xgcc -B/build/build/./gcc/ PIC flag -fPIC -DPIC works... yes
checking if /build/build/./gcc/xgcc -B/build/build/./gcc/ static flag -static works... no
checking if /build/build/./gcc/xgcc -B/build/build/./gcc/ supports -c -o file.o... yes
checking if /build/build/./gcc/xgcc -B/build/build/./gcc/ supports -c -o file.o... (cached) yes
checking whether the /build/build/./gcc/xgcc -B/build/build/./gcc/ linker (/build/build/./gcc/collect-ld) supports shared libraries... yes
checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
make[1]: *** [Makefile:12179: configure-target-libstdc++-v3] Error 1
make[1]: *** Waiting for unfinished jobs....

17:53:53
@sananatheskenana:matrix.orglzcunt * Hey, when building a gcc cross-compiler for a isStatic target I keep getting this error checking if /build/build/./gcc/xgcc -B/build/build/./gcc/ supports -fno-rtti -fno-exceptions... no checking for /build/build/./gcc/xgcc -B/build/build/./gcc/ option to produce PIC... -fPIC -DPIC checking if /build/build/./gcc/xgcc -B/build/build/./gcc/ PIC flag -fPIC -DPIC works... yes checking if /build/build/./gcc/xgcc -B/build/build/./gcc/ static flag -static works... no checking if /build/build/./gcc/xgcc -B/build/build/./gcc/ supports -c -o file.o... yes checking if /build/build/./gcc/xgcc -B/build/build/./gcc/ supports -c -o file.o... (cached) yes checking whether the /build/build/./gcc/xgcc -B/build/build/./gcc/ linker (/build/build/./gcc/collect-ld) supports shared libraries... yes checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC\_NO\_EXECUTABLES. make\[1\]: \*\*\* \[Makefile:12179: configure-target-libstdc++-v3\] Error 1 make\[1\]: \*\*\* Waiting for unfinished jobs.... 17:54:09
@sananatheskenana:matrix.orglzcunt *

Hey, when building a gcc cross-compiler for a isStatic target I keep getting this error ```
checking if /build/build/./gcc/xgcc -B/build/build/./gcc/ supports -fno-rtti -fno-exceptions... no checking for /build/build/./gcc/xgcc -B/build/build/./gcc/ option to produce PIC... -fPIC -DPIC checking if /build/build/./gcc/xgcc -B/build/build/./gcc/ PIC flag -fPIC -DPIC works... yes checking if /build/build/./gcc/xgcc -B/build/build/./gcc/ static flag -static works... no checking if /build/build/./gcc/xgcc -B/build/build/./gcc/ supports -c -o file.o... yes checking if /build/build/./gcc/xgcc -B/build/build/./gcc/ supports -c -o file.o... (cached) yes checking whether the /build/build/./gcc/xgcc -B/build/build/./gcc/ linker (/build/build/./gcc/collect-ld) supports shared libraries... yes checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. make[1]: *** [Makefile:12179: configure-target-libstdc++-v3] Error 1 make[1]: *** Waiting for unfinished jobs....

17:54:23
@sananatheskenana:matrix.orglzcunt *

Hey, when building a gcc cross-compiler for a isStatic target I keep getting this error

checking if /build/build/./gcc/xgcc -B/build/build/./gcc/     supports -fno-rtti -fno-exceptions... no checking for /build/build/./gcc/xgcc -B/build/build/./gcc/     option to produce PIC... -fPIC -DPIC checking if /build/build/./gcc/xgcc -B/build/build/./gcc/     PIC flag -fPIC -DPIC works... yes checking if /build/build/./gcc/xgcc -B/build/build/./gcc/     static flag -static works... no checking if /build/build/./gcc/xgcc -B/build/build/./gcc/     supports -c -o file.o... yes checking if /build/build/./gcc/xgcc -B/build/build/./gcc/     supports -c -o file.o... (cached) yes checking whether the /build/build/./gcc/xgcc -B/build/build/./gcc/     linker (/build/build/./gcc/collect-ld) supports shared libraries... yes checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC\_NO\_EXECUTABLES. make\[1\]: \*\*\* \[Makefile:12179: configure-target-libstdc++-v3\] Error 1 make\[1\]: \*\*\* Waiting for unfinished jobs....
17:54:35
@sananatheskenana:matrix.orglzcunt *

Hey, when building a gcc cross-compiler for a isStatic target I keep getting this error

checking if /build/build/./gcc/xgcc -B/build/build/./gcc/     supports -fno-rtti -fno-exceptions... no
checking for /build/build/./gcc/xgcc -B/build/build/./gcc/     option to produce PIC... -fPIC -DPIC
checking if /build/build/./gcc/xgcc -B/build/build/./gcc/     PIC flag -fPIC -DPIC works... yes
checking if /build/build/./gcc/xgcc -B/build/build/./gcc/     static flag -static works... no
checking if /build/build/./gcc/xgcc -B/build/build/./gcc/     supports -c -o file.o... yeschecking if /build/build/./gcc/xgcc -B/build/build/./gcc/     supports -c -o file.o... (cached) yes checking whether the /build/build/./gcc/xgcc -B/build/build/./gcc/     linker (/build/build/./gcc/collect-ld) supports shared libraries... yes checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC\_NO\_EXECUTABLES. make\[1\]: \*\*\* \[Makefile:12179: configure-target-libstdc++-v3\] Error 1 make\[1\]: \*\*\* Waiting for unfinished jobs....
17:55:24
@sananatheskenana:matrix.orglzcunt *

Hey, when building a gcc cross-compiler for a isStatic target I keep getting this error

checking if /build/build/./gcc/xgcc -B/build/build/./gcc/     supports -fno-rtti -fno-exceptions... no
checking for /build/build/./gcc/xgcc -B/build/build/./gcc/     option to produce PIC... -fPIC -DPIC
checking if /build/build/./gcc/xgcc -B/build/build/./gcc/     PIC flag -fPIC -DPIC works... yes
checking if /build/build/./gcc/xgcc -B/build/build/./gcc/     static flag -static works... no
checking if /build/build/./gcc/xgcc -B/build/build/./gcc/     supports -c -o file.o... yes
checking if /build/build/./gcc/xgcc -B/build/build/./gcc/     supports -c -o file.o... (cached) yes
checking whether the /build/build/./gcc/xgcc -B/build/build/./gcc/     linker (/build/build/./gcc/collect-ld) supports shared libraries... yes
checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC\_NO\_EXECUTABLES.
make\[1\]: \*\*\* \[Makefile:12179: configure-target-libstdc++-v3\] Error 1 make\[1\]: \*\*\* Waiting for unfinished jobs....
17:55:48

Show newer messages


Back to Room ListRoom Version: 6