IRC channel logs

2025-11-29.log

back to list of logs

<lrvick>Anyone have any pointers on the right steps to go from live-bootstrap to a x86_64-linux-gnu sysroot?
<lrvick>I have bootstrapped all the way to an llvm/musl native x86_64-linux-musl sysroot, but want the ability to compile binaries for x86_64-linux-gnu
<lrvick>which is a bit of a different puzzle from just straight cross compiling for different architectures, which I find pretty straight forward (especially with LLVM)
<lanodan>It's actually straight up cross-compiling, the libc is part of the ABI (and so triple), mid-kid has notes on doing it for gentoo: https://mid-kid.root.sx/git/mid-kid/bootstrap/src/branch/master/gentoo-2025.8/gentoo.txt
<lrvick>One of my goals of being LLVM native was hoping I was done needing to have cross compilers, but maybe alternate libc triples are perhaps an exception
<lanodan>Well crossdev has an --llvm option at least, and for a glibc -> musl switch it's still that. Like it's not comparable to say a libressl/openssl switch as the compilers themselves depend on the libc.
<lanodan>(Also dynamic linking quite prevents switching in place being an easy/clean operation, been there)
<agg1>moved some recent gentoo/portage back onto linux-2.4/tinycc, together with musl-libc, static-linking only
<lrvick>In this case going musl -> glibc, but makes sense that it should be able to function similarly.
<lrvick>Maybe I'll run it and try to log the commands it runs to work out some build orders
<Googulator>lrvick: the Azure Linux bootstrap does that currently, pivoting to a 64-bit kernel and then basically following Linux from Scratch
<lrvick>Interesting. Will take a look.