!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

578 Members
129 Servers

Load older messages


SenderMessageTime
23 Nov 2021
@sternenseemann:systemli.orgsternihttps://github.com/NixOS/nixpkgs/pull/112928#issuecomment-80971490722:46:07
@sternenseemann:systemli.orgsterniah hm differences between different machines22:46:36
@sternenseemann:systemli.orgsterniominous22:46:37
24 Nov 2021
@sternenseemann:systemli.orgsterni John Ericson: getting the increasing sense that our GHC derivations are ever so subtly incorrect, but somehow work-ish (?) 11:00:38
@sternenseemann:systemli.orgsterni like why the hell do we pass buildPackages.llvmPackages, but then go on to put it in depsBuildTarget 11:00:58
@sternenseemann:systemli.orgsternialso I feel like the LLVM of the build (bootstrapping) GHC somehow leaks into the build environment for the actual GHC because it just complains about having the wrong LLVM version11:02:03
@sternenseemann:systemli.orgsterniwhich checks out because we propagate llvm for some reason11:02:18
@sternenseemann:systemli.orgsterniI wonder if this is unnecessary because we usually wrap the compiler as well?11:02:35
@sternenseemann:systemli.orgsternithe binaries aren't wrapped maybe that's where this stems from11:09:00
@sternenseemann:systemli.orgsternioh and we don't put llvm in the wrapper for the normal ones as well11:09:31
@Ericson2314:matrix.orgJohn Ericson sterni: well, I say the solution is just to get rid of the old stuff! :) 17:35:45
@Ericson2314:matrix.orgJohn Ericsonhttps://gitlab.haskell.org/ghc/ghc/-/merge_requests/596517:35:58
@andi:kack.itandi-This is likely the most fitting channel for this question: Do we have some sort of rpath minification in nixpkgs? I'm currently assuming every library in buildInputs could potentially end up in the rpath of each binary that we build, right?22:44:31
@symphorien:xlumurb.eusymphorienWhat is the shrink-rpath step of fixupphase ?22:46:15
@andi:kack.itandi-oh, that is in patchelf22:47:12
@andi:kack.itandi-I was grepping for various terms but not for shrink22:47:32
@andi:kack.itandi- and it works exactly as I was about to implement it. Thanks for the pointer symphorien 22:49:08
@symphorien:xlumurb.eusymphorienActually I don't really know what it does22:50:27
@symphorien:xlumurb.eusymphorienI never questionned before22:50:39
@legendofmiracles:matrix.orglegendofmiracles joined the room.23:10:53
26 Nov 2021
@siraben:matrix.orgsirabenIs it possible to add the cross-compiler to an environment without using pkgsCross.arm-embedded.mkShell?17:34:52
27 Nov 2021
@happyalu:matrix.orghappyalu left the room.16:06:00
28 Nov 2021
@symphorien:xlumurb.eusymphorien what is buildPackages.buildPackages ? https://github.com/NixOS/nixpkgs/pull/147692/files#diff-f885f3c7293fd60915aa7c2d28eea89dea548af3d732700fa1224b0cafa55a0aR54 14:02:27
@rick:matrix.ciphernetics.nlRick (Mindavi)I have no clue...14:04:56
@symphorien:xlumurb.eusymphorienmaybe it should be depsBuildBuild ?14:19:25
@rick:matrix.ciphernetics.nlRick (Mindavi)Could be. At least, this doesn't really look right14:20:25
@symphorien:xlumurb.eusymphorienI added a comment14:24:22
@rick:matrix.ciphernetics.nlRick (Mindavi)I'm trying to cross-compile qemu without this change, but a dependency already fails to cross-compile14:24:59
@rick:matrix.ciphernetics.nlRick (Mindavi)(in particular, vte)14:25:24
@symphorien:xlumurb.eusymphoriendid you disable gtk support ?14:26:46

Show newer messages


Back to Room ListRoom Version: 6