| 2 Aug 2021 |
Alyssa Ross | what are you intending on running on this, then? | 08:00:13 |
siraben (he/him) | literally just doing it to make it a cross target | 08:04:08 |
siraben (he/him) | same motivation as MMIX | 08:04:14 |
siraben (he/him) | * same motivation as MMIX, at most there's a simulator | 08:04:22 |
Alyssa Ross | hmm, I'm not sure about adding cross targets that don't even have a realistic use case | 08:05:11 |
Alyssa Ross | not because I'm opposed to more cross targets, but just because it's too hard to know whether we've got it right | 08:05:23 |
siraben (he/him) | they don't add load on hydra and encourage build diversity | 08:05:32 |
Alyssa Ross | you don't have to convince me that more cross targets in general are a good thing | 08:05:50 |
siraben (he/him) | ok | 08:06:02 |
siraben (he/him) | Yeah, getting it right is the hard bit | 08:06:06 |
siraben (he/him) | I usually use GNU Hello as "good enough" | 08:06:11 |
Alyssa Ross | but in this case, where there's no software we can even build for this thing, there's no way for us to even test it | 08:06:14 |
Alyssa Ross | so I don't think it really makes sense to have this particular target in Nixpkgs | 08:08:41 |
siraben (he/him) | I see | 08:12:41 |
siraben (he/him) | Closing, then. | 08:12:59 |
Alyssa Ross | If you can figure out some way to test it (e.g. running a cross-compiled hello on an emulator running PDP-11 Unix), then please re-open :) | 08:18:22 |
alexfmpe | John Ericson: any clue why gold is missing from binutils when targeting mingw? | 20:07:45 |
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 (he/him) | pkgsCross.mingwW64.stdenv.cc.bintools.bintools.configureFlags has --enable-gold in the configure flags at the very least | 20:11:38 |
sterni (he/him) | 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 (he/him) | 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 |