!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

580 Members
129 Servers

Load older messages


SenderMessageTime
3 Aug 2021
@sternenseemann:systemli.orgsterniah, that's annoying18:52:02
@qyliss:fairydust.spaceAlyssa Ross(prior to yesterday it just didn't cross-compile)18:52:21
@qyliss:fairydust.spaceAlyssa Rossspecifically I have to build glibc grpc, glibc protobuf, llvm protobuf, then llvm grpc, one at a time18:53:09
@yuka:yuka.devYuka (she/her) joined the room.18:53:24
@sternenseemann:systemli.orgsternioh no haha18:53:33
@qyliss:fairydust.spaceAlyssa Rosswhy does using bfd with clang break things anyway?18:53:52
@yuka:yuka.devYuka (she/her)Not sure who to tag for a musl fix, maybe someone here? https://github.com/NixOS/nixpkgs/pull/13257318:54:17
@qyliss:fairydust.spaceAlyssa Rosssternenseemann: oh, I think it's also sad because LLVM 7 is too old18:54:49
@qyliss:fairydust.spaceAlyssa RossCan I get a pkgsLLVM11?18:54:57
@qyliss:fairydust.spaceAlyssa Ross(I guess I just need to overlay for that?)18:55:07
@sternenseemann:systemli.orgsterni Alyssa Ross: having an overlay that sets llvmPackages = llvmPackages_11 works, if you have time to compile llvm… 18:56:09
@qyliss:fairydust.spaceAlyssa Rosswhat on earth is going on with the llvmPackages definition in all-packages.nix18:56:10
@sternenseemann:systemli.orgsterniyeah… it's not great18:56:25
@sternenseemann:systemli.orgsterniI wonder if pkgsLLVM.llvmPackages_11.stdenv works as expected18:57:29
@sternenseemann:systemli.orgsternifor single packages18:57:38
@sternenseemann:systemli.orgsternifixed the pkgsLLVM.boost build :)19:21:31
@alexfmpe:matrix.orgalexfmpe John Ericson: EXTRA_CC_OPTS += -Wa,-mbig-obj didn't work for the "too many sections" issue, but I might just be holding it wrong as ghc itself uses -Wa,-mbig-obj on...mingw32? I'd expect mingwW64 as well?
https://gitlab.haskell.org/ghc/ghc/-/blob/master/compiler/GHC/Driver/Pipeline/Execute.hs#L317-320
19:39:17
@Ericson2314:matrix.orgJohn Ericson alexfmpe: that might be the only OSMinGW thing? 19:46:16
@alexfmpe:matrix.orgalexfmpeheh?19:47:16
@Ericson2314:matrix.orgJohn Ericson alexfmpe: the OsMinGW32 thing might be used for 32 and 64 bit? 19:48:12
@alexfmpe:matrix.orgalexfmpeoh19:48:31
@alexfmpe:matrix.orgalexfmpethat'd be a very dumb name, but I guess19:48:38
@sternenseemann:systemli.orgsterni Alyssa Ross: if you are interested in my boost fix: https://github.com/NixOS/nixpkgs/pull/132597 21:32:52
@sternenseemann:systemli.orgsterni In other news: got pkgsLLVM.nix to build 21:47:50
@sternenseemann:systemli.orgsterni * In other news: got pkgsLLVM.nix to build 22:16:27
@piper:lutris.engineeringPiper McCorkle (she/her or they/them) joined the room.23:49:19
@piper:lutris.engineeringPiper McCorkle (she/her or they/them) set a profile picture.23:54:02
4 Aug 2021
@siraben:matrix.orgsiraben
In reply to @qyliss:fairydust.space
or help me with BSD
is Nix on BSD possible?
05:03:53
@qyliss:fairydust.spaceAlyssa Rosssiraben: yeah! I've been working on it for the past several months06:44:14
@qyliss:fairydust.spaceAlyssa Rossa recent milestone (last week I think?) is that Nix master builds on NetBSD with no changes required06:44:43

Show newer messages


Back to Room ListRoom Version: 6