!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

580 Members
129 Servers

Load older messages


SenderMessageTime
21 Sep 2021
@qyliss:fairydust.spaceAlyssa Ross because afaict libtool will only look for static libraries if it gets -static or -all-static. 09:47:19
@qyliss:fairydust.spaceAlyssa RossI wonder if the wrapper should set -all-static when stdenv.hostPlatform.isStatic...10:17:30
@qyliss:fairydust.spaceAlyssa Rossalthough actually that wouldn't help here, because the argument needs to get to libtool10:17:59
@qyliss:fairydust.spaceAlyssa RossI suppose I should just write up an issue with what I've discovered so far10:18:27
22 Sep 2021
@colemickens:matrix.orgcolemickens 🏳️‍🌈does someone have a "working cross-compiling" rev of armv6l?02:40:11
@colemickens:matrix.orgcolemickens 🏳️‍🌈It sorta maybe seems like gobject-introspection cross compilation is broken, maybe due to an upgrade of meson ~recently in nixpkgs02:40:42
@sternenseemann:systemli.orgsterniafaik gobject-introspection cross compilation never works09:17:56
@sternenseemann:systemli.orgsterni * afaik gobject-introspection cross compilation never worked09:18:00
@sternenseemann:systemli.orgsterniwe disabled gobject-introspection when cross-compiling usually09:18:14
@rick:matrix.ciphernetics.nlRick (Mindavi)
In reply to @sternenseemann:systemli.org
we disabled gobject-introspection when cross-compiling usually
Yes
09:30:31
@rick:matrix.ciphernetics.nlRick (Mindavi)It doesn't work, John is trying to get it to work but upstream is not a big fan of the patches09:30:52
@rick:matrix.ciphernetics.nlRick (Mindavi)See https://github.com/NixOS/nixpkgs/issues/72868 and https://github.com/NixOS/nixpkgs/pull/8822209:40:23
@colemickens:matrix.orgcolemickens 🏳️‍🌈I'd actually seen John's commits/prs in gobject-introspection. I'm trying to figure out if I did something unexpected or if I just lost track of what branch folks are cross-building from...20:20:11
@colemickens:matrix.orgcolemickens 🏳️‍🌈anyway, if someone has a nixpkgs-rev/config that works for x86->armv6l cross compiling, please let me know. <3 thanks21:39:08
@sternenseemann:systemli.orgsterniarmv6 is the non-raspberry pi armv6 one?23:37:59
23 Sep 2021
@mic92:nixos.devMic92
In reply to @qyliss:fairydust.space
I wonder if the wrapper should set -all-static when stdenv.hostPlatform.isStatic...
We also missed the opportunity to document that pkgsStatic exists. I recently had to explain it in discourse.
15:46:14
@mic92:nixos.devMic92I think we should be more picky with changes we merge w.r.t. documentation. Whenever there is a change in buildRustPackage or buildGoModule, I always insist on updating documentation.15:48:22
@sternenseemann:systemli.orgsternipkgsStatic is something entirely different15:50:19
@sternenseemann:systemli.orgsterniI think you have to trade off such features and experimentation against building up expectations about it15:51:00
@sternenseemann:systemli.orgsternisure, it should be documented in some capacity, agreed15:51:31
@sternenseemann:systemli.orgsterni cross compiled packages are the worst in nixpkgs in terms of regressions because they are not tested a lot and changes are rarely held back bc of breaking cross 15:53:15
@sternenseemann:systemli.orgsternibut honestly we are probably all just a bit lazy or busy with other things :)15:53:50
25 Sep 2021
@amesgen:amesgen.deamesgen joined the room.19:40:30
29 Sep 2021
@colemickens:matrix.orgcolemickens 🏳️‍🌈I am surprised that I was able to cross-compile spidermonkey for armv6l but not armv7l :/20:26:36
@rick:matrix.ciphernetics.nlRick (Mindavi)
In reply to @sternenseemann:systemli.org
but honestly we are probably all just a bit lazy or busy with other things :)
I'm trying to keep it a bit in shape, but sometimes take quite some time to fix
20:32:02
30 Sep 2021
@colemickens:matrix.orgcolemickens 🏳️‍🌈 John Ericson: 02:20:59
@colemickens:matrix.orgcolemickens 🏳️‍🌈 * John Ericson: do you think gobject stuff will ever cross compile 02:21:12
@colemickens:matrix.orgcolemickens 🏳️‍🌈(sorry for the misfire there)02:21:16
@Ericson2314:matrix.orgJohn Ericson colemickens 🏳️‍🌈: well one of my PRs finally got merged 02:21:28
@Ericson2314:matrix.orgJohn Ericsonwe could make it go today with more gunk even02:21:49

Show newer messages


Back to Room ListRoom Version: 6