| 2 Aug 2021 |
John Ericson | It probably just didn't support it | 20:10:22 |
John Ericson | But I don't know | 20:10:25 |
John Ericson | It should be fine for neo | 20:10:30 |
John Ericson | *now | 20:10:33 |
sterni | pkgsCross.mingwW64.stdenv.cc.bintools.bintools.configureFlags has --enable-gold in the configure flags at the very least | 20:11:38 |
sterni | so I guess one needs to check the build output of bintools for that target to figure out what is going on | 20:11:54 |
alexfmpe | > ls $(nix-build -A pkgsCross.mingwW64.stdenv.cc.bintools.bintools)/bin
x86_64-w64-mingw32-addr2line x86_64-w64-mingw32-c++filt x86_64-w64-mingw32-elfedit x86_64-w64-mingw32-ld.bfd x86_64-w64-mingw32-objdump x86_64-w64-mingw32-size x86_64-w64-mingw32-windmc
x86_64-w64-mingw32-ar x86_64-w64-mingw32-dlltool x86_64-w64-mingw32-gprof x86_64-w64-mingw32-nm x86_64-w64-mingw32-ranlib x86_64-w64-mingw32-strings x86_64-w64-mingw32-windres
x86_64-w64-mingw32-as x86_64-w64-mingw32-dllwrap x86_64-w64-mingw32-ld x86_64-w64-mingw32-objcopy x86_64-w64-mingw32-readelf x86_64-w64-mingw32-strip
| 20:12:58 |
alexfmpe | no gold anywhere somehow | 20:13:10 |
alexfmpe | > ls $(nix-build -A pkgs.stdenv.cc.bintools.bintools)/bin
addr2line ar as c++filt dwp elfedit gprof ld ld.bfd ld.gold nm objcopy objdump ranlib readelf size strings strip
| 20:13:29 |
alexfmpe | dwp seems to also not exist in the mingwW64-targetting one | 20:14:03 |
alexfmpe | where's stuff like x86_64-w64-mingw32-dlltool coming from? | 20:14:32 |
sterni | hm this is the build log for it but quick ctrl+f shows nothing interesting https://hydra.nixos.org/build/148559396/nixlog/1 | 20:16:52 |
John Ericson | alexfmpe: gold probably just doesn't support PE (portable executable) as opposed to ELF which linux uses | 20:41:07 |
ius | siraben: Consider RiscV/Power(PC)/MIPS if you're looking for something which can actually run on hardware. Plenty of issues to solve once you go a step further than just building a cross toolchain. | 21:39:39 |
ius | Having toyed around with PowerPC over the past few days I can say there are plenty of rabbit holes to dig yourself into. Surprised to see uImage generation is (was, soon) broken for months. Hard to get something to build with a reasonable closure size for embedded targets though.. (systemd is a bit.. ..feature rich and there's an unfortunate perl dependency lurking in the shadows) | 21:48:35 |
| 3 Aug 2021 |
Alyssa Ross | or help me with BSD | 07:04:11 |
Mic92 | I use not-os when I need something with less dependencies. | 10:53:04 |
Mic92 | The thing is debian also depends on perl and systemd for the most part but is still smaller in size. | 10:54:09 |
sterni | John Ericson: the Platform.linker refactor has made pkgsLLVM use bfd and it has taken me till now to notice lol | 18:01:26 |
sterni | shows how inactive I was on that front, I guess… | 18:01:36 |
sterni | easy to fix though | 18:01:49 |
Alyssa Ross | oh that explains some things | 18:46:41 |
sterni | ohhhh right | 18:46:53 |
Alyssa Ross | :) | 18:47:29 |
sterni | https://github.com/NixOS/nixpkgs/pull/132571 | 18:47:35 |
Alyssa Ross | let's see if that resolves my problem | 18:48:05 |
sterni | for boost this was giving me strange failures, like mixing ld.bfd libgcc and compiler-rt resulted in crti.o not being found | 18:49:25 |
Alyssa Ross | yeah I was getting similar with grpc I think | 18:49:44 |
Alyssa Ross | or re2? | 18:50:06 |
Alyssa Ross | something like that | 18:50:13 |