From b3e3eeea3d64a7443ff7253f8ce4609b17ed5e3f Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 9 Mar 2022 17:18:06 -0800 Subject: clang: Upgrade to latest on 14.x Enable __int128 for compiler-rt/ppc32 Drop redundant ppc patch which is fixed upstream already Brings these fixes * e879b2bf82ef [libcxxabi] [test] Depend on unwind only if available * 569b773323a3 [libcxx][CI] Set Arm triples to match native clang build's default * f7007c570a21 Lambdas are not necessarily locals. This resolves DR48250. * eb84577cbc23 Revert "[release] Use the Bootstrapping build for building LLVM releases" * d843bde69aab [clang][driver] Fix float128 diagnostics with glibc >= 2.32 * ba9ff030d302 [SimplifyCFG][PhaseOrdering] Defer lowering switch into an integer range comparison and branch until after at least the IPSCCP * da3953fb0315 [NFC][PhaseOrdering] Add some tests from D119839 * 8b51e5ee0a2e [NewPM][Inliner] Make inlined calls to functions in same SCC as callee exponentially expensive * 6a713120502a [llvm] [bindings/OCaml] Remove unused dep on ounit2 * 2de2a2bba998 [LICM][PhaseOrder] Don't speculate in LICM until after running loop rotate * 7d1cd3380add [NFC][PhaseOrdering] Improve test coverage for D119975 * 1f4613675051 [NFC][PhaseOrdering] spurious-peeling.ll: also test -O1/-O2 results * 36bf1a9e628d [NFC][PhaseOrdering] Precommit tests from D119965 * 67555104d23a [MachineSink] Disable if there are any irreducible cycles * 1e4fd59253c6 [CodeGen] Add test for PR53990 (NFC) * bfaed485756a [BOLT][CMAKE] Remove CMake 3.13.4 incompatible parameter * 43b4544023b7 [LLD] [COFF] Order .debug_* sections at the end, to avoid leaving gaps if stripped * e6d2aa9b0f13 [MC][WebAssembly] Fix crash when relocation addend underlows U32 * f6a4df3a0a3d [WebAssembly] Covert llvm/test/MC/WebAssembly/reloc-code.ll to asm. NFC * 9d54fe21c67f [docs] Add RISC-V release notes for LLVM 14 * 1e3d5ccab6b6 Add cmake to source release tarballs * 0205cc086e50 [OpenMP][FIX] Ensure custom state machine works * 0826716786cd [Mips] support "sp" named register * 09546e1b5103 [libc++][doc] Update the release notes. * 8f9f84c6873e [docs] clang/docs/ReleaseNotes.rst: Add blank line * aab33202d239 [docs] PowerPC release notes formatting/grammar fixes * acf67b7a0dfc [docs] Tweak wording of note re: LTO on AIX * ce1e90fc8dba [docs] Add PowerPC release notes for LLVM 14 Signed-off-by: Khem Raj --- classes/clang.bbclass | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'classes/clang.bbclass') diff --git a/classes/clang.bbclass b/classes/clang.bbclass index 6e4c43f..71f2513 100644 --- a/classes/clang.bbclass +++ b/classes/clang.bbclass @@ -19,18 +19,18 @@ PACKAGE_DEBUG_SPLIT_STYLE:toolchain-clang = "debug-without-src" COMPILER_RT ??= "" COMPILER_RT:class-native = "-rtlib=libgcc ${UNWINDLIB}" -COMPILER_RT:powerpc = "-rtlib=libgcc ${UNWINDLIB}" +#COMPILER_RT:powerpc = "-rtlib=libgcc ${UNWINDLIB}" COMPILER_RT:armeb = "-rtlib=libgcc ${UNWINDLIB}" COMPILER_RT:libc-klibc = "-rtlib=libgcc ${UNWINDLIB}" UNWINDLIB ??= "" UNWINDLIB:class-native = "--unwindlib=libgcc" -UNWINDLIB:powerpc = "--unwindlib=libgcc" +#UNWINDLIB:powerpc = "--unwindlib=libgcc" UNWINDLIB:armeb = "--unwindlib=libgcc" UNWINDLIB_libc-klibc = "--unwindlib=libgcc" LIBCPLUSPLUS ??= "" -LIBCPLUSPLUS:powerpc = "-stdlib=libstdc++" +#LIBCPLUSPLUS:powerpc = "-stdlib=libstdc++" LIBCPLUSPLUS:armv5 = "-stdlib=libstdc++" CXXFLAGS:append:toolchain-clang = " ${LIBCPLUSPLUS}" @@ -58,8 +58,9 @@ TUNE_CCARGS:remove:toolchain-clang:powerpc = "-mhard-float" TUNE_CCARGS:remove:toolchain-clang:powerpc = "-mno-spe" TUNE_CCARGS:append:toolchain-clang = " -Qunused-arguments" -TUNE_CCARGS:append:toolchain-clang:libc-musl:powerpc64 = " -mlong-double-64" -TUNE_CCARGS:append:toolchain-clang:libc-musl:powerpc64le = " -mlong-double-64" +TUNE_CCARGS:append:toolchain-clang:libc-musl:powerpc64 = " -mlong-double-64 -fno-force-enable-int128" +TUNE_CCARGS:append:toolchain-clang:libc-musl:powerpc64le = " -mlong-double-64 -fno-force-enable-int128" +TUNE_CCARGS:append:toolchain-clang:libc-musl:powerpc = " -mlong-double-64 -fno-force-enable-int128" # usrmerge workaround TUNE_CCARGS:append:toolchain-clang = "${@bb.utils.contains("DISTRO_FEATURES", "usrmerge", " --dyld-prefix=/usr", "", d)}" @@ -81,7 +82,7 @@ RUNTIME ??= "gnu" #RUNTIME:toolchain-gcc = "gnu" RUNTIME:armeb = "gnu" RUNTIME:armv5 = "gnu" -RUNTIME:powerpc = "gnu" +#RUNTIME:powerpc = "gnu" TOOLCHAIN:class-native = "gcc" TOOLCHAIN:class-nativesdk = "gcc" -- cgit v1.2.3-54-g00ecf