-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TO-DO: Libc++'s __config_site misplaced #72
Comments
CMake still wont compile. |
Nope. Stage 1 clang has "no C++11 support" |
As of commit 1d4aefb , CMake can bootstrap and configure but fails to build:
|
Looks like C Library implementation [by musl] has nullptr_t defined. Forced the libc++ headers to use musl's Modified:
Modified:
|
|
Number of headers to modify continues to grow... Perhaps, use a link to replace cstddef with musl's stddef.h ?
|
Looks like a libc++ header needs musl's
|
New road block:
|
Modified header to use libc++'s cstddef? Since I renamed the real libc++ header as cstddef.orig then made a link of cstddef to point to musl's stddef.h, I added
|
No. Problem just got re-routed:
|
So CMake wont cross compile. BUT compiles fine under chroot! |
Got this now at the second stage of LLVM for Copacabana... Guess a fix could be using |
Yep, it works greatly! |
I'm going to re-open this and close it once I get a commit in for this |
…M 1st stage Discovered this while building Copacabana's toolchain. Fixes dslm4515#72.
Proposal made; I think it needs some testing from CMLFS' side. |
@dslm4515 I know it's not related exactly to this issue, but we could update 1-Stage0 recipe for mussel to use the latest version and abandon the hacks that had to be done in the past. |
Looks like CMake fails to build due too misplaced
__config_site
header for libc++.It is at:
But shold be here with
__config
For a work around, just use links:
The text was updated successfully, but these errors were encountered: