[cfe-dev] Small patches to allow fully independent clang/llvm/compiler-rt/libc++

Szabolcs Nagy via cfe-dev cfe-dev at lists.llvm.org
Wed Oct 14 13:46:11 PDT 2015


* Renato Golin <renato.golin at linaro.org> [2015-10-14 20:17:23 +0100]:
> On 14 October 2015 at 20:08, Szabolcs Nagy <nsz at port70.net> wrote:
> > note that clang + compiler-rt does not work out of the box with musl because
> > freestanding code (such as the libc) cannot explicitly request the
> > compiler-rt after -nostdlib.
> >
> > e.g. on gcc -lgcc [-lgcc_eh] works, on pcc `pcc --print-file-name=libpcc.a`
> > works, on clang nothing works so musl configure fails to detect it and
> > falls back to -lgcc. (compiler runtime has to be linked into libc.so)
> 
> This looks like a bug in the driver? Can you create a bug with the
> behaviour you see and what would be the expected behaviour?
> 

https://llvm.org/bugs/show_bug.cgi?id=25185



More information about the cfe-dev mailing list