!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

330 Members
105 Servers

Load older messages


SenderMessageTime
12 Jan 2025
@artemis:arty.chatartemis So I have an ebuild that uses my balls of .so and puts them in the right place, and also puts the headers where they need to be 23:44:58
@Ericson2314:matrix.orgJohn Ericsonah ok23:45:07
@Ericson2314:matrix.orgJohn Ericsonwhat did end up doing for the linker?23:45:32
@artemis:arty.chatartemis To my surprise the gnu linker just worked 23:45:47
@Ericson2314:matrix.orgJohn Ericsonoh, lol23:45:57
@Ericson2314:matrix.orgJohn Ericsonthat helps23:45:59
@artemis:arty.chatartemis Despite the fact that people had told me only the illumos linker can link for illumos 23:46:08
@Ericson2314:matrix.orgJohn Ericsonheh. Well that's a relief!23:46:30
@artemis:arty.chatartemisDownload illumos-gentoo-overlay.tar.gz23:58:23
@artemis:arty.chatartemis John Ericson ^ 23:58:26
@Ericson2314:matrix.orgJohn Ericsongreat thank you!23:58:35
@artemis:arty.chatartemisthis has my blog post basically as it, as well as the ebuilds23:58:38
@artemis:arty.chatartemis the ebuilds if you ran them as they are pull from my file server for their "sources" at https://pkg.artemis.sh/gentoo/pkg-deps/illumos/ 23:59:00
@artemis:arty.chatartemis https://pkg.artemis.sh/gentoo/pkg-deps/illumos/helios-system-library-bin/what-is-where.html was some notes i was taking as to which illumos packages are in which tarfiles 23:59:49
@artemis:arty.chatartemis * https://pkg.artemis.sh/gentoo/pkg-deps/illumos/helios-system-library-bin/what-is-where.html was some notes i was taking as to which illumos packages i shoved into which tarfiles 23:59:59
13 Jan 2025
@edef1c:matrix.orgedef joined the room.00:00:50
@artemis:arty.chatartemisi dont know of any normal command to actually get a built illumos package as a tarfile. the way i was doing it is i have a script (not included, its part of my general utility script i use on illumos which is not public) that lists all the files, tars them up, and walks the dependency tree doing that for the package00:01:37
@artemis:arty.chatartemispart of why i never released the blog post was i wanted to extract that into something public but i never did00:01:53
@Ericson2314:matrix.orgJohn Ericsongotcha00:02:01
@Ericson2314:matrix.orgJohn Ericsonthat is all fine, because we'll just use the normal nixpkgs stuff for that part00:02:09
@artemis:arty.chatartemisyeah00:02:26
@artemis:arty.chatartemisfrom that post, the gcc stuff is probably the most relevant to you00:02:59
@Ericson2314:matrix.orgJohn Ericsonfor FreeBSD and OpenBSD we used Clang, but for NetBSD that never worked so we did use GCC for that00:03:51
@Ericson2314:matrix.orgJohn Ericsonslipped in the headers for libgcc as needed00:04:00
@artemis:arty.chatartemisi dont remember if i used the gnu linker or lld when i cross-built the rust project in this process00:04:46
@artemis:arty.chatartemisbut lld is known to be able to link for illumos iirc00:05:03
@Ericson2314:matrix.orgJohn Ericsonoh sweat00:05:27
@Ericson2314:matrix.orgJohn Ericsonthe bootstrapping latency with the LLVM stuff is better00:05:44
@Ericson2314:matrix.orgJohn Ericsonso if mixing LLD and GCC works, that is good00:05:57
@artemis:arty.chatartemissome folks at work (including me) have also managed to convince mold to link succesfully but it hasn't been useful enough to get into a working state and the steps needed seemed to change over time because mold was (is?) developing rapidly00:07:19

Show newer messages


Back to Room ListRoom Version: 6