On 2/3/25 16:17, Jonathan Perkin wrote:
* On 2025-02-03 at 03:39 GMT, PHO wrote:While looking at your 9.4 bootkit I found it had several shared libraries in ./lib/pkgsrc, and GHC binaries had relative rpaths to them. How did you do this? Could you provide instructions in files/ BOOTSTRAP.md so that future me can produce bootkits like this?I would have done it similar to the Rust bootstraps, have a look at this section:https://github.com/NetBSD/pkgsrc/blob/pkgsrc-2024Q4/lang/rust/ Makefile#L642-L684
Thanks. I'll try to integrate this to Hadrian, the build system for GHC. It will take some time though, so you may still want to do it manually this time :D