[llvm-dev] Compiling GNU C Library (glibc) with llvm (original) (raw)
Craig Topper via llvm-dev llvm-dev at lists.llvm.org
Sun Feb 10 10🔞15 PST 2019
- Previous message: [llvm-dev] Compiling GNU C Library (glibc) with llvm
- Next message: [llvm-dev] LLVM IR linking separate function definitions in header files in single IR
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The clang part is not committed yet. It’s review is here https://reviews.llvm.org/D56571
On Sun, Feb 10, 2019 at 10:09 AM David Blaikie via llvm-dev < llvm-dev at lists.llvm.org> wrote:
As luck would have it, asm goto was recently implemented in LLVM: http://llvm.org/viewvc/llvm-project?view=revision&revision=353563 (not sure if it's fully baked yet, that might just be the LLVM part & maybe there's some Clang plumbing still required) > On Sat, Feb 9, 2019 at 7:32 PM blubee blubeeme via llvm-dev <_ _llvm-dev at lists.llvm.org> wrote: >> The main reason is that GLIBC uses non-standards compliant extensions for > programmers convenience and LLVM want's to stick to the standards as much > as possible. >>> LLVM also uses some non-standard extensions. For example asm goto; the > last time I checked Clang did not support ASM GOTO and so later linux > kernels cannot be compiled. >>> The general answer comes down to standards compliance; that's my > understanding. >>> Best, > Owen >>> _On Sun, Feb 10, 2019 at 11:23 AM Md Salman Ahmed via llvm-dev <_ > llvm-dev at lists.llvm.org> wrote: >>>> Hi All, >>>>> I was trying to build GNU C Library (glibc implementation) using the >> clang compiler in a x8664 Linux system. However, whenever I try to set the >> clang compiler as the compiler in the configure script of glibc, I am >> getting the following error. >>>>> checking if clang is sufficient to build libc... no >>>>>>>> I did a quick research to see why does clang compiler is not sufficient >> to build the glibc implementation and found that the glibc implementation >> may have some target specific features that GCC only can support. But I am >> not getting what are the exact reasons behind this insufficiency. >>>>> Can anybody please point me what are the exact reason behind this >> insufficiency. Some examples would also help. Any kind of help would be >> greatly appreciated. Thank you! >> _________________________ >> LLVM Developers mailing list >> llvm-dev at lists.llvm.org >> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >>>> _________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >> _________________________ LLVM Developers mailing list llvm-dev at lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
~Craig -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190210/3842d6b0/attachment.html>
- Previous message: [llvm-dev] Compiling GNU C Library (glibc) with llvm
- Next message: [llvm-dev] LLVM IR linking separate function definitions in header files in single IR
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]