!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

581 Members
130 Servers

Load older messages


SenderMessageTime
21 Aug 2021
@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
@Ericson2314:matrix.orgJohn Ericson alexfmpe: and then comes the fun work of making it also build for mingw :D 21:10:01
23 Aug 2021
@alexfmpe:matrix.orgalexfmpe
In reply to @alexfmpe:matrix.org
and started adding those changes to non-8.10 ghc

mingw 9.10 seems to also be broken, I get a few

In file included from compiler/cbits/genSym.c:1:0: error: 

includes/Rts.h:29:10: error:
     fatal error: windows.h: No such file or directory
       29 | #include <windows.h>
          |          ^~~~~~~~~~~
   |
29 | #include <windows.h>
15:17:01
@alexfmpe:matrix.orgalexfmpe
In reply to @alexfmpe:matrix.org
and started adding those changes to non-8.10 ghc
*

mingw ghc 9.0 seems to also be broken, I get a few

In file included from compiler/cbits/genSym.c:1:0: error: 

includes/Rts.h:29:10: error:
     fatal error: windows.h: No such file or directory
       29 | #include <windows.h>
          |          ^~~~~~~~~~~
   |
29 | #include <windows.h>
15:17:10
@alexfmpe:matrix.orgalexfmpeI don't see anything obviously related to <windows.h> in 8.10.4.nix15:17:42
@rick:matrix.ciphernetics.nlRick (Mindavi)Case-sensitive?15:41:29
@rick:matrix.ciphernetics.nlRick (Mindavi)I could imagine that it's not shipped too, but I don't know15:42:57
@alexfmpe:matrix.orgalexfmpe
In reply to @rick:matrix.ciphernetics.nl
Case-sensitive?
I mean, there are serveral .isWindows in both ghc derivations
15:44:28

Show newer messages


Back to Room ListRoom Version: 6