monogon-dev / monogon

The Monogon Monorepo. May contain traces of peanuts and a ✨pure Go Linux userland✨. Work in progress!
https://monogon.tech
Apache License 2.0
378 stars 9 forks source link

musl LLVM toolchain #18

Open leoluk opened 3 years ago

leoluk commented 3 years ago

We may be able to use a static toolchain like this one: https://github.com/grailbio/bazel-toolchain

The Linux kernel is technically able to be built with LLVM, even with CFI (which is nice for security). Google uses it in production and Pixel phones.

leoluk commented 2 years ago

This is now a thing, too: https://github.com/aspect-build/gcc-toolchain

q3k commented 2 years ago

Working on this. Trying to build a fully static and portable llvm+clang+libcxx+musl toolchain.

q3k commented 2 years ago

Currently paused because got preeempted by Kubernetes / Control Plane split. But still in my immediate backlog (https://github.com/monogon-dev/monogon/issues/145).

q3k commented 3 weeks ago

Letting someone else deal with this beast.