| 21 Aug 2021 |
John Ericson | disable all the target libraries, and then all good | 20:48:24 |
sterni | 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 | 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 | 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 | 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 | 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 | 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 | you haven't pushed your working gcc-ng derivation yet though? | 20:57:49 |
sterni | 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 |
John Ericson | just figured out the musl problem | 21:53:32 |
John Ericson | sterni (he/him): ok pushed the musl fix | 22:18:59 |
John Ericson | both libgcc build now | 22:19:05 |
| sterni changed their display name from sterni (he/him) to sterni[m]. | 22:21:29 |
| sterni changed their display name from sterni[m] to sterni. | 22:21:47 |
sterni | hm okay, I never tried compiling with useGccNg and crossSystem before | 22:25:21 |
| 22 Aug 2021 |
John Ericson | sterni: alexfmpe: OK updated the status on the PR | 05:05:08 |
John Ericson | Now that we are "into the normal libaries" passed libgcc and libc | 05:05:29 |
John Ericson | * Now that we are "into the normal libaries" past libgcc and libc | 05:05:38 |