| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Fixes
git/src/btf.cpp:651:10: error: no matching function for call to 'btf_dump__new'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Esben Haabendal <esben.haabendal@huawei.com>
|
|
|
|
| |
Signed-off-by: Esben Haabendal <esben.haabendal@huawei.com>
|
|
|
|
|
|
|
|
|
|
|
| |
It does not compile with altivec
TOPDIR/build/tmp/work/ppc7400-yoe-linux-musl/opencv/4.5.5-r0/recipe-sysroot/usr/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h:1345:32: error: use of undeclared identifier 'vec_sqrt'; did you mean 'vec_rsqrt'?
BF16_TO_F32_UNARY_OP_WRAPPER(vec_sqrt, a);
^~~~~~~~
vec_rsqrt
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
qemu crashes when using clang, this is not a complete fix either but its
a marker to rememeber the problem.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
base_libdir may vary e.g. when using usrmerge feature
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This was disabled for musl issue which is not related to altivec
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
The build issue is only seen on ppc32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We were never really supposed to build for multiple target architectures in one
compiler-rt build, so let's use the feature created to do exactly that.
This also happens to fix building for ARM softfp ABI builds, where the target
architecture guessing logics ends up with:
-- Builtin supported architectures: arm;armv6m
And later on bailing out because of duplicate ninja rules:
ninja: error: build.ninja:56765: multiple rules generate lib/clang/14.0.0/lib/linux/libclang_rt.builtins-arm.a [-w dupbuild=err]
Signed-off-by: Esben Haabendal <esben.haabendal@huawei.com>
|
|
|
|
|
|
|
| |
clang fails to compile it e.g.
unsupported bss-plt -fPIC ifunc mmio_write64_be
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
They need to be explicitly exported
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
brings in these fixes
* ec13fed5867f [X86] lowerV8I16Shuffle - use explicit SmallVector<SDValue, 4> width to avoid MSVC AVX alignment bug
* aaf0c921a54a [clang-repl] Add an accessor to our underlying execution engine
* d150523f0776 [AArch64] Use correct calling convention for each vararg
* fd98b0f1a6a1 [SelectionDAG] Don't create illegally-typed nodes while constant folding
* d53e2603383a [AArch64] Allow .variant_pcs before the symbol is registered
* 67a290460c37 [VectorCombine] Insert addrspacecast when crossing address space boundaries
* 353068233f21 [ELF] Fix llvm_unreachable failure when COMMON is placed in SHT_PROGBITS output section
* 311a622edd31 [Object][test] Fix invalid.test
* 1007cb795a3c [llvm-objdump] --private-headers: change errors to warnings for dynamic section dumping
* c9ec4902c3e3 [llvm-objdump][test] dos2unix some files
* 5b9dd016bec7 [SelectionDAG][RISCV] Make RegsForValue::getCopyToRegs explicitly zero_extend constants.
* e9b26b5b2a70 [RISCV] Add test case for miscompile caused by treating ANY_EXTEND of constants as SIGN_EXTEND.
* a4681df0202c [libcxx] [test] Avoid spurious test breakage in clang-cl-dll configs with newer CMake
* db07d9f098b3 [MC] Fix llvm_unreachable when a STB_GNU_UNIQUE symbol needs a relocation
* 22d7bee01a5a [PPCISelLowering] Avoid emitting calls to __multi3, __muloti4
* 23d08271a4b2 Add cmake/ to release tarballs via concatenation
* b69247dcbd80 [libcxx] random_device, specify optimal entropy properties for all OS's using arc4random()
* 63e7af77ec42 [Clang][NeonEmitter] emit ret decl first for -Wdeclaration-after-statement
* f3b89727716a [Driver][OpenBSD] Disable unwind tables on Arm
* fe5c24e93754 [docs] Fix typo in tutorial
* 99c0f85ef992 Re-commit: Driver: Don't warn on -mbranch-protection when linking
* 0547ffef5d39 workflows: Consolidate tests to reduce the number of build jobs
* bd8dc965cff1 Bump version to 14.0.1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Account for 64bit builtin atomic which are missing on mips
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Configure test crashes while using clang on riscv
aarch64 needs to use gcc until [1] is merged
[1] https://lists.openembedded.org/g/openembedded-core/message/164192
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
with clang-14 more packages are now buildable from the exlcusion list,
therefore enable clang for them.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
exporting them changes signatures of the tasks for all recipes
includeing native ones, so when meta-clang is not used it ends up
building all native recipes too. Defining these variables is good
enought for clang to see them in do_compile shell for target recipes
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
openmp is not ported for ppc32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
ppc is not yet supported by openmp
see https://github.com/llvm/llvm-project/blob/main/openmp/runtime/cmake/LibompGetArchitecture.cmake#L16
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
These variables are used during target package compiles in packages
which user llvm-config e.g. libclc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
If they are set by recipe in env, respect that
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is useful when using clang cross compiler and the packages rely on
llvm-config to detect paths and various attributes of clang/llvm install
Update to latest on 14.x as well
* 3f43d803382d [libc++] Re-enable workaround for pre-ranges CTAD in std::span
* add3ab7f4c8a [libc++] Add workaround to avoid breaking users of <span> when <ranges> are disabled
* 329fda39c507 NFC: Mention auto-vec support for SVE in release notes.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
LLVM_LIBDIR_SUFFIX is already computed fine in clang.inc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
This ensures that multilib prefix is respected in dependencies and can
be handled when distro enables multilib
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
This ensures that signature of do_patch does not change between multilib
and non-multilib builds of clang-native, this essentially hardcodes the
multilib variants to lib32 lib64 libx32 which is 99.9% usecase, if you
fall into 0.1% then go ahead and modify MULTILIB_VARIANTS in a bbappend
file and it will be fine.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
When RUNTIME=="llvm" the libcxx entry will be added in a separate if clause
right after this. We don't need it twice.
Signed-off-by: Esben Haabendal <esben.haabendal@huawei.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
clang14 crashes compiling 1.44 version
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
it will take some effort to fix it going with clang 14
due to VSX/altivec intrinsics conflicts
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Brings in these changes
* 69ba522c58d0 [Hexagon] Fix crash with shuffle_vector of v128f16
* ac3398a0b003 Revert "[CMake] Include runtimes test suites in check-all"
* df2fcea78fb8 Revert "Revert "Revert "[release] Use the Bootstrapping build for building LLVM releases"""
* 893b864cb855 Revert "GCC ABI Compatibility: Preserve alignment of non-pod members in packed structs"
* a9415df334f0 Revert "Revert "[release] Use the Bootstrapping build for building LLVM releases""
* e54a7bf0c0f1 [CMake] Include runtimes test suites in check-all
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Workaround qemuppc illegal instruction trap on vxor instruction emulation
this instruction is emitted by clang with -mcpu=7400 on ppc32 when
compiling musl/strspn.c file
The crash shows up running qemu-ppc via gobject-introspection, so a long
unwieldy path but we know whats happening
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
ppc32 build fails, disable for now
NativeThreadLinux.cpp:(.text._ZN12lldb_private13process_linux17NativeThreadLinuxC2ERNS0_18NativeProcessLinuxEy+0x84): undefined reference to `lldb_private::process_linux::NativeRegisterContextLinux::CreateHostNativeRegisterContextLinux(lldb_private::ArchSpec const&, lldb_private::process_linux::NativeThreadLinux&)'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Disable LuaJIT on rv64 since its not yes ported
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
llvm versions have a known bug
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
This is to workaround issue [1] seen with LLVM mips
[1] https://github.com/llvm/llvm-project/issues/54213
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
This reverts commit a6cea51ab2b0923340012655ac0f13afba899e57.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 65d53279b1fd RISCV] More correctly ignore Zfinx register classes in getRegForInlineAsmConstraint.
* f1e7f848bf3e [clang][tests] Fix ve-toolchain tests with CLANG_DEFAULT_UNWINDLIB
* 6d5afef3a7e6 [examples][BuildingAJIT] Use the right layer when adding code in Chapter 3.
* 4fde843cd5c0 [ORC] Set ResolverBlockAddr in EPCIndirectionUtils::writeResolverBlock.
* a98c04d58930 [Attributor][FIX] Use liveness information of the right function
* 261253aa60cc [Clang][docs] Add preprocessor changes to ReleaseNotes.
* 967296bfefee [RISCV] Fix inline asm errors in zfinx
* 4c9110a5f37b [MIPS] Recognize DT_MIPS_XHASH dynamic table tag
* ce3d57ad61db Revert "[BPF] Fix a BTF type pruning bug"
* 19149538e9a9 [BPF] Fix a BTF type pruning bug
* da33d400682a [SLP] Don't try to vectorize pair with insertelement
* 3001b0d51963 [fir] Fix FlangOptimizerTests link on Solaris
* 41d4f89e38b7 [X86ISelLowering] permit BlockAddressSDNode "i" constraints for PIC
* d245bcf536a3 [Mangler] Mangle aliases to fastcall/vectorcall functions correctly
* 0372676278dd [AArch64][SME] Remove term 'streaming-sve' from assembler diagnostics.
* f58ab3285021 [Attributor][FIX] Pipe UsedAssumedInformation through more interfaces
* 4327d39b15b2 [libcxx] Add an explicit option to build against system-libcxxabi
* 3d913ec92308 [llvm] [cmake] Fix finding modern ounit2
* b3e9abd9683b [libunwind] Further fix for 32-bit PowerPC processors without AltiVec
* d09f84adff1e [compiler-rt] Force ABI to libcxxabi when building cxustom libc++
* e08bab88c900 [Driver][DragonFly] -r: imply -nostdlib like GCC
* 21f87ad9f590 [Driver][NetBSD] -r: imply -nostdlib like GCC
* 779871c3515a [mlir-tblgen] Fix non-deterministic generating static verifier in DRR.
* 4de8e5698278 [RISCV] Fix parseBareSymbol to not double-parse top-level operators
* b29813fbbbaf [OpenMP] Use executable path when searching for lld
* 14c432b6a17a [OpenMP] Add search path for llvm-strip
* 453361d5ac01 [DSE] Fall back to CFG scan for unreachable terminators.
* 03cf88fc94da [DSE] Extract a common PDT check (NFC)
* ee0ae47691d3 [RISCV] Avoid infinite loop between DAGCombiner::visitMUL and RISCVISelLowering::transformAddImmMulImm
* 61e78c64a38a [libunwind] Only include cet.h if __CET__ defined
* 5f5b687460c3 Fix warning introduced by 47eff645d8e873ba531014751c1c06a716a367e9
* 64534d2f406c [InstCombine] Bail out of load-store forwarding for scalable vector types
* 4fe93c000b20 [SLP] Fix assert from non-constant index in insertelement
* a2398c560144 [Driver][OpenBSD] Enable unwind tables on all architectures
* aadd03a2accd [clang][ASTReader] Fix memory leak while reading FriendTemplateDecls
* 8a323ada234b [clang][SemaTemplate] Fix a stack use after scope
* d61805a8b686 [libc++] Fix double file closing in `std::filesystem::remove_all()`.
* f8ca5fabdb54 [ELF][X86] Don't create IBT .plt if there is no PLT entry
* 8400036358c8 [libunwind][test] remember_state_leak.pass.sh.s: link with -no-pie
* df3182a7df19 [clang] [test] Skip hip-fpie-option.hip if default-pie
* cdd8cca0c33c [ELF] Support some absolute/PC-relative relocation types for REL format
* e89602b7b2ec [clang-tidy] Fix `readability-suspicious-call-argument` crash for arguments without name-like identifier
* 1f7e8b1c6893 [Docs] Added note about LLDB Win/Arm64 binary release
* bdbca8f3d0b2 [asan][test] asan_prelink_test.cpp: use -fno-pie -no-pie
* 3e10605abcb2 [Driver][test] Remove soon irrelevant pie tests
* 2a492dfd6b4e [Driver][test] Make hexagon-toolchain-elf.c work with CLANG_DEFAULT_PIE_ON_LINUX=on
* 443f68c280ac [clang][test] Make mips-vector-return.c work with CLANG_DEFAULT_PIE_ON_LINUX=on
* 500889f56bce [MIPS] Add `-no-pie` option to the clang driver's tests depend on it
Drop 0036-Avoid-infinite-loop-between-DAGCombiner-visitMUL-and.patch
which is upstreamed now.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
See https://github.com/meta-qt5/meta-qt5/pull/453
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Workaround for clang crash
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This reverts d5219d8 and 24e8c73 since clang has been fixed now
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Backport a fix to avoid compiler hangs on RISCV [1]
This brings following changes
* 2fe5bf57172c [Driver] Use libatomic for 32-bit SPARC atomics support
* 46266b3518b6 [mlir][sparse] Rename index_t to index_type again
* 03d9a4094763 [AArch64][SVE] Fix selection failure during lowering of shuffle_vector
* 8b5b29c4c2c5 Fix incorrect TypeSize->uint64_t cast in InductionDescriptor::isInductionPHI
* 8c33ea3ab0ef [SVE][CodeGen] Bail out for scalable vectors in AArch64TargetLowering::ReconstructShuffle
* 1362f8bdfce7 [AArch64][SVE] Fix selection failure caused by fp/int convert using non-Neon types
* 88f8980a4d95 [AArch64][SVE] Add structured load/store opcodes to getMemOpInfo
* cefe6876d6e5 [llvm-objcopy][COFF] Fix section name encoding
* 3367c24735c3 [COFF] Move section name encoding into BinaryFormat
* 9672d11441fd [MLIR][Presburger] Disambiguate call to floor
* 08ad9ae10f32 [InstSimplify] Strip offsets once in computePointerICmp()
* 5593af72d0c5 [Attributor][FIX] Heap2Stack needs to use the alloca AS
* b3d3501aa128 [OpenMP][FIX] Eliminate race on the IsSPMD global
* 9bf8897c84f7 [OpenMP] Add RTL function to externalization RAII
* 56ac6dbc7369 [RuntimeDyld] Fix building on OpenBSD
* fef110bf8b2b [clangd] Fix building SerializationTests unit test on OpenBSD
* 13fdc7afa856 [Attributor][FIX] Reachability needs to account for readonly callees
* f3cfaf8bc8eb [MemoryBuiltins][FIX] Adjust index type size properly wrt. AS casts
* c06cc1c3a7f8 [libc++] Fix std::__debug_less in c++17.
* 7d8e83dab37a [funcattrs] check reachability to improve noreturn
* e1b3afbbdef1 [SLP] Simplify indices processing for insertelements
* 1e340705f142 [PowerPC] Add default handling for single element vectors, and split/promote vNi1 vectors.
* 908c1bae6e7f [RISCV] Fix incorrect extend type in vwmulsu combine.
[1] https://github.com/llvmbot/llvm-project/pull/95
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Workaround Clang14 crash
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Clang14 is currently crashing in optimizers, therefore workaround it by
using -O0 for now.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|