[llvm-dev] Building LLVM with LLVM

Fabiano Sidler via llvm-dev llvm-dev at lists.llvm.org
Tue Sep 10 07:19:05 PDT 2019


Thus wrote Olivier Galibert:
> On Thu, Sep 5, 2019 at 12:15 PM Fabiano Sidler via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
> 
> >   ld: error: cannot open crt1.o: No such file or directory
> >
> [...]
> 
> >   ld: error: unable to find library -lgcc
> >
> 
> clang/llvm 8, specifically compiler-rt, does not provide everything needed
> to replace the gcc-provided environment under linux.  Clang 9 should,
> thought, given https://reviews.llvm.org/D28791 and some others.

Yes, could build LLVM9 with LLVM8 and without libgcc. Thanks for the hint!
Will track version 9 now.

Greetings,
Fabiano


More information about the llvm-dev mailing list