| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
We are not _yet_ using clang as kernel compiler
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 299a5fd24b7bee2191127c9fef8bd39d807f3492)
|
|
|
|
|
|
|
|
|
|
| |
Add "erlang" for all architectures (found on riscv64 and x86-64)
Add "grub" for x86-64 architecture
Use proper OBJCOPY for "linux-yocto" for all architectures
Signed-off-by: Aleksey Smirnov <aleksey.smirnov@yadro.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit f7fa299e3e759f0cd9bcd57fffcf8d9051e5d2ea)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Brings these changes
* 1f9140064dfb Bump version to 14.0.3
* 2e7e14177186 workflows: Add a test to ensure that the LLVM version is correct
* 0e27d08cdeb3 [RISCV] Fix crash for section alignment with .option norvc
* a36801750327 [asan] Always skip first object from dl_iterate_phdr
* 1f4c7b2a9120 [RISCV] Don't emit fractional VIDs with negative steps
* e19be4195b87 [RISCV] Add another test showing incorrect BUILD_VECTOR lowering
* 9efcce92b55b [RISCV] Fix lowering of BUILD_VECTORs as VID sequences
* 21ce6cfd1d93 [RISCV] Add tests showing incorrect BUILD_VECTOR lowering
* 58d5fbe2c20b [llvm-mt] Add support /notify_update
* 50c6ba751fa2 [RISCV] Only try LUI+SH*ADD+ADDI for int materialization if LUI+ADDI+SH*ADD failed.
* dc30b0d3320d [ELF] --emit-relocs: fix missing STT_SECTION when the first input section is synthetic
* 324127d8da95 [libcxx] Add some missing xlocale wrapper functions for OpenBSD
* ebf29ba9f0a3 [LV] Remove stray debug dump added in 0d2efbb8b82c.
* 0d2efbb8b82c [LV] Always use add to add scalar iv and (startidx + step) for ints.
* e7a9fd4f57d6 [LV] Add test case for PR54427.
* 9a3e81e1f91f [InstCombine] canonicalize select with signbit test
* b83c4a2dc0fb [x86] Fix infinite loop inside DAG combiner with lzcnt feature.
* 0fbe860711be [Clang][Fortify] drop inline decls when redeclared
* 571c7d8f6dae Reland "[llvm][AArch64] Insert "bti j" after call to setjmp"
* 0f56ce0fb207 [DebugInfo][InstrRef] Avoid a crash from mixed variable location modes
* e8f03f2057ee Force GHashCell to be 8-byte-aligned.
* 09fba23d41f7 [compiler-rt] Implement __clear_cache on FreeBSD/powerpc
* 33504b3bbe10 [PowerPC] Allow absolute expressions in relocations
* 3400d0293a14 [CMake] Update cache file for Win to ARM Linux cross toolchain builders. NFC.
* 6c41c8edb0cc [CMake] Replace `TARGET_TRIPLE` with `TOOLCHAIN_TARGET_TRIPLE` for Win-to-Arm cross toolchain cache file. NFC.
* b6dbee34387d [CMake] Update cache file for Win to ARM cross tooolchain. NFC.
* 46d19f3a8699 [CMake] Use CMAKE_SYSROOT to build libs for Win to ARM cross tooolchain. NFC.
* e11b929a3c97 [LLD][COFF] Fix TypeServerSource matcher with more than one collision
* d800180f6bee [lld][COFF] Fix TypeServerSource lookup on GUID collisions
* 8c3445ac1c8b [AArch64][LOH] Don't ignore regmasks in bundles by iterating over instrs.
* 43ee392dd462 [InstCombine] try to fold low-mask of ashr to lshr
* 5ea5e3c01b7b [InstCombine] add tests for low-mask of ashr; NFC
* fe8a27acd716 [LV] Handle zero cost loops in selectInterleaveCount.
* 2c4d288eae8b [RISCV][NFC] Add missing lit.local.cfg in test/CodeGen/MIR/RISCV/
* d0f27fb44952 [RISCV] Fixing stack offset for RVV object with vararg in stack.
* b6e91d4a331e [RISCV] Pre-commit for fixing stack offset for RVV object
* 87599bdabbd1 [RISCV] Store/restore RISCVMachineFunctionInfo into MIR YAML file
* 5c9eed741dbd [libc++] Make __dir_stream visibility declaration consistent
* c62053979489 [AArch64] Fix the upper limit for folded address offsets for COFF
* 6697c5bc3a1e [compiler-rt] [scudo] Use -mcrc32 on x86 when available
* 8475349bd639 [AARCH64] ssbs should be enabled by default for cortex-x1, cortex-x1c, cortex-a77
* d4e3c50b2bda [libc++] Define `namespace views` in its own detail header.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 85d956d95401479ca666139e31f662f60c156d5f)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
(cherry picked from commit f50840f34d5fb9529da5354e0e6796752b03ca5f)
|
|
|
|
|
|
|
|
|
|
| |
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>
(cherry picked from commit 3882c27310b16e6fc097cca1966cea591769cc5c)
|
|
|
|
|
|
|
|
| |
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>
(cherry picked from commit aa770155dcfee2caf575f28ecef26acfbe1060b3)
|
|
|
|
|
|
|
|
| |
This is until upstream bugs are fixed, linux-firmware change however is
legit and will be permanent
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 9ad53591eaf522f8fcbc0c8e0e9e6c55ccdf8272)
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 6b79646f85f3293e0fbedf07592a94860d659053)
|
|
|
|
|
|
|
|
|
| |
They seem to be necessary with clang 12. The recent cherry-picks have
introduced native versions of the libc++ and libc++abi recipes, and I have
managed to finish a full build of chromium-ozone-wayland-114.0.5735.198
without these changes.
Signed-off-by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
|
|
|
|
|
| |
Signed-off-by: Hsia-Jun(Randy) Li <randy.li@synaptics.com>
(cherry picked from commit a494bbb6ec44a723703951a061c2adde5bca6852)
|
|
|
|
|
|
|
|
| |
glibc is not yet compilable for clang
and glibc-tests is driven out of glibc sources in essense
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 81dca6d47885a35ffe9c05827e83670d500b7535)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bump minor release to 13.0.1
Drop patch to remove git from PACKAGE_VERSION, this is already
eliminated from upstream
Following changes are part of this change
* 08e3a5ccd952 [IntelJITListener] Fix order in JitListener/multiple.ll
* 26e2c97bf14c [openmp] [elf_common] Fix linking against LLVM dylib
* eb845520ac3c compiler-rt: Fix arch detection for ppc64le
* ec4829efcc94 fixes bug #51926 where dangling comma caused overrun
* 73daeb3d507f [CUDA] Make sure <string.h> is included with original __THROW defined.
* 3ee9a2b63cfd [Support][mips] Remove unnecessary includes from Memory.inc
* 47f53eec6485 [Mips] Add glue between CopyFromReg, CopyToReg and RDHWR nodes for TLS
* 914355ee793c [CMake] Re-enable use --gc-sections on OpenBSD
* 2ac023cd540a [clang] Omit most AttributedStatements from the CFG
* 30c05f43b662 [runtimes] Properly handle the sysroot/triple/gcc-toolchain
* a797306b7721 [clang-format] [PR51640] - New AfterEnum brace wrapping changes have cause C# behaviour to change
* 0a5ae011cd23 [HIP] Fix test rcom-detect.hip
* 1a40203f8e94 workflows: Update lldb workaround to latest version of Mac OS X
* 8a93745a7121 Remove "In Progress" text from release notes
* 449f3049b507 [GHA] Cancel intermediate builds on PRs
* cf15ccdeb6d5 Bump version to 13.0.1
* fd1d8c2f04dd [cte] Release notes for clangd-13
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d246141aaf71c739d50e32d0c10e12eecf920e45)
|
|
|
|
|
|
|
| |
It needs symbols like __multf3 which are not in compiler-rt
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 8f0c09e191340358319889b6f54af5227de3e9ec)
|
|
|
|
|
|
|
|
| |
This uses static link and glibc uses libgcc intrinsics which otherwise
are undefinded. Glibc is built using gcc + gnu runtime still
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 0516983c48d6aad32a133f73d308125edd146f1c)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Latest jack does not build with clang-13 for 32bit arches
| In file included from ../git/common/JackFreewheelDriver.cpp:23:
| ../git/common/JackEngineControl.h:67:5: error: requested alignment is less than minimum alignment of 8 for type 'Jack::JackTransportEngine'
| alignas(UInt32) JackTransportEngine fTransport;
| ^
| ../git/common/JackEngineControl.h:89:5: error: requested alignment is less than minimum alignment of 8 for type 'Jack::JackFrameTimer'
| alignas(UInt32) JackFrameTimer fFrameTimer;
| ^
| 2 errors generated.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit e4978cc3ef008c69a49295dc8bc997b8291f6b11)
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d2a30f0fd7377c1e19c778dc6b82dca4fa21c0d4)
|
|
|
|
|
|
| |
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 17737cc4ecd3aea2c978bf83e283bcb08d097487)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
clang13 based builds are failing during postprocessing
Mismatch between symbols in shared library and lists in .exported_symbols.* files: dm_bit_get_prev
| dm_config_clone_node
...
dm_udev_wait
| make[1]: *** [../libdm/make.tmpl:511: .export.sym] Error 1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 17c9d4406c725fffe24eddb7a6d23228f3bdea94)
|
|
|
|
|
|
|
|
| |
integrated assembler crashes latest clang on aarch64, so lets disable it
for now
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 9d89acd175067a828313b8b2a215e6f7595f61b5)
|
|
|
|
|
|
|
|
|
| |
these packages do static linking in parts and when libc is glibc then it
has linked in some portions of libgcc since we can not use clang to
compile glibc yet. Therefore use libgcc where needed for now
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit bf842214267663966ffa34e170368d55fcebd883)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
clang 13 does not like to mix rtlib and unwindlib when using libgcc
Fixes
clang-13: error: --rtlib=libgcc requires --unwindlib=libgcc
secondly compiler-rt does not havw 128 bit ( tf ) functions
on x86 so fallback to libgcc for those
use libatomic for x86 since 64bit atomics are not in compiler-rt
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 96face19ae51510d5e5923e575496844b5b85e62)
|
|
|
|
|
|
|
|
|
| |
clang13 has a regression which segfaults the compiler while compiling
poke, its reported upstream, until it is fixed do not use -O2 compiler
switch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d01e38f98bb03d9afa72e9dfc10eb936fc6a4c29)
|
|
|
|
|
|
|
|
| |
The defaults wirh using RUNTIME = "llvm" is already pointing to
compiler-rt there is no need to clutter cmdline
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 785ce0f2df336ea2c7ef40a3e64eb84656f59eeb)
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes linker errors like
src/mongo/platform/overflow_arithmetic.h:63: error: undefined reference to '__mulodi4'
src/mongo/platform/overflow_arithmetic.h:63: error: undefined reference to '__mulodi4'
src/mongo/platform/overflow_arithmetic.h:63: error: undefined reference to '__mulodi4'
src/mongo/platform/overflow_arithmetic.h:63: error: undefined reference to '__mulodi4'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 0c02a3503f6b240ec34c68bc9c00407bae2b0fa4)
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 55978074f349330367ffbbf991e3287141f8fe4d)
|
|
|
|
|
|
|
|
| |
Since clang maybe configured to use llvm runtime, we need to ensure to
use gnu runtime in native builds
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 563e11548bfe95444d447e058001d3d1da5fe8e8)
|
|
|
|
|
|
|
| |
Avoids conflicts with libunwind recipe from OE-Core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 5be1042c67063354217154e3c35ed83408d916ce)
|
|
|
|
|
|
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 76e37fafa29e9b2097eb823537b17d6cc638c1d5)
Conflicts:
- recipes-devtools/clang/common.inc: caused by
3880a395f870ecd8da73d2de1e2b88a855df2ef0, the patches have been kept.
The patch introduced in fdb936e80b30f40cbf7ef9a8e124b58eec95f45c is part
of LLVM 13 so it has been removed.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
native versions of libcxx and compiler-rt are only available in honister
and newer
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Master meta-browser has moved away from gcc completely even for native
portions, but those changes require master branch of meta-clang as well
for older layers where older than clang 13 is used, lets undo those
changes
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| |
| |
| | |
The problem is fixed and the workaround actually breaks things
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Allow building valgrind with clang -- merge a patch
from the Android NDK to fix the valgrind+clang aarch64
combo
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
| |
| |
| |
| | |
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
| |
| |
| |
| |
| |
| |
| | |
Make sure invalid assembly code isn't included even in
unreachable code; remove TOOLCHAIN=gcc workaround.
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
| |
| |
| |
| |
| |
| |
| | |
ppp's use of nested functions and gcc specific flags has been fixed.
The workaround is no longer necessary.
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
| |
| |
| |
| |
| |
| |
| | |
Building it with gcc was a workaround for a bug that has been fixed
a long time ago. The workaround is no longer necessary.
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
| |
| |
| |
| |
| |
| |
| | |
The problem preventing this from succeeding earlier has already
been fixed in libffi. There's no reason to keep the workaround.
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
| |
| |
| |
| | |
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
| |
| |
| |
| |
| |
| |
| | |
babeltrace2 failed to build with clang because of a bug in babeltrace.
Fixing babeltrace is a better fix than forcing it to build with gcc.
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
| |
| |
| |
| |
| |
| | |
Pixman needs workarounds for clang on 32-bit ARM
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
| |
| |
| |
| | |
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Makefiles in u-boot-seco-imx hardcode gcc use - make sure the
requested compiler is available even with TOOLCHAIN="clang"
Fixes https://git.ostc-eu.org/OSTC/OHOS/meta-clang/-/issues/2
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The problem is Makefiles in u-boot and trusted-firmware hardcoding compiler
calls.
This should be fixed at some point; until then, use the gcc toolchain for
these components.
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
| |
| |
| |
| | |
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
| |
| |
| |
| |
| |
| | |
This is advertised option from clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
clang -ftrapv, needs compiler-rt [1]
[1] https://github.com/openssh/openssh-portable/blob/master/INSTALL#L7
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| |
| |
| | |
it has its own branch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|