dslm4515 / CMLFS

Clang-Built Musl Linux From Scratch
MIT License
99 stars 18 forks source link

Broken stage2 (final system) clang+LLVM #78

Closed dslm4515 closed 1 year ago

dslm4515 commented 1 year ago

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
dslm4515 commented 1 year ago

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
dslm4515 commented 1 year ago

For both builds, tests ended in error

dslm4515 commented 1 year ago

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

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