Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions conf/nonclangable.conf
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@ TOOLCHAIN:pn-gcc-for-nvcc-runtime:tegra = "gcc"
#| | ^
TOOLCHAIN:pn-optee-os:imx-nxp-bsp = "gcc"

# Does not compile with clang 18
# ERROR: LLVM's thinLTO only works with gnu gold, lld, lld-link, and ld64, not ld.bfd
TOOLCHAIN:pn-lxc = "gcc"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we do not enable thin-lto by default, but its a possible DISTRO_FEATURE so it might be better to check for this in DISTRO_FEATURES and then resort to always using gcc toolchain


CFLAGS:append:pn-liboil:toolchain-clang:x86-64 = " -fheinous-gnu-extensions "

# TOPDIR/build/tmp/work/core2-32-yoe-linux/gnu-efi/3.0.17-r0/gnu-efi-3.0.17//lib/ctors.S:11:41: error: expected the entry size
Expand Down