21 Aug 2021 |
sterni (he/him) | it caught me out once that that actually does native complation | 20:27:45 |
John Ericson | doing --arg crossSystem by hand | 20:27:49 |
sterni (he/him) | makes sense | 20:28:18 |
sterni (he/him) | how did you go about making gcc-unwrapped btw? | 20:32:19 |
John Ericson | sterni (he/him): how did I write it? | 20:47:29 |
John Ericson | looking a bit a exherbo | 20:47:37 |
John Ericson | but the basic idea is same as gcc | 20:47:49 |
John Ericson | *libgcc | 20:48:01 |
John Ericson | have to run the outer configure but just need some sutff | 20:48:09 |
John Ericson | disable all the target libraries, and then all good | 20:48:24 |
sterni (he/him) | ah, was asking since I tried that as well (looking at exherbo), but didn't get that far since seems like nixpkgs specifics still cause a lot of trouble | 20:48:35 |
sterni (he/him) | like the exherbo thing is much simpler in comparison what we'll end up with most likely | 20:48:56 |
John Ericson | the problem ended up being that for some reason include-fixed is being skipped | 20:50:22 |
John Ericson | in GCC | 20:50:23 |
sterni (he/him) | also I immediately recognized my own bad habits (not annotating package descriptions and workarounds with enough comments) in there | 20:50:50 |
John Ericson | libexec/gcc/$config/include-fixed/limits.h is installed both times | 20:50:52 |
sterni (he/him) | I was quite confused by the threaded/non-threaded flag they ahve | 20:51:01 |
John Ericson | *both ways | 20:51:01 |
John Ericson | but only on one default path | 20:51:08 |
sterni (he/him) | were seemingly they install some libgcc target if that is enabled?! | 20:51:17 |
John Ericson | weird | 20:51:56 |
John Ericson | yeah i am sticking to just compiler itself in the compiler build | 20:52:08 |
sterni (he/him) | wait a minute or is it the other way round?
if ! option threads; then
gcc_targets="all-gcc all-target-libgcc"
fi
| 20:54:47 |
John Ericson | oh huh | 20:55:42 |
John Ericson | weird | 20:55:43 |
sterni (he/him) | you haven't pushed your working gcc-ng derivation yet though? | 20:57:49 |
sterni (he/him) | i. e. it currently doesn't compile natively for me | 20:57:59 |
John Ericson | sterni (he/him): I think i did? | 21:51:46 |
John Ericson | for libc in gnu musl; nix-build ~/src/nixpkgs-7 --arg crossSystem "{ config = \"aarch64-unknown-linux-$libc\"; useGccNg = true; }" -A gccNgPackages.libgcc; end works for glibc | 21:53:09 |
John Ericson | if you go to #oftc#gcc:matrix.org you can see my convo | 21:53:24 |