!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

581 Members
127 Servers

Load older messages


SenderMessageTime
2 Aug 2021
@Ericson2314:matrix.orgJohn EricsonIt probably just didn't support it20:10:22
@Ericson2314:matrix.orgJohn EricsonBut I don't know20:10:25
@Ericson2314:matrix.orgJohn EricsonIt should be fine for neo20:10:30
@Ericson2314:matrix.orgJohn Ericson*now20:10:33
@sternenseemann:systemli.orgsterni pkgsCross.mingwW64.stdenv.cc.bintools.bintools.configureFlags has --enable-gold in the configure flags at the very least 20:11:38
@sternenseemann:systemli.orgsterniso I guess one needs to check the build output of bintools for that target to figure out what is going on20:11:54
@alexfmpe:matrix.orgalexfmpe
> 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:matrix.orgalexfmpeno gold anywhere somehow20:13:10
@alexfmpe:matrix.orgalexfmpe
> 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:matrix.orgalexfmpe dwp seems to also not exist in the mingwW64-targetting one 20:14:03
@alexfmpe:matrix.orgalexfmpe where's stuff like x86_64-w64-mingw32-dlltool coming from? 20:14:32
@sternenseemann:systemli.orgsternihm this is the build log for it but quick ctrl+f shows nothing interesting https://hydra.nixos.org/build/148559396/nixlog/120:16:52
@Ericson2314:matrix.orgJohn Ericson alexfmpe: gold probably just doesn't support PE (portable executable) as opposed to ELF which linux uses 20:41:07
@ius:nltrix.netius 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:nltrix.netiusHaving 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
@qyliss:fairydust.spaceAlyssa Rossor help me with BSD07:04:11
@mic92:nixos.devMic92I use not-os when I need something with less dependencies.10:53:04
@mic92:nixos.devMic92The thing is debian also depends on perl and systemd for the most part but is still smaller in size.10:54:09
@sternenseemann:systemli.orgsterni John Ericson: the Platform.linker refactor has made pkgsLLVM use bfd and it has taken me till now to notice lol 18:01:26
@sternenseemann:systemli.orgsternishows how inactive I was on that front, I guess…18:01:36
@sternenseemann:systemli.orgsternieasy to fix though18:01:49
@qyliss:fairydust.spaceAlyssa Rossoh that explains some things18:46:41
@sternenseemann:systemli.orgsterniohhhh right18:46:53
@qyliss:fairydust.spaceAlyssa Ross:)18:47:29
@sternenseemann:systemli.orgsternihttps://github.com/NixOS/nixpkgs/pull/13257118:47:35
@qyliss:fairydust.spaceAlyssa Rosslet's see if that resolves my problem18:48:05
@sternenseemann:systemli.orgsternifor boost this was giving me strange failures, like mixing ld.bfd libgcc and compiler-rt resulted in crti.o not being found18:49:25
@qyliss:fairydust.spaceAlyssa Rossyeah I was getting similar with grpc I think18:49:44
@qyliss:fairydust.spaceAlyssa Rossor re2?18:50:06
@qyliss:fairydust.spaceAlyssa Rosssomething like that18:50:13

Show newer messages


Back to Room ListRoom Version: 6