dslm4515 / CMLFS

Clang-Built Musl Linux From Scratch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Broken stage2 (final system) clang+LLVM

dslm4515 opened this issue · comments

So far gperf, OpenSSL, ninja, and groff fail to build with stage2 clang, but compile fine with stage0 clang.

When configuring groff source:

configure: error: a working C++ compiler is required

And when compiling GNUs binutils [without gold], the make check show lots of failures:

                 === binutils Summary ===                                                                                                               
                                                                                                                                                       
# of expected passes            290                                                                                                                    
# of unexpected failures        4                                                                                                                      
# of unsupported tests          2

                === gas Summary ===

# of expected passes            1588
# of unsupported tests          1

                === ld Summary ===

# of expected passes            2373
# of unexpected failures        101
# of expected failures          26
# of untested testcases         1
# of unsupported tests          144

But if i build binutils with llvmtools' gcc & binutils:

                === binutils Summary ===

# of expected passes            293
# of unexpected failures        2
# of unsupported tests          2

                === gas Summary ===

# of expected passes            1588
# of unsupported tests          1

                === ld Summary ===

# of expected passes            2743
# of unexpected failures        46
# of expected failures          63
# of untested testcases         1
# of unsupported tests          47

For both builds, tests ended in error

Stage 2 clang works fine. Past packages that will not compile now compile.

As of commit 095f209, I'm using elftoolchain instead of binutils