!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

554 Members
119 Servers

Load older messages


SenderMessageTime
3 Aug 2021
@qyliss:fairydust.spaceAlyssa Rossoh, LLVM is cross-compiling, so I have to build glibc first18:50:58
@qyliss:fairydust.spaceAlyssa Ross* I have to build glibc grpc first18:51:10
@qyliss:fairydust.spaceAlyssa RossWe really should invent a better canExecute18:51:27
@sternenseemann:systemli.orgsterni (he/him)grpc depends on buildPackages.grpc?18:51:47
@qyliss:fairydust.spaceAlyssa Rossyeah18:51:53
@qyliss:fairydust.spaceAlyssa Rossas of, like, yesterday18:51:58
@sternenseemann:systemli.orgsterni (he/him)ah, 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 joined the room.18:53:24
@sternenseemann:systemli.orgsterni (he/him)oh no haha18:53:33
@qyliss:fairydust.spaceAlyssa Rosswhy does using bfd with clang break things anyway?18:53:52
@yuka:yuka.devYukaNot 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 (he/him) 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.orgsterni (he/him)yeah… it's not great18:56:25
@sternenseemann:systemli.orgsterni (he/him)I wonder if pkgsLLVM.llvmPackages_11.stdenv works as expected18:57:29
@sternenseemann:systemli.orgsterni (he/him)for single packages18:57:38
@sternenseemann:systemli.orgsterni (he/him)fixed 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 (he/him) Alyssa Ross: if you are interested in my boost fix: https://github.com/NixOS/nixpkgs/pull/132597 21:32:52
@sternenseemann:systemli.orgsterni (he/him) In other news: got pkgsLLVM.nix to build 21:47:50

There are no newer messages yet.


Back to Room ListRoom Version: 6