!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

331 Members
105 Servers

Load older messages


SenderMessageTime
14 Jan 2024
@samueldr:matrix.orgsamueldrit might be the structure of the libc package that is at fault here22:51:28
@samueldr:matrix.orgsamueldrhandling some other misc. stuff at the moment, but I'll try a few things to hopefully fix that22:52:06
@trofi:matrix.orgtrofi Yeah, looks like in-place gcc... -E -traditional-cpp fails with conftest.c:13:2: fatal error: assert.h: No such file or directory before it falls back to /lib/cpp. Try to add an assert.h into a root folder. 23:02:23
@trofi:matrix.orgtrofi * Yeah, looks like in-place gcc... -E -traditional-cpp fails with conftest.c:13:2: fatal error: assert.h: No such file or directory before it falls back to /lib/cpp. Try to add an assert.h into a root folder of your libc headers. 23:02:41
@samueldr:matrix.orgsamueldrthanks for that legwork23:03:28
@samueldr:matrix.orgsamueldr it is part of the other "non-common" sdk bits 23:03:41
@samueldr:matrix.orgsamueldrI'm cleaning up the "common" bits right now to better handle that afterward23:04:10
15 Jan 2024
@samueldr:matrix.orgsamueldr

neat!

/nix/store/hc0k7rs4jjb8m75z0h9nyy1nxq9ag4v1-i386-unknown-gnu-binutils-2.40/bin/i386-unknown-gnu-ld: cannot find crti.o: No such file or directory
/nix/store/hc0k7rs4jjb8m75z0h9nyy1nxq9ag4v1-i386-unknown-gnu-binutils-2.40/bin/i386-unknown-gnu-ld: cannot find -lc: No such file or directory
/nix/store/hc0k7rs4jjb8m75z0h9nyy1nxq9ag4v1-i386-unknown-gnu-binutils-2.40/bin/i386-unknown-gnu-ld: cannot find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status

it means it's actually attempting to link with the libc!

01:08:16
@samueldr:matrix.orgsamueldr(which was an issue I knew I'd need to handle)01:08:39
@samueldr:matrix.orgsamueldr(not stuck yet, looking into the specs files, what they are, etc...)01:28:54
@samueldr:matrix.orgsamueldroh, I don't exactly like that they're generated from the built compiler02:07:34
@samueldr:matrix.orgsamueldrah, though seems relatively straightforwardly part of \.h files02:08:28
@samueldr:matrix.orgsamueldr* ah, though seems relatively straightforwardly part of .h files02:08:31
@samueldr:matrix.orgsamueldr can't build hello, but I'm not surprised by that 05:47:11
@samueldr:matrix.orgsamueldr
lib/getprogname.c: In function 'getprogname':
lib/getprogname.c:287:4: error: #error "getprogname module not ported to this OS"
 #  error "getprogname module not ported to this OS"
05:47:14
@samueldr:matrix.orgsamueldrclipboard.png
Download clipboard.png
06:07:13
@samueldr:matrix.orgsamueldr some (a couple) crimes still to be managed, but the proof is the binary works 06:07:29
@raitobezarius:matrix.orgraitobezariusOk Nix when now06:37:53
@samueldr:matrix.orgsamueldrit's not even unix06:38:04
@raitobezarius:matrix.orgraitobezariusNever heard it mattered for Nix :>06:38:25
@samueldr:matrix.orgsamueldrit doesn't have the concept of directories, or files06:38:38
@samueldr:matrix.orgsamueldr(both are the same, they're records)06:38:50
@samueldr:matrix.orgsamueldr(not that it would actually prevent Nix from maybe be a thing)06:39:16
@raitobezarius:matrix.orgraitobezariusIf I squint the Nix store is a bunch of records I'm sure :>06:39:17
@raitobezarius:matrix.orgraitobezariusJoke aside, can you compile more complicated stuff now?06:39:27
@samueldr:matrix.orgsamueldrcleaning it up, and deciding the best way forward then06:39:53
@raitobezarius:matrix.orgraitobezariusLike does git run on that ? :D06:39:55
@samueldr:matrix.orgsamueldrnot as far as I know06:40:02
@raitobezarius:matrix.orgraitobezariusFascinating 06:40:17
@samueldr:matrix.orgsamueldrright now I only have my crimes done in gcc 4.906:40:33

Show newer messages


Back to Room ListRoom Version: 6