-
Notifications
You must be signed in to change notification settings - Fork 233
Fix YP compatibility check #1116
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
Conversation
They should be set by distros not by meta-clang since distros decide to use clang as system compiler Signed-off-by: Khem Raj <[email protected]>
Some of these settings are moved to OE-core and some are deferred to distros where it belongs. This makes meta-clang compatible with YP again. Signed-off-by: Khem Raj <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These were also causing failures for builds with target toolchain gcc as reported on #yocto 2025-07-14
23:17 < JaMa> khem: there is small issue with rust (and rust-llvm) when building with meta-clang, the bbappend there sets TOOLCHAIN_NATIVE to clang, so clang-native is inheritted (even for target builds) and target builds with gcc fail, because they don't recognize --rtlib=libgcc --unwindlib=libgcc when target CC is gcc-cross, I guess you're not seeing this because most builds with meta-clang will use clang also for target
23:17 < JaMa> builds
23:17 < JaMa> not sure what's the correct fix, should clang-native append LDFLAGS only for class-native?
So good I won't need to BBMASK them anymore, thanks :).
Its moved into klibc.bbclass in meta-initramfs Signed-off-by: Khem Raj <[email protected]>
This should be part of default tune infra in core Signed-off-by: Khem Raj <[email protected]>
This patch is not needed anymore with clang 20+ and samba 4.19+ it build fine with both linkers ( LLD and Gnu LD) Signed-off-by: Khem Raj <[email protected]>
Set TOOLCHAIN_NATIVE = "clang" in disrto conf files not here Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
These are not supported by clang, but now they are handled in core tune files. Signed-off-by: Khem Raj <[email protected]>
Its working again Signed-off-by: Khem Raj <[email protected]>
Contributor checklist
Signed-off-by
is presentReviewer Guidelines