| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Provides libLLVM when using clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
This fails to build otherwise
x86_64-yoe-linux-ld.lld: error: version script assignment of 'LIBCXL_3' to symbol 'cxl_mapping_get_region' failed: symbol not defined
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
| |
distutils package no longer exists after python 3.12 upgrade.
I haven't run ptest for this, but at least it will parse well now.
|
|
|
|
|
|
| |
This should fix the layer check runs.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
These tests could be fixed in valgrind if we did not treat linux == gcc
assumption. On manual inspection, these tests are not really failing but
clang based systems emit more information ( assembly file info in debug
info)
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>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The Mesa Clover meson.build script passes two options to llvm-config
script, --libs --ldflags. The script from meta-clang passes control to
the native llvm-config script, which unfortunately results in the native
dynamic linker option leaking to the cross build. Fix that by adopting
the approach from OE-core and filter known options before calling into
the native llvm-config.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"runtime:regression" in ptest gets the following FAILED:
| nm: ./testprogs/uprobe_test: no symbols
Keep the debug info of uprobe_test to pass this ptest item.
the steps to repruduce:
$export BPFTRACE_RUNTIME_TEST_EXECUTABLE=/usr/bin
$cd /usr/lib/bpftrace/ptest/tests
$python3 runtime/engine/main.py --filter="regression.*"
***
| [ FAILED ] regression.address_probe_invalid_expansion
| Command: /usr/bin/bpftrace -e "uprobe:./testprogs/uprobe_test:0x$
| (nm ./testprogs/uprobe_test | awk '$3 == "function1"
| {print $1}') { @[probe] = count(); exit() }"
| Unclean exit code: 1
| Output: nm: ./testprogs/uprobe_test: no symbols\nNo probes to attach\n
***
Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com>
|
|
|
|
|
|
|
|
| |
"runtime:call" in ptest gets the following FAILED:
| python: No such file or directory
Replace python with python3 in this ptest item.
Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com>
|
|
|
|
|
|
| |
Clang-17 is good to build it, it had issues with clang-15
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This is not needed on all architectures.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
This reverts commit 89db18e81d78ba9756af04ec4e13d29082948207.
|
|
|
|
|
|
| |
Clang-17 is good to build it, it had issues with clang-15
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bring in following fixes
* 6009708b4367 Revert "[runtimes] Add missing test dependencies to check-all (#72955)"
* 04caadc61fa2 [Driver] Enable __float128 support on X86 on FreeBSD / NetBSD (#72788)
* e919a83f96fe eliminate python SyntaxWarnings from check-all output.
* f6c231c15ec8 [clang-format] Fix crashes in AlignArrayOfStructures (#72520)
* f74f3e6f58d3 [clang] Fix sorting module headers (#73146)
* 7e30ce9528d9 [JITLink][aarch32] Change writeRegister's return type to void.
* 03373fd9cb6c [CMake] Support building shared library for NetBSD
* 21af3b62b632 workflows/release-binaries: Do a preliminary build to fill ccache (#72576)
* 201faeca595e Add RV64 constraint to SRLIW (#69416)
* e957e6dcb29d [runtimes] Add missing test dependencies to check-all (#72955)
* f8575ff46f89 [clang-format] Fix a bug in aligning comments above PPDirective (#72791)
* a71237b9f67f [clangd] Avoid null result in FindRecordTypeAt()
* 308c816de5a4 Bump version to 17.0.6
* 442401f7c0ca remove tests from bad merge
* 76c7e0e1e2d1 Use the correct namespace for looking up matching operator!= (#68922)
* b5cbb35408a3 [libc++] Use correct size for deallocation of arrays in shared_ptr (#68233)
* e6de86cb9ef8 Revert "Reland [clang] Canonicalize system headers in dependency file when -canonical-prefixes" (#71697)
* bb66d8f8f73b [clang][WebAssembly] Link crt1 even in case of -shared
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
The problem is in BSP layer [1], these variable should not be exported
universally moreover its not needed as well.
[1] https://github.com/varigit/meta-variscite-bsp-imx/pull/36
This reverts commit 288f752445d3783dbaf06a60919a2b35b14e3a62.
|
|
|
|
|
|
|
|
| |
These variables show up as dependencies of native recipes otherwise
can cause clang-native to rebuild without a reason just when defined by
a machine using ubifs.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 98bfdac5ce82 [BranchFolding] Remove dubious assert from operator< (#71639)
* 12c6ee8fd204 [GlobalOpt] Cache whether CC is changeable (#71381)
* 0a1274224ef8 [libc++] Fix UB in <expected> related to "has value" flag (#68552) (#68733)
* 42f8800b720f [clang] fix test PR69717.cpp (#72134)
* e666be92b44b [clang] Run test on x86 only
* aebee698ef16 [clang] Do not clear FP pragma stack when instantiating functions (#70646)
* 529aa6eadb27 [SLP]Fix PR70004: Do not change insert point for reduction gather nodes.
* 69b3baf9b87e [DAG] WidenVectorOperand - add basic handling for *_EXTEND_VECTOR_INREG nodes
* e7dc53b94212 [Mips] In LowerShift*Parts, xor with bits-1 instead of -1. (#71149)
* a6cbdae98272 [clang-format] Correctly annotate keyword operator function name (#66904)
* 094cfd14c813 Bump version to 17.0.5
* 05422e1dcf94 [Driver] Fix linking with -lm on Solaris (#65632)
* 910748f4ec5a [clang-repl] Fix BUILD_SHARED_LIBS symbols from libclangInterpreter on MinGW (#71393)
* 582f0469dae1 [CGExprConstant] stop calling into ConstExprEmitter for Reference type destinations (#70366)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
So far when using toolchain = clang would punt gcc from native-sysroot
but its beneficial to keep both compilers since they can co-exist its
not a big problem to have both in sysroot. This helps in debugging
issues as well.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
The optee-os and optee-os-tadevkit are available not only for tegra so
it should be better to use a `:tegra` machine override there for all of them.
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
|
|
|
|
|
|
| |
They are not portable yet and assume gcc so give it to them
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Brings following changes/fixes
* 309d55140c46 [AArch64][GlobalISel] Fix incorrect ABI when tail call not supported (#70215)
* 9477268e4247 [AArch64] Add test for #70207 (NFC)
* c2eab59e622c [GVN] Fix use-after-free in load PRE with select available value (#69314)
* 586481468a07 [clang-tidy] Fix crash in modernize-use-trailing-return-type (#70709)
* 9d0ca259eed6 [OpenMP] Fix building for 32-bit DragonFly, NetBSD, OpenBSD (#70527)
* a8046f72bfb3 [OpenMP] record-replay use static-cast (#70516)
* 12bbcd627f60 [flang] Add comdats to functions with linkonce linkage (#66516)
* bdb1553c7639 [mlir] Add pass to add comdat to all linkonce functions (#65270)
* 3347c8441588 Update release note for the fix
* f6fb6a996c7f [clang][ExprConst] Fix crash on uninitialized array subobject (#67817)
* 8c8abe6b93c0 [RISCV] Correct copyPhysReg for GPRPF64. (#70419)
* 615beaec04f9 [SVE] Fix incorrect offset calculation when rewriting an instruction's frame index. (#70315)
* bb29e1ead22f [MemCpyOpt] Combine alias metadatas when replacing byval arguments (#70580)
* 2b82ec7947fe [OpenMP] Use the more appropriate function to retrieve the thread id on OpenBSD (#65553)
* 8909a24d0af1 [libc++] Encode additional ODR-affecting properties in the ABI tag (#69669)
* e9dcc15f514a [AArch64] Prevent argument promotion of vector with size > 128 bits (#70034)
* 4b7f4152a8d1 [LoongArch] Implement COPY instruction between CFRs (#69300)
* fb62a201a199 Revert "[clang-format] Fix align consecutive declarations over function pointers"
* 1f6d35b36681 Fix tests for c23 <-> c2x
* 030d68ef2cd7 Fix a c23 -> c2x think-o
* 2a41d978b4fa [C23] Use thread_local semantics (#70107)
* afbe3549af4d [clangd] Disable crashy unchecked-optional-access tidy check (#69427)
* 7f790f9a39e3 [ConstraintElim] Don't decompose values wider than 64 bits (#68803)
* a1c67ffd0a1f [ConstraintElim] Add test for #68751 (NFC)
* ef50a367e3d5 [mlir] Avoid including <alloca.h> on DragonFly
* a7101379d75e [LVI][CVP] Treat undef like a full range on abs(x, false) (#68711)
* aa03fba83b17 [libcxx] [test] Add a test parameter for disabling memory intensive tests (#68214)
* 71f408bc3623 workflows/release-tasks: Fix release note artifact upload (#69522)
* 9ab3ce1d7a06 Bump version to 17.0.4
* 880a282a40e3 workflows/release-lit: Pass correct build directory to pypa/gh-action-pypi-publish (#69438)
* 8719ee0cb39a workflows/release-lit: Fix dev suffix removal (#69397)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
|
|
|
|
|
|
| |
A pair of '[]' is missing, add them in.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|
|
|
|
|
|
| |
It was just used for RISCV32/RISCV64 until now.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
TC_CXX_RUNTIME is now defined in OE-core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 888437e1b600 [asan] Ensure __asan_register_elf_globals is called in COMDAT asan.module_ctor (#67745)
* 2e00f4ca4e91 [clang-format][doc] Update the Linux kernel coding style URL
* aeb83c3783a6 [clang-format] Fix a serious bug in git-clang-format (#65723)
* 268faa377aee [LSan] Mark create_thread_leak.cpp as UNSUPPORTED: darwin.
* 491a91e8eea2 [PowerPC] Use zext instead of anyext in custom and combine (#68784)
* 8ce6b65c89ad [PowerPC] Add test for #68783 (NFC)
* 7a23a5d43c67 [clang-format] Fix a bug in RemoveParentheses: ReturnStatement (#67911)
* be4016e52779 [X86] Fix logic for optimizing movmsk(bitcast(shuffle(x))); PR67287
* 496b174053bd [X86] Add tests for incorrectly optimizing out shuffle used in `movmsk`; PR67287
* f50c6382c716 [clang] [MinGW] Explicitly always pass the -fno-use-init-array (#68571)
* d10b731adcc8 [LVI][CVP] Treat undef like a full range (#68190)
* 37b79e779f44 [X86] combineConcatVectorOps - only concatenate single-use subops
* 5a13ce2d6020 Bump version to 17.0.3
* e7b3b94cf500 [clang] Correct behavior of `LLVM_UNREACHABLE_OPTIMIZE=OFF` for `Release` builds (#68284)
* f0a687d821c1 [LLD] [COFF] Fix handling of comdat .drectve sections (#68116)
* 8a8ade49ff49 workflows/release-binaries: Use more cores to avoid the 6 hour timeout (#67874)
* 1090b91a2840 [AArch64] Disable loop alignment for Windows targets (#67894)
* 69c8c96691c7 [Sema] Use underlying type of scoped enum for -Wformat diagnostics (#67378)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* b2417f51dbbd Fix release/export.sh to export runtimes tarball, too (#67404)
* 23988a1d82d5 [libc++] Fix `std::pair`'s pair-like constructor's incorrect assumption (#66585)
* 33e14ecd6aac [CodeGen] Don't treat thread local globals as large data (#67764)
* 03f797b51df6 [workflow] Fix abi checker in llvm-tests. Same fix as in 99fb0af80d16b0ff886f032441392219e1cac452 (#67957)
* f6cf58eed973 [clang] [MinGW] Tolerate mingw specific linker options during compilation (#67891)
* b338a2830a2c [LLD] [COFF] Restore the current dir as the first entry in the search path (#67857)
* 6a5be8e95b43 [LLD] [COFF] Clarify -print-search-path for the empty string element (#67856)
* 71be0aafe357 [NFC] clang-format lld/COFF/Driver.cpp and lld/Common/Filesystem.cpp
* 0a2d7dae6ef2 [compiler-rt] Reinstate removal of CRT choice flags from CMAKE_*_FLAGS* (#67935)
* 098e653a5bed [MemCpyOpt] Merge alias metadatas when replacing arguments (#67539)
* 78d201ebc3e2 [MemCpyOpt] Add test for #67539 (NFC)
* e718f3240a57 [DependencyScanningFilesystem] Make sure the local/shared cache filename lookups use only absolute paths (#66122)
* 45066b9fbc7b [Sema] Fix fixit cast printing inside macros (#66853)
* 87ec1f460d0e Work around two more instances of __noinline__ conflicts. (#66138)
* 9da5b7a93bca [lldb] Fix building LLDB standlone without framework
* c056d720b534 [lldb][NFCI] Change logic to find clang resource dir in standalone builds
* cb23434f9e63 [XCOFF] Do not generate the special .ref for zero-length sections (#66805)
* 1b55dc9d94c3 Fix buildbot failure caused by D157623
* 28d81a2bfa0a [lld][COFF] Remove incorrect flag from EHcont table
* b7eba056b93c workflows/release-tasks: Setup FileCheck and not for release-lit (#66799)
* 9678f11b057c [StackColoring] Handle fixed object index
* 49e9ee190080 [StackColoring] Handle SEH catch object stack slots conservatively
* 17123a60b87c [X86] Add test for #66984 (NFC)
* 2839aa915066 [SimpleLoopUnswitch] Fix exponential unswitch
* 773f136d6faa [SimpleLoopUnswitch] Fix reversed branch during condition injection
* 4362f3e4cf48 [clang] Include `expected-no-diagnostics` in newly-added test (NFC)
* 5f1fcc43e592 [clang] Bail out when handling union access with virtual inheritance
* 178cf5bc8732 [clang][Diagnostics] Fix wrong line number display (#65238)
* 25a150b830f6 Revert "[InlineCost] Check for conflicting target attributes early"
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
These functions are unconditionally added to libcgroup.map
Fixes
aarch64-yoe-linux-musl-ld.lld: error: version script assignment of 'CGROUP_3.0' to symbol 'cgroup_create_scope' failed: symbol not defined
aarch64-yoe-linux-musl-ld.lld: error: version script assignment of 'CGROUP_3.0' to symbol 'cgroup_set_default_scope_opts' failed: symbol not defined
aarch64-yoe-linux-musl-ld.lld: error: version script assignment of 'CGROUP_3.0' to symbol 'cgroup_create_scope2' failed: symbol not defined
aarch64-yoe-linux-musl-ld.lld: error: version script assignment of 'CGROUP_3.0' to symbol 'cgroup_write_systemd_default_cgroup' failed: symbol not defined
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
* 481358974fb0 [GVN] Also remove phi nodes from VN table (PR65447)
* 9f77e96186be [GVN] Invalidate MDA when deduplicating phi nodes
* a13a89402f53 Bump version to 17.0.2
* 2c04bdb24677 [SVE] Ensure SVE call operands passed via memory are correctly initialised. (#66070)
* 701620d58cdf [SVE] Precommit test to show missing initialisation of call operand.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
This recipe got renamed in oe-core, it still is glibc based and can not
be built with clang yet
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
|
|
|
|
|
|
|
|
|
| |
Install and package clang-indexer and de-absolutify llvm-lit location in
LLVMConfig.cmake file
Package clangd-indexer tool
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
These tools are only needed during build and we are using them from
clang-native, so they are not needed to be either built or packages in
nativesdk-clang or target clang builds
Fixes Issue #859
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
The issue has been fixed upstream
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
It ends up with go linker crashes later in influxdb e.g. but many other
go apps get the same issue.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Fixes
| x86_64-yoe-linux-ld.lld: error: version script assignment of 'LIBPMEM2_1.0' to symbol 'pmem2_source_from_handle' failed: symbol not defined
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
With clang17, it does not work with libc++ headers, until its fixed use
libstdc++
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This is needed when using clang 17+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Drop riscv multilib patch it does not work with clang 17.0
Release Notes are below
https://releases.llvm.org/17.0.1/docs/ReleaseNotes.html
https://releases.llvm.org/17.0.1/tools/clang/docs/ReleaseNotes.html
https://releases.llvm.org/17.0.1/tools/lld/docs/ReleaseNotes.html
https://releases.llvm.org/17.0.1/tools/clang/tools/extra/docs/ReleaseNotes.html
https://releases.llvm.org/17.0.1/projects/libcxx/docs/ReleaseNotes.html
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
* oe-core switched to nanbield in:
https://git.openembedded.org/openembedded-core/commit/?id=f212cb12a0db9c9de5afd3cc89b1331d386e55f6
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
git submodules
* bitbake fetcher will correctly handle safe.directory issues and
blazesym or libbpf submodules are managed by gitsm:// fetcher
we don't want to call git from CMake in do_configure
* prevents many safe.directory entries in users .gitconfig when
bcc was built in many different TMPDIRs
added in https://github.com/iovisor/bcc/pull/4186
causing:
[safe]
directory = /OE/build/oe-core/tmp-glibc/work/cortexa57-oe-linux/bcc/0.28.0+git/git
directory = /OE/build/oe-core/tmp-glibc/work/cortexa57-oe-linux/bcc/0.28.0+git/git/libbpf-tools/blazesym
to be added for every TMPDIR where it was built
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
|