Gentoo Archives: gentoo-soc

From: Luca Barbato <lu_zero@g.o>
To: gentoo-soc@l.g.o
Subject: Re: [gentoo-soc] [GSoC] native-clang: weekly report #2
Date: Sat, 11 Jun 2016 12:49:54
Message-Id: b79e2c2a-f57e-ab21-c7cd-c6c91c9c4d02@gentoo.org
In Reply to: Re: [gentoo-soc] [GSoC] native-clang: weekly report #2 by Lei Zhang
1 On 11/06/16 14:35, Lei Zhang wrote:
2 > 2016-06-11 19:58 GMT+08:00 Luca Barbato <lu_zero@g.o>:
3 >> On 11/06/16 13:46, Anthony G. Basile wrote:
4 >>> On 6/11/16 7:23 AM, Lei Zhang wrote:
5 >>>> Hi there!
6 >>>>
7 >>>> Progress this week:
8 >>>> - be able to bootstrap a freestanding clang and make it work on a musl
9 >>>> based system
10 >>>> - experiment with NetBSD's crtbegin/end files and they appear to work correctly
11 >>>> - send the first set of patches to clang/LLVM, which enables clang to
12 >>>> build binaries agains musl
13 >>>>
14 >>>> Plan for next week:
15 >>>> - figure out a reasonable patch which allows clang/LLVM to be built against musl
16 >>>> - think about how to package the clang + musl based toolchain
17 >>>> - try to prepare a GNU-free stage3 system
18 >>>
19 >>> I'm not sure what you mean by "package the clang + musl based toolchain"
20 >>> but the stage3 is how we distribute working a toolchain in Gentoo.
21 >>
22 >> At very least:
23 >>
24 >> - package the crt from netbsd
25 >> - fix the dependencies accordingly
26 >
27 > Also package compiler-rt and libunwind, which will replace libgcc and
28 > libgcc_eh respectively. I'm not sure yet if I should replace libcxxrt
29 > with libcxxabi.
30
31 Would be nice to have, but first the basics =)
32
33 lu