| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
do_populate_sysroot will execute the cross STRIP as part of the
processing. In non-clang builds this is present via POPULATESYSROOTDEPS
pulling in binutils, but in clang builds STRIP is set to llvm-strip which
obviously isn't part of binutils.
Set POPULATESYSROOTDEPS correctly to ensure that do_populate_sysroot has
the strip binary available.
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
|
|
|
|
|
| |
its not going to be backward ABI compatible with honister due to variable renaming.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Enable riscv64 as the support is now available
this update is needed for it to work with clang14
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
These tools are better integrated with clang produced output consumption
pipeline, therefore use them when using clang as compiler
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 42a797ef011b [ELF] Fix .strtab corruption when a symbol name is empty
* 4dc3cb8e3255 ReleaseNotes: add BOLT subsection
* 192d9680c1b1 [RISCV] add the MC layer support of Zfinx extension
* 1e348e6042fc [OpenCL] Guard atomic_double with cl_khr_int64_*
* 880717cc801d clang-analyzer plugins require LLVM_ENABLE_PLUGINS also
* 9bc22aa50780 [OpenMP][CUDA] Refine the logic to determine grid size
* ecdd25c86511 [Debuginfod] [Symbolizer] Break debuginfod out of libLLVM.
* b0ae8076cf4c [SDAG] enable binop identity constant folds for fmul/fdiv
* 6311bae1b424 [X86] Add test cases for fmul/fdiv with select.
* 812894f74a8a [runtimes] Move warning messages for FOO_SYSROOT & friends above their default value
* c561bf0daa95 [runtimes] Add release note for deprecation of FOO_SYSROOT & friends
* 8b10e0a84047 [runtimes] Deprecate FOO_SYSROOT & friends
* 89309e187631 [lld] One more formatting fix for the release notes
* 9e1f13d14e19 [lld] Fix RST formatting in release notes
* 5264342c242b [Docs][OpenCL] Update OpenCL 3.0 status in docs.
* e8712accba11 [Docs][OpenCL] Release 14 notes.
* b54c95790b8a [Docs] Release 14 notes for SPIR-V in clang.
* fc2dbf90d12a [libc++] Mark test as unsupported with apple-clang
* edf64474d662 [ELF][PPC64] Fix assertion failure for branches to hidden undefined weak for -no-pie
* 2fc17e919f0c [libc++] Temporarily silence failing debug mode test
* dfc24b8522ba [libc++][NFC] Work around false positive ODR violations from ASan.
* 199e05e34bb8 [libc++] Add missing UNSUPPORTED for the has-no-incomplete-ranges test
* 7fdca71be63a [libc++] Guard much of std::ranges under _LIBCPP_HAS_NO_INCOMPLETE_RANGES.
* e493f08f8222 [lld-macho] Fill out release notes for 14.x
* ea97fc6b564e [OpenMP][FIX] The `llvm.amdgcn.s.barrier` is actually not aligned
* 062111fe8073 InferAddressSpaces: Fix assert on inferred source for inttoptr/ptrtoint
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
These provide the cross tool prefixed with CROSS_COMPILE tuples
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
for riscv
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: yangpeng1995 <1336781165@qq.com>
|
|
|
|
|
|
| |
This version supports llvm main, llvm 13.x, and llvm 14.x.
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
latest opensbi seems to build fine now a days
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
When building libunwind, install new headers which are refactored from
unwind.h in clang 14.0.0 onwards
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Drop upstreamed patch 0001-Remove-APInt-APSInt-toString-std-string-variants.patch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Commit a494bbb6ec44 ("clang: support android runtime") introduced an
unrelated change causing builds with RUNTIME="llvm" and COMPILER_RT not
set to get a dependency on virtual/${TARGET_PREFIX}compilerlibs.
This is clearly unrelated to addition of support for android runtime,
and causing unwanted depdencies to gcc-runtime for LLVM builds.
Signed-off-by: Esben Haabendal <esben.haabendal@huawei.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Fixes a warning additionally generated by clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
It needs work to get going with clang. Until then keep using gcc
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>
|
|
|
|
|
|
|
| |
The code has inline arm asm in header files which is not compilable with
clang's internal assembler.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes in this uprev
* 75e33f71c2da [X86] combineVectorHADDSUB - remove the broken HOP(x,x) merging code (PR51974)
* 6349865a8f37 [CMake] Don't use -fno-semantic-interposition with Clang<=13
* b3dcd156472f [ARM] Define ComplexPatternFuncMutatesDAG
* 1f1854ce0fe5 [Driver][test] Fix undefined-libs.cpp when CLANG_DEFAULT_UNWINDLIB is libunwind
* fc043d8a256b Revert "[lld][CMake] Add LLD_DEFAULT_NOSTART_STOP_GC"
* 5869ea6c6254 [sanitizer] msan build fix on non linux platforms
* b9a243d1cac2 (tag: llvmorg-13.0.1-rc2) [Coroutines] Enhance symmetric transfer for constant CmpInst
* 9d9efb1f67ff [lld][CMake] Add LLD_DEFAULT_NOSTART_STOP_GC
* 52a400d8e4c4 [InlineCost] model calls to llvm.is.constant* more carefully
* eaeb7dcf3249 ARM: make FastISel & GISel pass -1 to ADJCALLSTACKUP to signal no callee pop.
* eecd0f055baa Have lit preserve SOURCE_DATE_EPOCH
* bfb1bd1b9906 [Clang][Sema] Avoid crashing for va_arg expressions with bool argument
* 1ac6bb3c4dd4 [Clang][CFG] check children statements of asm goto
* 12aaa8553f82 [InstCombine] Remove attributes after hoisting free above null check
* 35df3f98639e [DIArgList] Re-unique after changing operands to fix non-determinism
* 0f915e755eae [RegAllocFast] Fix nondeterminism in debuginfo generation
* 33f7aa65f5d7 [DSE] Fix invalid removal of store instruction
* 426297cce9d5 [DSE] Add test case showing bug PR52774.
* 0d44201451f0 [MachineOutliner] Don't outline functions starting with PATCHABLE_FUNCTION_ENTER/FENTRL_CALL
* 69fcfdedc505 [AArch64][GlobalISel] Fix an crash in RBS due to a new regclass being added.
* d31f8cc6884b [AArch64] Avoid crashing on invalid -Wa,-march= values
* 67b5bc26bde8 [DebugInfo] Check DIEnumerator bit width when comparing for equality
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
| |
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Extending poky's create-spdx class for SDKs results in a dependency loop:
nativesdk-clang-glue.bb:do_create_spdx ->clang_git.bb:do_create_spdx ->
clang-crosssdk_git.bb:do_create_spdx ->
nativesdk-clang-glue.bb:do_create_spdx. Delete spdx tasks from
nativesdk-clang-blue.bb
Signed-off-by: Andres Beltran <abeltran@microsoft.com>
|
|
|
|
|
|
|
| |
run-clang-tidy.py is being run on unique files only
when using this patch
Signed-off-by: Serikzhan Kazi <doze-tile-ruse-exit@mbition.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This brings in
* 9468a0f95385 [PowerPC] Define XL-compatible macros only for AIX and Linux
* ae24102617c9 [X86] Don't add implicit REP prefix to VIA PadLock xstore
* c95753ff5c11 [NFC][X86] Add MC tests for all untested VIA PadLock instructions
* d9f927f2cfe8 [sanitizer] Disable test incompartible with recert GLIBC
* abc0cf92bb14 [sanitizer] Intercept lstat on Linux
* b40f07b048c4 [msan] Add stat-family interceptors on Linux
* 59289a837b00 [AA] Handle callbr instructions in alias analysis
* 5b2990a6ff77 [ELF] #undef PPC to support GCC powerpc32 build
* bdd28a2a138f [sanitizer] Don't test __pthread_mutex_lock with GLIBC 2.34
* 2c6c3e4b713b [asan] Fix "no matching function" on GCC
* c1b51f098751 [msan] Disabled test failing on new GLIBC
* 578e500fe5ba [Sparc] Create an error when `__builtin_longjmp` is used
* cd4ebb2918ae [LazyCallGraph] Skip blockaddresses
* d4a57c84834c workflows: Update workaround for lldb on Mac OS
* d96358a28193 [compiler-rt] Increase kDlsymAllocPoolSize to fix test failures
* c446ac46746e [Passes] Fix relative lookup table converter pass
* 9fb79e6940b2 [PowerPC] Handle base load with reservation mnemonic
* e68f640deecc [ELF][PPC32] Make R_PPC32_PLTREL retain .got
* 87ca22cba2fa [Support] Attempt to fix deadlock in ThreadGroup
* d904698b53e4 [Analysis] Ignore casts and unary ops for uninitialized values
* 5932c004778c [MC][ELF] Fix accepting abbreviated form with Type change
* 29276490d13c [MC][ELF] Do not error on parsing .debug_* section directive for MIPS
* 724ed207b760 [ELF] Hint -z nostart-stop-gc for __start_ undefined references
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
This helps in creating cross utilities to be used during OE cross builds
as noted in
Issue #491
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Hsia-Jun(Randy) Li <randy.li@synaptics.com>
|
|
|
|
|
|
|
|
| |
```virtual/${TARGET_PREFIX}binutils``` shall be used and not ```binutils-cross-${TARGET_ARCH}```
In the case of an external arm toolchain, ```binutils-cross-aarch64``` does not exist and creates following error:
```
Missing or unbuildable dependency chain was: ['tisdk-base-image', 'packagegroup-core-standalone-sdk-target', 'libcxx-dev', 'compiler-rt', 'clang-cross-aarch64', 'binutils-cross-aarch64']
```
Signed-off-by: Guillaume Pais <guillaume.pais@siemens.com>
|
|
|
|
|
|
| |
Ensures right dependencies are added, and keep it off by default
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This is new variable added in clang 14+ to defaultl to PIE
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Fixes brought in
* f3394dc82c20 [libc++] Fix wrongly non-inline basic_string::shrink_to_fit
* 52bfd2c1ccd8 [ELF] Do not report undefined weak references in shared libraries
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Build on OpenEmbedded Host, compiler-rt-native do_configure failed with
following error:
compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/bin/clang -target x86_64-linux
-isystem/path/to/x86_64-linux/compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/include
-O2 -pipe
/path/to/compiler-rt-native/13.0.1-r0/recipe-sysroot-native/usr/share/cmake-3.21/Modules/CMakeCCompilerABI.c`
| /build/tmp-glibc/hosttools/ld: cannot find crtbeginS.o: No such file or directory
| /build/tmp-glibc/hosttools/ld: cannot find -lgcc
| /build/tmp-glibc/hosttools/ld: cannot find -lgcc
| clang-13: error: linker command failed with exit code 1 (use -v to see invocation)
Since OpenEmbedded Host's gcc install path is different with clang's
default search form, patch for OpenEmbedded Host's gcc library install
path.
Signed-off-by: Changqing Li <changqing.li@windriver.com>
|
|
|
|
| |
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
|
|
|
|
|
|
|
| |
While building bcc for the target it depends on flex target recipe. So
add that dependency explicity.
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
libcxx does not build for armv5 due to atomic locks issue
and compile-rt cross build needs to be fixed for ppc32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes in this release
* 19b8368225dc [X86][VARARG] Assign MMO earlier to avoid prolog insert point been sunk across VASTART_SAVE_XMM_REGS
* 41c85bbb43e4 [X86][NFC] Pre-commit test to show prolog insert problem
* 9dc7d6d5e326 [SystemZ] Give the EXRL_Pseudo a size value of 6 bytes.
* 32bb956916e3 Bad SLPVectorization shufflevector replacement, resulting in write to wrong memory location
* 93edfb23b18b [SLP][NFC]Add a test to show an issue with incorrectly extracted pointers.
* 162f3f18c945 [Aarch64] Correct register class for pseudo instructions
* 8be24d19fefa [MergeICmps] Don't merge icmps derived from pointers with addressspaces
* 9e084f4194e6 Fix building with GCC 12:
* d5159b99105d MLIR can't support -Bsymbolic link option, fail at CMake time with a helpful message instead of broken ru ntime
* ff2cb6e400c3 [clang] Partially revert d8cd7806310c51af912a647a6ca46de62ff13214.
* ed38280d006c [ARM] Use hardware TLS register in Thumb2 mode when -mtp=cp15 is passed
* 216200aff268 [libc++] Fix hang in counting_semaphore::try_acquire
* 00f64ccb49d9 [libc++] Remove non-atomic "platform" semaphore implementations.
* 6cf25deec7d0 [libc++] counting_semaphore should not be default-constructible.
* d218ef07a072 Re-apply the fix on DwarfEHPrepare and add a test
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
cmake 3.22+ is causing install failures e.g.
| -- Install configuration: "Debug"
| -- Installing: /mnt/b/yoe/master/build/tmp/work/armv7at2hf-neon-yoe-linux-gnueabi/libcxx/13.0.1-r0/image/usr/lib/libc++.so.1.0
| -- Installing: /mnt/b/yoe/master/build/tmp/work/armv7at2hf-neon-yoe-linux-gnueabi/libcxx/13.0.1-r0/image/usr/lib/libc++.so.1
| -- Set runtime path of "/mnt/b/yoe/master/build/tmp/work/armv7at2hf-neon-yoe-linux-gnueabi/libcxx/13.0.1-r0/image/usr/lib/libc++.so.1.0" to ""
| -- Installing: /mnt/b/yoe/master/build/tmp/work/armv7at2hf-neon-yoe-linux-gnueabi/libcxx/13.0.1-r0/image/usr/lib/libc++.so
| CMake Error at cmake_install.cmake:88 (file):
| file RPATH_CHANGE could not write new RPATH:
|
|
|
| to the file:
|
| /mnt/b/yoe/master/build/tmp/work/armv7at2hf-neon-yoe-linux-gnueabi/libcxx/13.0.1-r0/image/usr/lib/libc++.so
|
| Call Stack (most recent call first):
| /mnt/b/yoe/master/build/tmp/work/armv7at2hf-neon-yoe-linux-gnueabi/libcxx/13.0.1-r0/build/projects/libcxx/cmake_install.cmake:56 (include)
|
Apply a workaround by building install time rpaths directly during build time
too.
Real fix perhaps will be in cmake somewhere.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Bitbake now shows warnings if branch parameter is not supplied
explicitly.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
|
|
|
|
|
|
| |
Github no longer supports fetching using git protocol and bitbake now
requires explicit branch.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
|
|
|
|
|
| |
lnr is deprecated, simply use ln -rs instead.
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
|
|
|
|
|
|
|
| |
github has stopped supporting anonymous git protocol and bitbake now
warns about branch not being explicit, master is no more a viable
fallback
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
clang does not like __builtin_return_address macro and errors out
| error: return address can be determined only for current frame
| 18 errors generated.
| make: *** [Makefile:81: libgcompat/execinfo.o] Error 1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|