• the eagle has landed

    From Maurice Kinal@2:280/464.113 to Gerrit Kuehn on Fri Feb 7 20:36:16 2020
    Hallo Gerrit!

    https://www.phoronix.com/scan.php?page=news_item&px=Clang-Kernel-2018

    I had no luck with this until I upgraded to the latest git version of llvm the other day. The default master is clang-11.0.0 which managed to compile linux-5.5.2. I haven't properly compared that to the same kernel compiled by gcc-9.2.0 yet but plan to later. I am somewhat distracted upgrading to the new
    glibc-2.31 as shown below;

    -={ '<Esc>:read !/lib/libc.so.6' starts }=-
    GNU C Library (GNU libc) stable release version 2.31.
    Copyright (C) 2020 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
    PARTICULAR PURPOSE.
    Compiled by GNU CC version 9.2.0.
    libc ABIs: UNIQUE IFUNC ABSOLUTE
    For bug reporting instructions, please see: <https://www.gnu.org/software/libc/bugs.html>.
    -={ '<Esc>:read !/lib/libc.so.6' ends }=-

    As you can see I am booting to the glibc built by gcc and as of this writing cannot get clang to compile glibc. It (glibc-2.31 source) is currently failing
    to configure using clang-11.0.0 as it claims the compiler is too old. I somehow doubt that is true.

    https://en.wikipedia.org/wiki/OpenMandriva_Lx

    2020-02-01 -> OpenMandrivaLx.4.1-plasma.x86_64.iso
    The above is the current version and the site claims to have clang-9.0.1 working as well as offereing two kernel v5 up for grabs; one compiled with gcc the other with clang. I haven't booted OpenMandrivaLx.4.1-plasma.x86_64 as of this writing and I don't see any indication of which version of glibc they are using or if indeed they are using glibc at all.

    As far as my customized x86_64-pc-linux-gnu is concerned I am still behind as far as getting a llvm to work beyond compiling a kernel. As for the latest release (llvm-9.0.1) it fails to compile due to issues with glibc-2.31 and somewhat works with 2.30 although I couldn't get that version to compile a kernel, nevermind glibc any version. Beats me exactly how OpenMandriva pulled it off ... if indeed they did manage to pull it off. I'll know more once I boot OpenMandrivaLx.4.1-plasma.

    Anyhow any REALLY USEFUL information you might be able to provide would be of great help. So far all I've found is hype with absolutely zero evidence to support the claim of a working clang that can successfully compile glibc ... with or without patching the crap out of it. In the meantime I am still more than content with gcc and friends so no real panic to get a llvm based linux system up and running. :-)

    Het leven is goed,
    Maurice

    ... Huil niet om mij, ik heb vi.
    --- GNU bash, version 5.0.11(1)-release (x86_64-pc-linux-gnu)
    * Origin: Little Mikey's EuroPoint - Ladysmith BC, Canada (2:280/464.113)