!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

579 Members
129 Servers

Load older messages


SenderMessageTime
21 Aug 2021
@Ericson2314:matrix.orgJohn Ericson sterni (he/him): I think i did? 21:51:46
@Ericson2314:matrix.orgJohn Ericson for libc in gnu musl; nix-build ~/src/nixpkgs-7 --arg crossSystem "{ config = \"aarch64-unknown-linux-$libc\"; useGccNg = true; }" -A gccNgPackages.libgcc; end works for glibc 21:53:09
@Ericson2314:matrix.orgJohn Ericson if you go to #oftc#gcc:matrix.org you can see my convo 21:53:24
@Ericson2314:matrix.orgJohn Ericsonjust figured out the musl problem21:53:32
@Ericson2314:matrix.orgJohn Ericson sterni (he/him): ok pushed the musl fix 22:18:59
@Ericson2314:matrix.orgJohn Ericsonboth libgcc build now22:19:05
@sternenseemann:systemli.orgsterni changed their display name from sterni (he/him) to sterni[m].22:21:29
@sternenseemann:systemli.orgsterni changed their display name from sterni[m] to sterni.22:21:47
@sternenseemann:systemli.orgsternihm okay, I never tried compiling with useGccNg and crossSystem before22:25:21
22 Aug 2021
@Ericson2314:matrix.orgJohn Ericson sterni: alexfmpe: OK updated the status on the PR 05:05:08
@Ericson2314:matrix.orgJohn EricsonNow that we are "into the normal libaries" passed libgcc and libc05:05:29
@Ericson2314:matrix.orgJohn Ericson * Now that we are "into the normal libaries" past libgcc and libc05:05:38
@Ericson2314:matrix.orgJohn EricsonIt might be easier for others to work on05:05:53
@alexfmpe:matrix.orgalexfmpeSo I could try adding say libssp?14:33:08
@Ericson2314:matrix.orgJohn Ericsonyeah14:47:58
@siraben:matrix.orgsiraben changed their display name from siraben (he/him) to siraben.16:15:50
@Ericson2314:matrix.orgJohn Ericson alexfmpe: added libssp 21:01:53
@alexfmpe:matrix.orgalexfmpeoh that was fast21:02:18
@alexfmpe:matrix.orgalexfmpe I was rebasing my mingw ghc PR on top of sterni 's gold rewiring 21:02:46
@alexfmpe:matrix.orgalexfmpeand started adding those changes to non-8.10 ghc 21:03:07
@alexfmpe:matrix.orgalexfmpebut it looks liike mingw ghc 8.8 was already non-building21:03:21
@alexfmpe:matrix.orgalexfmpeso I can't quite verify I'm not breaking it more21:03:30
@alexfmpe:matrix.orgalexfmpeI'm now building 8.8 without my changes to confirm the error is unrelated (it sure looks like it https://pastebin.com/7FHK1Q0s) but if that still fails, and fixing 8.8 isn't simple, what's the usual way to proceed here? be conservative about touching 8.8, since I might be breaking it more, or be conservative about divergence, and do the same changes that fixed 8.10?21:06:16
@Ericson2314:matrix.orgJohn Ericson alexfmpe: well i did it for aarch64 linux 21:07:48
@Ericson2314:matrix.orgJohn Ericsona.k.a. easy stuff21:07:54
@Ericson2314:matrix.orgJohn Ericsonmine has the position independent code issues21:08:08
@Ericson2314:matrix.orgJohn Ericsonwhich need to be fixed even if one doesn't care about C++ (and they first manifested when building libstdc++)21:08:34
@alexfmpe:matrix.orgalexfmpeheh, you're getting hti by PIC a lot recently21:08:51
@Ericson2314:matrix.orgJohn Ericsonhah21:08:59
@Ericson2314:matrix.orgJohn Ericsonwell this should be a lot simpler because normal platforms and standard compliant linkers21:09:18

Show newer messages


Back to Room ListRoom Version: 6