IRC channel logs

2025-06-26.log

back to list of logs

<fossy>lrvick: wait, what do you mean?
<fossy>building llvm without llvm and just gcc?
<fossy>or bootstrapping the whole llvm/libcxx stack?
<fossy>is this specifically under musl?
<matrix_bridge><Andrius Štikonas> fossy: I think it was meant from just GCC without llvm
<matrix_bridge><Andrius Štikonas> But doesn't it just work?
<matrix_bridge><Andrius Štikonas> I thought llvm can be easily built by g++
<aggi>fossy: made a transition from a non-llvm/clang system with g++ available only; it was supported at the time by gentoo portage tree ~6 years ago
<aggi>i think it was gcc-7
<aggi>maybe some gentooling archived an amd64 live-dvd.iso from that time, to pull in the appropriate portage-tree version with
<aggi>i did archive some portage trees and all distfiles from that time; but everything detonated, my 1.5TiB RAID overflowed
<aggi>at that time, gentoo didn't ship llvm/clang by default, and mesa/libdrm didn't need llvm either
<aggi>all of the sudden, mesa required llvm/clang, and gentoo supported seamless compilation of llvm/clang with g++, it just worked
<aggi>~6years ago, round about
<lrvick>fossy: trying to bootstrap llvm/compiler-rt/libcxx/clang from live-bootstap gcc
<lrvick>building llvm/clang just works, but if you want it linked against compiler-rt/libcxx/libunwind to remove any dependency on libgcc... that is where things become a mess
<lrvick>Chimera has a huge patchset for this, but it still assumes you are building from an already patched llvm.