Bootstapping Gentoo with The LLVM C Library
- Mentors
- Sam James, juippis
- Organization
- Gentoo Foundation
- Technologies
- c, python, llvm, bash, clang, Portage, libc
- Topics
- operating systems, Standard C library
The goal of this project is to get a Gentoo Linux system running with LLVM libc in fullbuild mode as the system libc. The biggest hurdle here will be getting the Portage dependency Python to work, because it for example requires some math.h functions not yet included in LLVM libc to build. To work around this I will fudge in the missing parts, and later on in the project work on getting these upstreamed. Similar actions will be taken for other software too. My final goal is to get a simple terminal-based desktop running, as well as an experimental amd64/llvm-libc stage3 tarball for other interested users.
As a side project I will also work on getting Crossdev to work with a pure LLVM toolchain by providing a means to compile the builtins library "compiler-rt" for foreign target triples. This will be used half way through my project when I switch focus from a "Linux from Scratch" approach into working with Crossdev.
Deliverables:
+ Portage running on a llvm-libc/Linux system.
+ Basic utilities for a terminal-based desktop.
+ An experimental stage3 tarball for other users.
+ Documentation on Gentoo wiki and blog posts.
+ Being able to use Crossdev with the LLVM toolchain.