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

Renato Golin via cfe-dev cfe-dev at lists.llvm.org
Wed Oct 14 12:17:23 PDT 2015


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?

cheers,
--renato



More information about the cfe-dev mailing list