13 Jan 2025 |
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 |
artemis | these environment variables are set during the build, so you dont need to go through crossdev to get it to generate them for you (and in case i added any manually and forgot...) | 00:13:07 |
artemis | and EXTRA_ECONF is a gentoo specific variable, which tells portage, this is extra stuff to pass to ./configure | 00:14:02 |
John Ericson | ah ok cool | 00:14:23 |
John Ericson | the Makefile.native I saw in illumos almost did look like something that ought to come from a configure script | 00:14:44 |
artemis | i still dont know anything about the illumos-gate build system | 00:15:10 |
artemis | it is utterly impenetrable to me | 00:15:16 |
John Ericson | haha yeah it is a lot; I have my scars from BSD to help me that's it | 00:15:55 |
John Ericson | the doc on makefile layout did not help me too much | 00:16:04 |
John Ericson | OK built illumos.install ! | 03:56:19 |
John Ericson | nix-build --arg crossSystem '{ system = "x86_64-illumos"; }' -A illumos.include
| 06:42:47 |
John Ericson | marching along! | 06:42:52 |
John Ericson | * nix-build --arg crossSystem '{ system = "x86_64-illumos"; }' -A illumos.headers
| 08:06:26 |
John Ericson | trying to build GCC stage 1 now, and vm/faultcode.h is being looked for, which is an uninstalled header | 08:06:57 |
John Ericson | seems like a bug | 08:06:59 |
John Ericson | time to sleep | 08:07:00 |
John Ericson | edef: sys/machsig.h what does that look like on your machine? | 16:48:55 |
John Ericson | Trying to build libc now! | 22:58:35 |
John Ericson | we're cooooooking | 22:58:47 |
7c6f434c | These two phrases together sound like a comment on CPU temperature | 22:59:28 |
John Ericson | :) | 22:59:50 |
John Ericson | humans are cooking | 22:59:53 |
John Ericson | computers are not cooking so much because "command not found" | 23:00:02 |