| 13 Jan 2025 |
John Ericson | for FreeBSD and OpenBSD we used Clang, but for NetBSD that never worked so we did use GCC for that | 00:03:51 |
John Ericson | slipped in the headers for libgcc as needed | 00:04:00 |
artemis | i dont remember if i used the gnu linker or lld when i cross-built the rust project in this process | 00:04:46 |
artemis | but lld is known to be able to link for illumos iirc | 00:05:03 |
John Ericson | oh sweat | 00:05:27 |
John Ericson | the bootstrapping latency with the LLVM stuff is better | 00:05:44 |
John Ericson | so if mixing LLD and GCC works, that is good | 00:05:57 |
artemis | some 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 rapidly | 00:07:19 |
artemis | gentoo's crossdev tool is very gcc-specific, so i cant speak to what bootstrapping with clang only looks like. and i may be wrong about lld, you'll need to find out for yourself with that one | 00:08:27 |
artemis | In reply to @artemis:arty.chat gentoo's crossdev tool is very gcc-specific, so i cant speak to what bootstrapping with clang only looks like. and i may be wrong about lld, you'll need to find out for yourself with that one it technically has a -L to do llvm/clang but i have never tried it, even for linux, so im not sure if it works | 00:09:24 |
artemis | oh i have something else that will probably help | 00:10:41 |
artemis | Download illumos-solaris-crossdev-conf.tar.gz | 00:12:13 |
artemis | John Ericson ^ particularly the env folder is probably interesting here | 00:12:34 |