Replies: 4 comments 11 replies
-
Hmm .. I still don't understand if we just directly bootstrapping the musl libc along side pure Clang/LLVM. |
Beta Was this translation helpful? Give feedback.
-
Luckily, I still got two old i686 laptops to build and test on. I haven't gotten to testing on i386/i686 as I was upgrading my main build machine... i hit a snag when firefox stopped loading at all. Just a silent death. Took me a while to realize that On another note, I can no longer build rust. Even using a rust from a previous MLFS build, rust always fails to compile itself and other packages that use/require rust. As a work around, I just repackage packages from Alpine Linux that require rust. Edit: Long term plan is to add more support for more arches in CMLFS... I'm saving up for a Odroid-C4 as i realized there is no open-source video acceleration in the Raspberry pi 4 |
Beta Was this translation helpful? Give feedback.
-
I am now working on cross-compiling LLVM-17.0.6 for i686 on a amd64 host. For some reason, the build method I used for compiling LLVM-15.0.6 no longer works. All sorts of strange errors like:
Old Method
New Method
Perhaps, the build system in LLVM-17.0.6 source changed? NO. I tried the old build method with LLVM 15.0.6. Same problems. When building all of LLVM together, the build wont use just built libraries and tools ... hence the separate builds of libc++abi, libc++, libunwind and compiler-rt from clang+LLD. New method builds compiler-rt "twice" for stage 1 LLVM because clang will use try to use gcc's runtime instead of compiler-rt... I think (not sure if I assume the new method supports cross-compiling similar arches (i.e. i686 on amd64 or ... arm on arm64). I have not tried different arches like arm64 on a amd64 host. The new method has yet to be tested on native builds where host is the same as target. |
Beta Was this translation helpful? Give feedback.
-
I want to at try compiling this to i386, but i think the documentation on this part is too vague.
May we can start planning documenting some things further.
At the end of my academic year i'll start pushing some notes that i wrote while compiling for x86_64, i hope it helps. 😃
Beta Was this translation helpful? Give feedback.
All reactions