Nix Cross Compiling | 577 Members | |
| 129 Servers |
| Sender | Message | Time |
|---|---|---|
| 3 Jan 2025 | ||
1 buildPackages instead of 2 for python3 because it's used directly and not in nativeBuildInputsand __splicedPackages in case it's used in a dependency attribute in the future. | 16:54:25 | |
| ah testing it rn | 16:54:48 | |
| 16:55:26 | |
yep that happened to me too when I tried buildPackages.buildPackages.meson | 16:55:53 | |
| no wait this is different to the error that I saw when this happened | 16:56:46 | |
| * no wait this is different to the error that I saw when that happened | 16:57:15 | |
| * no wait this is different to the error that I saw when I tried that | 16:57:21 | |
| 16:58:13 | |
| No g++ there or bintools | 16:58:30 | |
| * No g++ there or cc.bintools | 16:58:35 | |
| * No g++ there or .cc.bintools | 16:58:40 | |
the underlying cc .cc.cc` doesn't have g++ and some other tools that native .cc.cc has | 16:59:55 | |
* the unwrapped cc .cc.cc` doesn't have g++ and some other tools that native .cc.cc has | 17:00:03 | |
| then gcc is not built with --enable-languages=c++? | 17:02:51 | |
| tbh I didn't expect it to go this far, there's gcc patches needed | 17:03:21 | |
| Should be but
| 17:04:31 | |
*
Should be but
| 17:04:42 | |
--enable-languages=c\,c++ nix log ".#stdenv.cc.cc" | 17:05:03 | |
* --enable-languages=c\,c++ in nix log ".#stdenv.cc.cc" | 17:05:08 | |
| https://github.com/NixOS/nixpkgs/blob/8adbfd92518a59f18a8216c4b13a11cedc16abf0/pkgs/development/compilers/gcc/common/configure-flags.nix#L167 | 17:05:48 | |
The configure flags: in the log is printed by configurePhase and not gcc's buildSystem | 17:06:29 | |
* The configure flags: in the log is printed by configurePhase and not gcc's build system | 17:06:34 | |
* The configure flags: in the log is printed by our configurePhase and not gcc's build system | 17:06:40 | |
| I just ran this and it didn't have c++ | 17:07:05 | |
| hmm just maybe, the stdenvNoLibc gcc does not have c++ (I haven't looked into this yet because my internet is slow lol) | 17:07:27 | |
| no it would have c++ because mlibc does compile when not cross compiling | 17:07:52 | |
| 17:11:14 | |
| huh | 17:11:15 | |
| yep stdenvNoLibc has c++ when not cross compiling and doesn't have c++ when cross compiling | 17:12:01 | |
| I have a theory | 17:12:04 | |