| 3 Aug 2021 |
Alyssa Ross | oh, LLVM is cross-compiling, so I have to build glibc first | 18:50:58 |
Alyssa Ross | * I have to build glibc grpc first | 18:51:10 |
Alyssa Ross | We really should invent a better canExecute | 18:51:27 |
sterni (he/him) | grpc depends on buildPackages.grpc? | 18:51:47 |
Alyssa Ross | yeah | 18:51:53 |
Alyssa Ross | as of, like, yesterday | 18:51:58 |
sterni (he/him) | ah, that's annoying | 18:52:02 |
Alyssa Ross | (prior to yesterday it just didn't cross-compile) | 18:52:21 |
Alyssa Ross | specifically I have to build glibc grpc, glibc protobuf, llvm protobuf, then llvm grpc, one at a time | 18:53:09 |
| Yuka joined the room. | 18:53:24 |
sterni (he/him) | oh no haha | 18:53:33 |
Alyssa Ross | why does using bfd with clang break things anyway? | 18:53:52 |
Yuka | Not sure who to tag for a musl fix, maybe someone here?
https://github.com/NixOS/nixpkgs/pull/132573 | 18:54:17 |
Alyssa Ross | sternenseemann: oh, I think it's also sad because LLVM 7 is too old | 18:54:49 |
Alyssa Ross | Can I get a pkgsLLVM11? | 18:54:57 |
Alyssa Ross | (I guess I just need to overlay for that?) | 18:55:07 |
sterni (he/him) | Alyssa Ross: having an overlay that sets llvmPackages = llvmPackages_11 works, if you have time to compile llvm… | 18:56:09 |
Alyssa Ross | what on earth is going on with the llvmPackages definition in all-packages.nix | 18:56:10 |
sterni (he/him) | yeah… it's not great | 18:56:25 |
sterni (he/him) | I wonder if pkgsLLVM.llvmPackages_11.stdenv works as expected | 18:57:29 |
sterni (he/him) | for single packages | 18:57:38 |
sterni (he/him) | fixed the pkgsLLVM.boost build :) | 19:21:31 |
alexfmpe | 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 |
John Ericson | alexfmpe: that might be the only OSMinGW thing? | 19:46:16 |
alexfmpe | heh? | 19:47:16 |
John Ericson | alexfmpe: the OsMinGW32 thing might be used for 32 and 64 bit? | 19:48:12 |
alexfmpe | oh | 19:48:31 |
alexfmpe | that'd be a very dumb name, but I guess | 19:48:38 |
sterni (he/him) | Alyssa Ross: if you are interested in my boost fix: https://github.com/NixOS/nixpkgs/pull/132597 | 21:32:52 |
sterni (he/him) | In other news: got pkgsLLVM.nix to build | 21:47:50 |