summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Update clang to 18.1.2 releaseKhem Raj2024-03-2137-40/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Brings these changes * 26a1d6601d72 [X86] Add missing subvector_subreg_lowering for BF16 (#83720) * 0bf7ff1028fb [C++20] [Moduls] Avoid computing odr hash for functions from comparing constraint expression * a2c93b34dfdf [RISCV] Fix mgather -> riscv.masked.strided.load combine not extending indices (#82506) * a9d4ed71707d [RISCV] Adjust test case to show wrong stride. NFC * 42f511c95c6f [RISCV] Add test case for miscompile in gather -> strided load combine. NFC * 53ea0de61dcd [TSan] Fix atomicrmw xchg with pointer and floats (#85228) * fd9f1faf8fcb [AVR] Remove earlyclobber from LDDRdPtrQ (#85277) * 2d35ba4a8577 Revert "release/18.x: [openmp] __kmp_x86_cpuid fix for i386/PIC builds. (#846…" * df20f2fc9998 [PowerPC] Update chain uses when emitting lxsizx (#84892) * c09f6f6f4341 [llvm-shlib] Fix the version naming style of libLLVM for Windows (#85710) * cba6ebf0d0ab [llvm-shlib] Fix libLLVM-18 symlink on mingw (#85554) * bcf98bd84199 llvm-shlib: Fix libLLVM-${MAJOR}.so symlink on MacOS (#85163) * b1f1effacf32 [WebAssembly] Change the default linker for `wasm32-wasip2` (#84569) * ecc22d27e5b8 workflows: Fix baseline version for llvm abi checks (#85166) * 7fd9979eb9cf [InstCombine] Drop UB-implying attrs/metadata after speculating an instruction (#85542) * edbe7fa5fef9 [lld][LoongArch] Fix handleUleb128 * b95ea2e51bdf [lld][test] Fix sanitizer buildbot failure * 2f640ad26d17 Remove support for EXPORTAS in def files to maintain ABI compatibility for COFFShortExport * 207ecd684cc6 [Arm64EC] Copy import descriptors to the EC Map (#84834) * 79bc8b32c6ed [llvm-lib][Object] Add support for EC importlib symbols. (#81059) * 76e1800f3565 [llvm-lib][llvm-dlltool][Object] Add support for EXPORTAS name types. (#78772) * 77e1992e89d3 [llvm-readobj][Object][COFF] Print COFF import library symbol export name. (#78769) * 3a06861272d8 [libc++] Use clang-tidy version that matches the compiler we use in the CI (#85305) * 0c1dcd675291 [clangd] [HeuristicResolver] Protect against infinite recursion on DependentNameTypes (#83542) * a649e0a6e80f [clang][modules] giving the __stddef_ headers their own modules can cause redeclaration errors with -fbuiltin-headers-in-system-modules (#84127) * 12a3bf351575 workflows: Add workaround for lld failures on MacOS (#85021) (#85110) * 9b3edb592deb release/18.x: [openmp] __kmp_x86_cpuid fix for i386/PIC builds. (#84626) (#85053) * 600f7f2ba28f [clangd] Add clangd 18 release notes (#84436) * bb83f055091c [runtimes] Prefer -fvisibility-global-new-delete=force-hidden (#84917) * 122ba9f10070 [ELF] Eliminate symbols demoted due to /DISCARD/ discarded sections (#85167) * 33c6b2027698 SystemZ release notes for 18.x. (#84560) * 8c6015db5912 [X86][Inline] Skip inline asm in inlining target feature check (#83820) * 38cf35dee880 [Inline] Add test for #67054 (NFC) * c7eb919d2cbe [ValueTracking] Treat phi as underlying obj when not decomposing further (#84339) * b01c3dcf2eb5 [LAA] Add test case for #82665. * 159969b3880b [Release] Install compiler-rt builtins during Phase 1 on AIX (#81485) * 7b61ddefc28a [ArgPromotion] Remove incorrect TranspBlocks set for loads. (#84835) * 25a989ce8bf3 [ArgPromotion] Add test case for #84807. * 2fc8bea42f99 [LLD] [COFF] Set the right alignment for DelayDirectoryChunk (#84697) * fcc33dca02d1 [X86] combineAndShuffleNot - ensure the type is legal before create X86ISD::ANDNP target nodes * 39e3ba8a383e [DSE] Remove malloc from EarliestEscapeInfo before removing. (#84157) * 3f8711fc5e01 [InstCombine] Fix miscompilation in PR83947 (#83993) * 9b9aee16d4dc [Clang][LoongArch] Fix wrong return value type of __iocsrrd_h (#84100) * a9ba36c7e7d7 [Clang][LoongArch] Precommit test for fix wrong return value type of __iocsrrd_h. NFC * d77c5c3830d9 [LoongArch] Make sure that the LoongArchISD::BSTRINS node uses the correct `MSB` value (#84454) * 1de8ea75d9b3 [analyzer] Fix crash on dereference invalid return value of getAdjustedParameterIndex() (#83585) * c14bf0a13d42 [libc++] Enable availability based on the compiler instead of __has_extension (#84065) * 55193c2ba53f [InstCombine] Handle scalable splat in `getFlippedStrictnessPredicateAndConstant` * 78859f118a6b [lld][LoongArch] Support the R_LARCH_{ADD,SUB}_ULEB128 relocation types (#81133) * d8352e93c1c8 [Clang] [Sema] Handle placeholders in '.*' expressions (#83103) * eb9bc02b06cb [RISCV] Fix crash when unrolling loop containing vector instructions (#83384) * c3721c1dcff5 [ELF] Internalize enum * c14879562f46 Unbreak *tf builtins for hexfloat (#82208) * 89d543227a32 [AArch64] Skip over shadow space for ARM64EC entry thunk variadic calls (#80994) * 42c599ab365b [AArch64] Fix generated types for ARM64EC variadic entry thunk targets (#80595) * d7a9810f9c14 [AArch64] Fix variadic tail-calls on ARM64EC (#79774) * ea6c457b8dd2 [LoongArch] Override LoongArchTargetLowering::getExtendForAtomicCmpSwapArg (#83656) * 69d9b15fe872 [TableGen] Fix wrong codegen of BothFusionPredicateWithMCInstPredicate (#83990) * a91b9bd9c750 [OpenMP] fix endianness dependent definitions in OMP headers for MSVC (#84540) * 7cb67530d2e9 ReleaseNotes for LLVM binary utilities (#83751) * 94d8f150ed8b [InstCombine] Fix infinite loop in select equivalence fold (#84036) * 4c36ecbe0e16 [InstCombine] Fix shift calculation in InstCombineCasts (#84027) * e90bfdb4ddce [test] Make two sanitize-coverage tests pass with glibc 2.39+ * bf45c3a07918 [DSE] Delay deleting non-memory-defs until end of DSE. (#83411) * 16ab0812d201 [clang][fat-lto-objects] Make module flags match non-FatLTO pipelines (#83159) * 267d9b1a74c4 Allow .alt_entry symbols to pass the .cfi nesting check (#82268) * 340ba4588c80 MIPS: fix emitDirectiveCpsetup on N32 (#80534) * 439e6f81e772 [libc++][modules] Fixes naming inconsistency. (#83036) * 2ad8fbdbca06 Bump version to 18.1.2 (#84655) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qt6/qttools: remove bbappendSamuli Piippo2024-03-211-1/+0
| | | | | | clang dependency is already added in meta-qt6 recipe. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* Revert "nonclangable: elfuitls: add unused-const-variable fix"Jose Quaresma2024-03-211-2/+0
| | | | | | | | This reverts commit 81e5f4eef93b5e1d6507daaf74fce28a2ccd7cf7. It is merged in oe-core master Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
* nonclangable: elfuitls: add unused-const-variable fixJose Quaresma2024-03-191-0/+2
| | | | Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
* nonclangable: elfuitls: drop unused-private-field fixJose Quaresma2024-03-191-2/+0
| | | | | | It is merged in oe-core master Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
* clang.bbclass: Do not lose TUNE_CCARGS_MARCH_OPTS when rewriting big.LITTLE mcpuKhem Raj2024-03-191-5/+13
| | | | | | | | | Currently, clang options lose the qualifiers like +crc+crypto which are in TUNE_CCARGS_MARCH_OPTS when options like -mcpu=big.little are transformed to -mcpu=little as clang does not understand -mcpu=big.little while gcc does. Here we append TUNE_CCARGS_MARCH_OPTS after the rewrite Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Use +nocrypto with -mcpu for rpi3/rpi4Khem Raj2024-03-191-0/+4
| | | | | | This avoids qtwebengine crashes on rpi4/rpi3 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bcc: remove LUAJIT setting and related examplesChangqing Li2024-03-181-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current LUAJIT actually not works, below is snip of src/lua/CMakeLists.txt [snip] find_package(LuaJIT) find_program(LUAJIT luajit) if (LUAJIT_LIBRARIES AND LUAJIT) FILE(GLOB_RECURSE SRC_LUA ${CMAKE_CURRENT_SOURCE_DIR}/bcc/*.lua ${CMAKE_CURRENT_SOURCE_DIR}/bcc/vendor/*.lua ${CMAKE_CURRENT_SOURCE_DIR}/bpf/*.lua) ADD_CUSTOM_COMMAND( OUTPUT bcc.lua COMMAND ${LUAJIT} ${CMAKE_CURRENT_SOURCE_DIR}/src/squish.lua ${CMAKE_CURRENT_SOURCE_DIR} DEPENDS ${SRC_LUA} ${CMAKE_CURRENT_SOURCE_DIR}/squishy ) ADD_CUSTOM_COMMAND( OUTPUT bcc.o COMMAND ${LUAJIT} -bg bcc.lua bcc.o DEPENDS bcc.lua ) [snip] LUAJIT will be set when luajit is found. For oe, maybe we need to DEPENDS on luajit-native. But there are still 2 problems after I change DEPENDS from luajit to luajit-native and export LUA_PATH="${RECIPE_SYSROOT_NATIVE}/usr/share/luajit-2.1/?.lua" 1. luajit seems not support cross compile, if our target arch is different with build host, from above snip, luajit will compile out bcc.o with host arch, int this way, compile will failed with below error: "error adding symbols: file in wrong format". Refer [1], seems like option "-a" can used to generate other arch object. But luajit-native don't have this option: cortexa57-wrs-linux/bcc/0.29.1/recipe-sysroot-native/usr/bin/luajit [options]... [script [args]...]. Available options are: -e chunk Execute string 'chunk'. -l name Require library 'name'. -b ... Save or list bytecode. -j cmd Perform LuaJIT control command. -O[opt] Control LuaJIT optimizations. -i Enter interactive mode after executing 'script'. -v Show version information. -E Ignore environment variables. – Stop handling options. 2. if target arch is the same as build host(my test env is x86-64), bcc-lua is built out, but still have 2 problems, first, "bcc-lua /usr/share/bcc/examples/lua/bashreadline.lua" has a runtime error [2]. second, bcc-lua may try to find modules on host path: root@qemux86-64:/usr/share/bcc/examples/lua# bcc-lua ./kprobe-latency.lua bcc-lua: bcc.lua:3052: module 'syscall' not found: no field package.preload['syscall'] no file './syscall.lua' no file '/build/tmp-glibc/work/x86_64-linux/luajit-native/2.1/recipe-sysroot-native/usr/share/luaj' no file '/usr/local/share/lua/5.1/syscall.lua' no file '/usr/local/share/lua/5.1/syscall/init.lua' no file '/build/tmp-glibc/work/x86_64-linux/luajit-native/2.1/recipe-sysroot-native/usr/share/lua/' no file '/build/tmp-glibc/work/x86_64-linux/luajit-native/2.1/recipe-sysroot-native/usr/share/lua/' no file './syscall.so' no file '/usr/local/lib/lua/5.1/syscall.so' no file '/build/tmp-glibc/work/x86_64-linux/luajit-native/2.1/recipe-sysroot-native/usr/lib/lua/5.' no file '/usr/local/lib/lua/5.1/loadall.so' so remove LUAJIT setting and related examples first [1] https://luajit.org/running.html [2] https://github.com/iovisor/bcc/issues/1621 Signed-off-by: Changqing Li <changqing.li@windriver.com>
* gtk4: Compile with gcc for musl/x86_64Khem Raj2024-03-171-0/+4
| | | | | | | | | | | | | | | | | | | | There is a gir generation error when compiled with clang | /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux-musl/gtk4/4.12.5/recipe-sysroot/usr/include/glib-2.0/gobject/gobject.h:822: syntax error, unexpected INTEGER, expecting identifier in ' do { if (__builtin_expect (__extension__ ({ int G_PASTE (_g_boolean_var_, 9); if ((weak_pointer) == ((void*)0)) G_PASTE (_g_boolean_var_, 9) = 1; else G_PASTE (_g_boolean_var_, 9) = 0; G_PASTE (_ g_boolean_var_, 9); }), 1)) ; else g_assertion_message (((gchar*) 0), "/mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux-musl/gtk4/4.12.5/recipe-sysroot/usr/include/glib-2.0/gobject/gobject.h ", 822, ((const char*) (__func__)), "'" "weak_pointer" "' should be NULL"); } while (0);' at '9' | /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux-musl/gtk4/4.12.5/recipe-sysroot/usr/include/glib-2.0/gobject/gobject.h:822: syntax error, unexpected ')', expecting identifier or '(' in ' do { if (__builtin_expect (__extension__ ({ int G_PASTE (_g_boolean_var_, 9); if ((weak_pointer) == ((void*)0)) G_PASTE (_g_boolean_var_, 9) = 1; else G_PASTE (_g_boolean_var_, 9) = 0; G_PASTE (_g_boolean_var_, 9); }), 1)) ; else g_assertion_message (((gchar*) 0), "/mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux-musl/gtk4/4.12.5/recipe-sysroot/usr/include/glib-2.0/gobject/gobjec t.h", 822, ((const char*) (__func__)), "'" "weak_pointer" "' should be NULL"); } while (0);' at ')' | Error relocating /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux-musl/gtk4/4.12.5/build/gtk/libgtk-4.so.1: unsupported relocation type 37 | Error relocating /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux-musl/gtk4/4.12.5/build/gtk/libgtk-4.so.1: unsupported relocation type 37 | Error relocating /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux-musl/gtk4/4.12.5/build/gtk/libgtk-4.so.1: unsupported relocation type 37 | If the above error message is about missing .so libraries, then setting up GIR_EXTRA_LIBS_PATH in the recipe should help. | (typically like this: GIR_EXTRA_LIBS_PATH="${B}/something/.libs" ) Signed-off-by: Khem Raj <raj.khem@gmail.com>
* elfuitls: Use libstdc++ instead of libc++ when using clangKhem Raj2024-03-131-3/+4
| | | | | | | | This avoids/workarounds a libc++ and clang include issue as reported in https://github.com/llvm/llvm-project/issues/71925#issuecomment-1987141438 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Bump version to 18.1.1Khem Raj2024-03-132-3/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lksctp-tools: Reset SECURITY_STACK_PROTECTOR with clangKhem Raj2024-03-061-0/+3
| | | | | | | | one of the test case test_connectx segfaults as the .so built with -fstack-protector-strong seems to not work properly when compiled with clang18 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to clang 18.1 major releaseKhem Raj2024-03-0640-800/+186
| | | | | | | | | | LLVM - https://github.com/llvm/llvm-project/blob/release/18.x/llvm/docs/ReleaseNotes.rst Clang - https://github.com/llvm/llvm-project/blob/release/18.x/clang/docs/ReleaseNotes.rst libc++ - https://github.com/llvm/llvm-project/blob/release/18.x/libcxx/docs/ReleaseNotes/18.rst lld - https://github.com/llvm/llvm-project/blob/release/18.x/lld/docs/ReleaseNotes.rst extra - https://github.com/llvm/llvm-project/blob/release/18.x/clang-tools-extra/docs/ReleaseNotes.rst Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Adjust packaging to match new libLLVM sonameKhem Raj2024-03-061-3/+2
| | | | | | | | | libLLVM-18.so and libLLVM.so are symlinks to libLLVM.so.18.1, here we make libLLVM-18.so part of libLLVM package so packaging works without warnings about dev-so Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftrace: Upgrade to 0.20+ and fix with llvm 18Khem Raj2024-03-067-91/+418
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bcc: Do not set LLVM_PACKAGE_VERSION explicitlyKhem Raj2024-03-061-1/+0
| | | | | | | bcc's build system can detect it correctly these days from sysroot cmake files provided by llvm. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vulkan-samples: Disable deprecated declaration warnings with libc++Khem Raj2024-03-061-1/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* castxml: Upgrade to 0.6.4Khem Raj2024-03-061-1/+1
| | | | | | And fixes for clang-18 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spirv-llvm-translator: Switch to main branch for llvm 18 supportKhem Raj2024-03-061-4/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxx: Pass LLVM_RUNTIME_TARGETSKhem Raj2024-03-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LLVM_RUNTIME_TARGETS will define the location of triple for target correctly. This is an effort to fix the case where cross compiler will lurk into host libc++ header if libcxx-native is staged for a given recipe e.g. graphviz, it works ok if --sysroot is specified because thats how it tries to find if its a cross sysroot or not but without that it has mind of its own. e.g. try x86_64-yoe-linux-musl-clang++ -stdlib=libc++ ~/tests/iosfd.cpp -v -c ... clang -cc1 version 18.1.0 based upon LLVM 18.1.0 default target x86_64-unknown-linux-gnu ignoring nonexistent directory "/usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../x86_64-pc-linux-gnu/include" ignoring nonexistent directory "/include" /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux-musl/graphviz/8.1.0/recipe-sysroot-native/usr/bin/../include/c++/v1 /usr/local/include /usr/include /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux-musl/graphviz/8.1.0/recipe-sysroot-native/usr/lib/clang/18/include End of search list. ... See where it is looking for c++ headers. Its not an issue for OE right now, since we always specify --sysroot in CC but still would be good to handle it amicably if possible Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rust-llvm: Fix build with clang-18Khem Raj2024-03-062-0/+355
| | | | | | | | | backport a patch to fix build failure seen with clang-18 /mnt/b/yoe/master/build/tmp/work/x86_64-linux/rust-llvm-native/1.74.1/rustc-1.74.1-src/src/llvm-project/llvm/tools/sancov/sancov.cpp:521:42: error: chosen constructor is explicit in copy-initialization 521 | return SpecialCaseList::createOrDie({{ClIgnorelist}}, | ^~~~~~~~~~~~~~ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kernel-selftest: Use gcc for now.Khem Raj2024-03-061-0/+3
| | | | | | clang-18 crashes, so use gcc until then Signed-off-by: Khem Raj <raj.khem@gmail.com>
* optee-os: Use gcc instead of clang-18Khem Raj2024-03-061-0/+6
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openldap: Fix build with lld linkerKhem Raj2024-03-031-0/+1
| | | | | | | Fixes aarch64-yoe-linux-ld.lld: error: version script assignment of 'OPENLDAP_2.200' to symbol 'ldap_host_connected_to' failed: symbol not defined /error: [1/17] Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-clang: Reflect Yocto Project Compatible badgeKhem Raj2024-02-242-0/+6
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* dav1d: Use GNU assembler for asm filesKhem Raj2024-02-211-0/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rpm: Always use GCC to compile for nowKhem Raj2024-02-211-1/+5
| | | | | | | We have a determinism bug with clang [1] when -fopenmp option is used and until its fixed lets stick with gcc to compile it. Sad but true. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Allow conditional compilation of clangdPhilip Lorenz2024-02-151-9/+24
| | | | | | | clangd should not be needed in target builds. Extend PACKAGECONFIG to enable selective disabling and disable it by default for target builds. Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
* clang: Reorganize PACKAGECONFIG structurePhilip Lorenz2024-02-151-15/+20
| | | | | | | | Move common PACKAGECONFIG default values into a dedicated variable and sort values alphabetically (hopefully making it easier to figure out where to add a new value when extending the variable). Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
* Backport "std::pointer_traits should be SFINAE-friendly"Max Ihlenfeldt2024-02-142-0/+661
| | | | | | | E.g. meta-browser's Chromium recipe needs this for its 121 version update. Signed-off-by: Max Ihlenfeldt <max@igalia.com>
* compiler-rt-sanitizers: Depend on compiler-rtPhilip Lorenz2024-02-141-1/+1
| | | | | | | | | | | | | | | | When configuring with COMPILER_RT_USE_BUILTINS_LIBRARY=ON, compiler-rt expects the target builtin libraries to be available. Make sure that this really is the case by adding them to DEPENDS. Without the dependency recipe build fails during the configure task | -- Failed to find compiler-rt builtins library for x86_64-poky-linux | CMake Error at .../build/tmp/work-shared/llvm-project-source-17.0.6-r0/git/compiler-rt/cmake/Modules/AddCompilerRT.cmake:281 (message): | Cannot find builtins library for the target architecture | Call Stack (most recent call first): | .../build/tmp/work-shared/llvm-project-source-17.0.6-r0/git/compiler-rt/lib/stats/CMakeLists.txt:23 (add_compiler_rt_runtime) Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
* compiler-rt-sanitizers: Adapt to new liborc filenamePhilip Lorenz2024-02-141-1/+1
| | | | | | | | | | | The library is now named liborc which leads to conflicts when installing compiler-rt and compiler-rt-sanitizers in parallel. Installing compiler-rt-sanitizers-staticdev (17.0.6) on root * check_data_file_clashes: Package compiler-rt-sanitizers-staticdev wants to install file .../usr/lib/clang/17.0.6/lib/linux/liborc_rt-x86_64.a But that file is already provided by package * compiler-rt-staticdev Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
* layer.conf: Update for the scarthgap release seriesKhem Raj2024-02-061-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftool: Add dependency on clang-libllvmKhem Raj2024-02-011-0/+1
| | | | | | Provides libLLVM when using clang Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ndctl: Add --undefined-version with lldKhem Raj2024-01-261-0/+1
| | | | | | | 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>
* bcc: Upgrade to 0.29.1Khem Raj2024-01-234-85/+6
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bcc: drop python3-distutils runtime dependencyMartin 'JaMa' Jansa2024-01-211-1/+1
| | | | | 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.
* valgrind: Cover do_install_ptest bbappend under clang overrideKhem Raj2024-01-171-1/+1
| | | | | | This should fix the layer check runs. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* valgrind: Ignore some tests which fail with llvm/clang runtimeKhem Raj2024-01-121-0/+13
| | | | | | | | | 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>
* python3-kivy: Disable incompatible-function-pointer-types warning as errorKhem Raj2024-01-121-0/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-lxml: Disable incompatible-function-pointer-types warning as errorKhem Raj2024-01-121-0/+6
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* yoe.yml: Use yoe_clean_sstate function from envsetupKhem Raj2023-12-301-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm-config: update following the oe-core scriptDmitry Baryshkov2023-12-291-19/+19
| | | | | | | | | | | 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>
* bpftrace: Do not strip uprobe_testWentao Zhang2023-12-291-0/+4
| | | | | | | | | | | | | | | | | | | | | "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>
* bpftrace: Replace python with python3 in ptestWentao Zhang2023-12-212-0/+54
| | | | | | | | "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>
* openssh: Enable to build it with clang againKhem Raj2023-12-211-3/+0
| | | | | | Clang-17 is good to build it, it had issues with clang-15 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openssl: Limit adding latomic to riscv32/riscv64 aloneKhem Raj2023-12-211-1/+4
| | | | | | This is not needed on all architectures. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Revert "openssh: Enable to build it with clang again"Khem Raj2023-12-031-0/+3
| | | | This reverts commit 89db18e81d78ba9756af04ec4e13d29082948207.
* openssh: Enable to build it with clang againKhem Raj2023-12-031-3/+0
| | | | | | Clang-17 is good to build it, it had issues with clang-15 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to 17.0.6Khem Raj2023-12-032-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | 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>