!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

580 Members
126 Servers

Load older messages


SenderMessageTime
25 Jul 2021
@siraben:matrix.orgsiraben thanks John Ericson for merging my cross PRs 06:14:45
@symphorien:xlumurb.eusymphorien
In reply to @ius:nltrix.net
Which makes me wonder, why is patchelf listed there in the first place? Doesn't stdenv provide patchelf by default? Many other packages seem to assume so
yes that seems unneeded... https://nixos.org/manual/nixpkgs/stable/#sec-tools-of-stdenv guarantees that patchelf is present at least.
11:08:34
@sandro:supersandro.deSandro
In reply to @ius:nltrix.net
Ah, another angle: removing patchelf from systemd's nativeBuildInputs works (because then only the patchelf from stdenv will be in PATH).
going to test removing it
13:05:14
@sandro:supersandro.deSandro
In reply to @ius:nltrix.net
Ah, another angle: removing patchelf from systemd's nativeBuildInputs works (because then only the patchelf from stdenv will be in PATH).
* going to test removing it and doing a PR with it
13:05:19
@ius:nltrix.netius symphorien Sandro : Thanks 13:06:49
@ius:nltrix.netius Sandro: I think you can also drop coreutils based on symphorien's doc link. And not sure about getent (it's included in glibc, but e.g. musl doesn't provide it - however systemd doesn't build on musl anyway; not sure about other libcs though) 13:11:20
28 Jul 2021
@sternenseemann:systemli.orgsterni (he/him) John Ericson: if you have the time, could you review https://github.com/NixOS/nixpkgs/pull/131076? it has a change to cc-wrapper (only affecting Ada though), so I just wanna confirm that what I'm doing is in the spirit of said wrapper 12:45:39
@sternenseemann:systemli.orgsterni (he/him)also edend up doing something similar to pkg-config's setupHook, so you may be able to give useful feedback12:45:58
@Ericson2314:matrix.orgJohn EricsonOk12:46:01
@sternenseemann:systemli.orgsterni (he/him) John Ericson: thanks a lot! 14:21:14
@Ericson2314:matrix.orgJohn Ericson
In reply to @sternenseemann:systemli.org
John Ericson: thanks a lot!
np! sorry i didn't see before, always feel free to ping me
15:16:30
@sternenseemann:systemli.orgsterni (he/him) John Ericson: btw I also got gnat to build as cross compiler, although it is probably only useful for bare metal targets because gcc's build system somehow falls apart when building libada for a cross compiler: https://github.com/NixOS/nixpkgs/pull/131136 16:44:17
@Ericson2314:matrix.orgJohn EricsonI saw!16:52:14
@Ericson2314:matrix.orgJohn EricsonThat's good because the libs should be built separately anyways16:52:19
@Ericson2314:matrix.orgJohn Ericson If you make that separate derivative like I did for libgcc but then we actually use it, I'll be very happy! 16:52:52
@sternenseemann:systemli.orgsterni (he/him)I'll look into building it separately but it seems there is very little accurate documentation on it atm16:53:25
@Ericson2314:matrix.orgJohn EricsonEven better if always use the separate derivation including in native case16:53:36
@Ericson2314:matrix.orgJohn EricsonOk losing internet16:54:11
@sternenseemann:systemli.orgsterni (he/him)it'd also be great for the ada case since there are special libadas for certain targets etc.16:54:26
@sternenseemann:systemli.orgsterni (he/him)so supporting swapping it out would be very useful16:54:38
@Ericson2314:matrix.orgJohn EricsonGood luck!16:58:04
@Ericson2314:matrix.orgJohn Ericsonsterni (he/him) besides our libgcc, check the Exherbo distro17:03:08
@sternenseemann:systemli.orgsterni (he/him)I will, that's probably a good hint, thanks17:03:30
@Ericson2314:matrix.orgJohn Ericson sterni (he/him) about to loose internet, so that's all I got! 17:03:28
@sternenseemann:systemli.orgsterni (he/him)ty :)17:03:42
@Ericson2314:matrix.orgJohn EricsonExherbo did all the gcc/g++ libs, which I am jealous of17:04:06
30 Jul 2021
@philipp:xndr.dephilipp changed their profile picture.20:21:36
1 Aug 2021
@jamie:memes.nzJamie joined the room.08:11:32
@sternenseemann:systemli.orgsterni (he/him) John Ericson: seems to me that exherbo doesn't have GNAT at all, at least their gcc seems to statically disable ada and I also did not find any libada package 17:08:32
@sternenseemann:systemli.orgsterni (he/him) checked arbor's sys-libs and sys-devel/gcc 17:08:59

Show newer messages


Back to Room ListRoom Version: 6