| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* e6c3289804a6 [CMake][Release] Disable PGO (#88465) (#89000)
* 028e425f86cc [MIPS] Fix the opcode of max.fmt and mina.fmt (#85609)
* e3c832b37b0a Fix override keyword being print to the left side
* 1deeee3f5da4 Revert "[Mips] Fix missing sign extension in expansion of sub-word atomic max (#77072)"
* 995539ce05ba [LLD] [COFF] Don't add pseudo relocs for dangling references (#88487)
* db67e6fb9ad1 [libc++] Fix -Wgnu-include-next in stddef.h (#88214)
* 647fbc710840 [SelectionDAG] Prevent combination on inconsistent type in `combineCarryDiamond` (#84888)
* eaae766a20fd [RISCV] Support rv{32, 64}e in the compiler builtins (#88252)
* c24b41d71f2e github-upload-release.py: Fix bug preventing release creation (#84571)
* c837970dd7e9 [Codegen][X86] Fix /HOTPATCH with clang-cl and inline asm (#87639)
* d0ddcce21d91 [InstSimplify] Make sure the simplified value doesn't generate poison in threadBinOpOverSelect (#87075)
* 4056cc29dfd3 Prepend all library intrinsics with `#` when building for Arm64EC (#87542)
* 6e071cf30599 [SLP]Fix a crash if the argument of call was affected by minbitwidth analysis.
* d89da2ac8839 [libcxx] coerce formatter precision to int (#87738)
* b6ebea7972cd [SPARC] Implement L and H inline asm argument modifiers (#87259)
* bffecba7ce4c [libc++] Simplify the implementation of <stddef.h> (#86843)
* 9899a2d76c8f [lit][ci] Publish lit wheels (#88072)
* 3ceccbdb1995 [clang-format] Correctly annotate braces of empty ctors/dtors (#82097)
* 429d62872525 [Headers] Don't declare unreachable() from stddef.h in C++ (#86748)
* feba8727f805 [ConstantRange] Fix off by 1 bugs in UIToFP and SIToFP handling. (#86041)
* e4259b583c92 [Float2Int] Pre-commit test for SIToFP/UIToFP ConstantRange bug. NFC
* daca56d8e162 Bump version to 18.1.4 (#87715)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Align the source url with oe-core
(meta/recipes-devtools/llvm/llvm_git.bb)
Currently when creating shallow tarball download mirror
one of the biggest files is llvm and it has to be stored twice
because of this difference.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
https://github.com/bpftrace/bpftrace/pull/2935 changed the test scripts,
then the runtime ptest got the following errors:
| KeyError: 'BPFTRACE_AOT_RUNTIME_TEST_EXECUTABLE'
| Output: /bin/sh: line 1: /usr/bin/: Is a directory\n
The changes in run-ptest is to solve these problems.
After fixing the previously mentioned problems,
we got the the following errors while running the runtime ptest:
| error: <unknown>:0:0: in function BEGIN i64 (ptr): 0x56056cec80f0: i64 = GlobalAddress<ptr @__atomic_compare_exchange> 0 too many arguments
The new patch in the bb file is to solve this problem.
Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Brings
* c13b7485b879 [clang] Avoid -Wshadow warning when init-capture named same as class field (#74512)
* f249092ef26d [tsan] Refine fstat{,64} interceptors (#86625)
* 76c721994a11 [clang][Sema] Fix a CTAD regression after 42239d2e9 (#86914)
* e0f0c463b539 [mlir][transform] replace original op to loop ops (#83537)
* 47aac495c895 [OpenMP][AIX] Affinity implementation for AIX (#84984)
* a385a917da93 [Support] Fix color handling in formatted_raw_ostream (#86700)
* 0cd4babe0342 Reapply [libcxx] [modules] Fix relative paths with absolute LIBCXX_INSTALL_MODULES_DIR (#86020)
* cfaeee6a8994 release/18.x: [SystemZ] Fix overflow flag for i128 USUBO (#86491)
* 767b61c159b3 [lld/ELF][X86] Respect outSecOff when checking if GOTPCREL can be relaxed (#86334)
* 7c7c3d4a3a27 [ODS][NFC] Cast range.size() to int32_t in accumulation (#85629)
* 0e501dbd932e [Mips] Restore wrong deletion of instruction 'and' in unsigned min/max processing. (#85902)
* fbb27d16fa12 [Mips] Fix missing sign extension in expansion of sub-word atomic max (#77072)
* e74c1678231a [PowerPC] provide CFI for ELF32 to unwind cr2, cr3, cr4 (#83098)
* 1c7c16e58240 [NFC][PowerPC] use script to regenerate the CHECK lines
* c2a57034eff0 [msan] Re-exec with no ASLR if memory layout is incompatible on Linux (#85142)
* b74f6158460c [msan] Add 'MappingDesc::ALLOCATOR' type and check it is available (#85153)
* 98a15dd2d728 [clang][CodeGen] Allow `memcpy` replace with trivial auto var init
* 2498e3a07f3d [LoongArch] Assume no-op addrspacecasts by default (#82332)
* 368dc8553c5a [SROA]: Only defer trying partial sized ptr or ptr vector types
* 0e16af8e4cf3 [ARM] Update IsRestored for LR based on all returns (#82745)
* 6f8016fda7d5 Pre-commit test showing bug #80287
* ef6d1ec07c69 Bump version to 18.1.3 (#86168)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This expects GNU assembler I guess.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Newer version seems to work ok with lld with undefined symbols allowed
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
2.5+ does not link with lld as it has some linker script magic
for versioned symbols
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
clang dependency is already added in meta-qt6 recipe.
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
|
|
|
|
|
|
|
|
| |
This reverts commit 81e5f4eef93b5e1d6507daaf74fce28a2ccd7cf7.
It is merged in oe-core master
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
|
|
|
|
| |
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
|
|
|
|
|
|
| |
It is merged in oe-core master
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
This avoids qtwebengine crashes on rpi4/rpi3
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
And fixes for clang-18
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
clang-18 crashes, so use gcc until then
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
E.g. meta-browser's Chromium recipe needs this for its 121 version
update.
Signed-off-by: Max Ihlenfeldt <max@igalia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
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>
|