public inbox for gentoo-musl@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-musl] musl/libc++ (clang, no gcc) bootstrapped stage4
@ 2017-05-01 19:16 Jens Staal
  2017-05-02  8:14 ` [gentoo-musl] " Jens Staal
  0 siblings, 1 reply; 2+ messages in thread
From: Jens Staal @ 2017-05-01 19:16 UTC (permalink / raw
  To: gentoo-musl

Dear all,

Inspired by the list of alternative libraries from the musl project [1]
and the "native clang" GSOC project [2], I have made a bootstrapped
stage4 variant that some people might wan to play with.

I have eliminated the dependency on gcc (all stdlibc++-dependencies
compiled out, gcc uninstalled, alternative crtbegin/end from ELLCC
included)

My experimental stage4 can be found here:
(any good ways to share stage4 builds?)

https://mega.nz/#!g7oV2ZTA

sha256sum :
1caee9dcc25b27565a78f0c58fdcb24b38c85f6d3332130f591816b51568f4d9

The current variant have a few alterations from the normal musl stage3:

1. gcc --> clang:4 (libc++, c++abi, ellcc crt)
(note: had to move __dso_handle from crt1.c to crtbegin.c for it to
work)
2. readline --> libedit : a surprisingly simple replacement
3. openssl --> libressl
4. nano --> vim (personal preference)

+ some useful stuff (gentoolkit,eix,...)

Several TODOs (most importantly an up-to-date llvmlinux overlay to have
a self-hosting system)
Another thing that would be nice is a "fake" gcc-config that can point
to the clang installation (some packages like busybox rely on gcc-config
to find the complier)

[1] http://wiki.musl-libc.org/wiki/Alternative_libraries
[2] https://blogs.gentoo.org/gsoc2016-native-clang/2016/08/14/use-clang-as-a-native-compiler-in-gentoo/

Hopefully some of you will enjoy playing with it. I am going to abuse
the system further to see how much alternative implementations I can
implement in the system.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-musl] Re: musl/libc++ (clang, no gcc) bootstrapped stage4
  2017-05-01 19:16 [gentoo-musl] musl/libc++ (clang, no gcc) bootstrapped stage4 Jens Staal
@ 2017-05-02  8:14 ` Jens Staal
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Staal @ 2017-05-02  8:14 UTC (permalink / raw
  To: gentoo-musl

On Mon, May 01, 2017 at 09:16:42PM +0200, Jens Staal wrote:

>
> My experimental stage4 can be found here:
> (any good ways to share stage4 builds?)
>
> https://mega.nz/#!g7oV2ZTA
>
> sha256sum :
> 1caee9dcc25b27565a78f0c58fdcb24b38c85f6d3332130f591816b51568f4d9
>

oops sorry - apparently I have to share the url with the key

https://mega.nz/#!g7oV2ZTA!Z3xWJwlsKOtZl1luo_TTmm1OWzydF0M18ZIrpnaNf70





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-02  8:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-01 19:16 [gentoo-musl] musl/libc++ (clang, no gcc) bootstrapped stage4 Jens Staal
2017-05-02  8:14 ` [gentoo-musl] " Jens Staal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox