| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
options should be in sync or else clang will not link the binaries
| x86_64-yoesdk-linux-clang: error: --rtlib=libgcc requires --unwindlib=libgcc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
These recipes are moved into meta-oe layer for wider
use. They depend on clang and clang is now moved to
oe-core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Added ${libdir}/libbcc.so to FILES:${PN}-ptest to ensure it is included
during ptest execution. This is necessary for the test
"resolve symbol addresses for a given PID", which requires libbcc.so
to be available in the runtime environment.
Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
|
|
|
|
|
|
|
| |
Fixes build with cmake 4+
Drop upstreamed patches
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes tools_memleak.py which is getting failed due to
"c_src_full = os.path.dirname(sys.argv[0]) + os.path.sep + c_src"
is giving "/'test_tools_memleak_leaker_app.c".
memleak.py and other test cases requires bcc tools so copying the tools to
image.
Upstream-Status: Submitted [https://github.com/iovisor/bcc/pull/5355]
Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The recipe being bbappended is not supported in meta-qt6 until later in a
stable versions life cycle. This has the effect that in the most recent
version branches (6.10 as of this commit) does not have the required recipe
to bbappend, and dev will never have the recipe. This causes a parsing
error when using these more up to date branches:
ERROR: No recipes in default available for:
.../meta-clang/dynamic-layers/qt6-layer/recipes-qt/qt6/python3-pyside6_%.bbappend
Given this, we should drop this bbappend and try to address the build
failure in world another way.
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
|
|
|
|
| |
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
|
|
|
|
|
|
|
| |
This was setting lld as linker when using clang, but this is now
taken care by main qtbase recipe in meta-qt6. Its not needed anymore
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This file is not needed, it was migrated to oe-core with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
It will add these options to gcc as well when building native recipes
as it is implemented in oe-core, this logic is different so adjust
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
TOOLCHAIN is possible to set for target/native/nativesdk separately
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>
|
|
|
|
|
|
| |
It is now applied in core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
clang.bbclass in oe-core will define toolchain-gcc for nativesdk
and thats perhaps better, ideally we should depend on llvm runtime
unconditionally, so a package can use either llvm or gcc runtimes
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This is now available in oe-core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
A similar bbclass is added to oe-core, so rename it as legacy class
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Its done in core now.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
it does not compile for arm64/riscv64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
Due to recent UNPACKDIR/S change in oe-core, the S settings
in these two recipes are no longer valid and are causing errors.
Remove them.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
|
|
|
|
|
|
|
| |
when running ptest for bcc we need to
export BCC_KERNEL_SOURCE to resolve test errors.
Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
|
|
|
|
|
|
|
| |
Drop S assignment which is now being rejected by OE /
bitbake.
Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
|
|
|
|
|
|
|
| |
Drop S assignment which is now being rejected by OE /
bitbake.
Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
|
|
|
|
|
|
|
|
|
|
| |
When running on kernels compiled with GCC 11.4, the py_test_clang and
py_test_histogram tests fail because the finish_task_switch function
changed to finish_task_switch.isra.0.
Upstream-Status: Backport [https://github.com/iovisor/bcc/pull/5302/commits/b24519e1ba7b87c9676ae3a7f70772215cd5819d]
Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
|
|
|
|
|
|
|
|
| |
Since there are currently multiple breaking changes, update to a new
release series for the next release so layers can show compatibility
correctly.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Causes binaries to segfault in qemu user mode
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch Fixes the following error:
ERROR: test_blk1 (__main__.TestBlkRequest.test_blk1)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/bcc/ptest/tests/python/./test_trace3.py", line 38, in test_blk1
os.unlink("/opt/trace3.txt")
~~~~~~~~~^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/opt/trace3.txt'
Signed-off-by: Harish Sadineni <HarishSadineni@windriver.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The test for bpf_stack_id was failing due to the system being unable to locate libc.so.6.
Upon investigation using strace, the following error was observed:
newfstatat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", 0x7ffdcd475420, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/lib64/libc.so.6", 0x7ffdcd475420, 0) = -1 ENOENT (No such file or directory)
This issue occurs because libc.so.6 was not found in the expected locations.
To resolve this, the location of libc.so.6 in image has been added . It is now accessible at: /lib/libc.so.6
Upstream-Status: Submitted [https://github.com/iovisor/bcc/pull/5292]
Signed-off-by: Harish Sadineni <HarishSadineni@windriver.com>
|
|
|
|
|
|
|
|
| |
Avoid stripping debuginfo.so to fix some tests.
ptest searches for shared libs and archive files in the build folder.
Hence, these files are copied to the image to fix some tests.
Signed-off-by: Harish Sadineni <HarishSadineni@windriver.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This has been merged into cmake bbclass in core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Moved to OE-core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Core has merged recipes now.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Moved to core.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
They are in core layer now
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Its in OE-core now
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
helps with nativesdk-mesa compilation since it gets all flags wrong otherwise
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
A missing dependency causes intermitent compile failure:
git/src/functions.h:9:10: fatal error: location.hh: No such file or directory
9 | #include "location.hh"
This location.hh is generated by target parser
Signed-off-by: Changqing Li <changqing.li@windriver.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
LLD fails to link mesa 25.x sadly
| Error relocating riscv32-yoe-linux-musl/gstreamer1.0-plugins-base/1.26.0/recipe-sysroot//usr/lib/libGLESv2.so.2: unsupported relocation type 12
| Error relocating riscv32-yoe-linux-musl/gstreamer1.0-plugins-base/1.26.0/recipe-sysroot//usr/lib/libGL.so.1: unsupported relocation type 12
| Error relocating riscv32-yoe-linux-musl/gstreamer1.0-plugins-base/1.26.0/recipe-sysroot//usr/lib/libGL.so.1: unsupported relocation type 12
| Error relocating riscv32-yoe-linux-musl/gstreamer1.0-plugins-base/1.26.0/recipe-sysroot//usr/lib/libEGL.so.1: unsupported relocation type 12
| Error relocating riscv32-yoe-linux-musl/gstreamer1.0-plugins-base/1.26.0/recipe-sysroot//usr/lib/libEGL.so.1: unsupported relocation type 12
| Error relocating riscv32-yoe-linux-musl/gstreamer1.0-plugins-base/1.26.0/recipe-sysroot//usr/lib/libgallium-25.0.2.so: unsupported relocation type 12
| Error relocating riscv32-yoe-linux-musl/gstreamer1.0-plugins-base/1.26.0/recipe-sysroot//usr/lib/libgallium-25.0.2.so: unsupported relocation type 12
| Error relocating riscv32-yoe-linux-musl/gstreamer1.0-plugins-base/1.26.0/recipe-sysroot//usr/lib/libgallium-25.0.2.so: unsupported relocation type 12
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Enable NVPTX and SPIRV, targets being used by libclc.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upcoming Mesa patches for OE-Core pull both LLVM and Clang into the
sysroot if meta-clang is being used. Now as libLLVM.so in OE-Core is
compatible with the one being built by Clang, remove LLVM artifacts from
the native sysroot if clang recipe is not selected as LLVM provider.
The spirv-llvm-translator recipe is changed to also DEPEND on llvm in
order to pull the library into the chroot.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
|
|
|
|
|
|
|
|
| |
The llvm-config wrapper also needs to override a --libdir switch,
otherwise software (like mesa) end up using TMPDIR-based directory for
Clang resource lookup (and also encoding TMPDIR into the target binary).
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
|
|
|
|
|
|
|
|
| |
Update SRCREV to tag 0.23.0, refer [1]
[1] https://github.com/bpftrace/bpftrace/releases/tag/v0.23.0
Signed-off-by: Changqing Li <changqing.li@windriver.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This option mostly enables sd_notify support and is useful when running
bpftrace as part of a systemd service [1].
Defaulting to the systemd DISTRO_FEATURES seems like a reasonable choice.
The official builds also now enable this by default [2].
[1] https://bpftrace.org/docs/latest#_systemd_support
[2] https://github.com/bpftrace/bpftrace/pull/3969
Signed-off-by: Erik Schilling <erik@riscstar.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 58df0ef89dd6 Define LLVM_ABI and CLANG_ABI for __EMSCRIPTEN__ builds (#131578)
* e256eda15377 [LoongArch][MC] Add relocation support for fld fst [x]vld [x]vst
* ba00d9f641e9 [LoongArch] Pre-commit test for #133225
* f07f96873aa8 Backport/20.x: [LoongArch] Fix the type of tls-le symbols
* e7406753caf3 [PATCH] [clang][modules] Fix serialization and de-serialization of PCH module file refs (#105994) (#132802)
* 2f6c5807ca7e [workflows] Add missing -y option to apt-get for abi tests (#133337)
* bc65196c0919 update test due to https://github.com/llvm/llvm-project/pull/126880 not being backported
* d6d1dbf22181 [ARM] Speedups for CombineBaseUpdate. (#129725)
* 5ba194972878 [MC,COFF] .safeseh: avoid changeSection (#132624)
* 943b43250b55 release/20.x: [clang][docs] Move -Wnontrivial-memcall to added flags. (#132367)
* 44a6f6abbdb6 [libcxx] [test] Fix restoring LLVM_DIR and Clang_DIR (#132838)
* c1c4d7191d70 [clang-format] Allow `Language: Cpp` for C files (#133033)
* 2406e0d4467a Revert "[MC] Explicitly mark MCSymbol for MO_ExternalSymbol" (#133291)
* 3d5f5ef6b784 workflows: Add missing apt-get update to abi tests (#133264)
* d1f5a9f66ee2 [hexagon] Bump the default version to v68 (#132304)
* 90cc9ca8bcb2 [Hexagon] Set the default compilation target to V68 (#125239)
* 3e2801eb634e [PowerPC] Support conversion between f16 and f128 (#130158)
* d60baf3d4786 [HEXAGON] Fix semantics of ordered FP compares (#131089)
* 1a76c29a9ba8 [hexagon] Enable --eh-frame-hdr (#130225)
* ecde8c235e5e [clang] fix matching of nested template template parameters
* c86df914dee1 release/20.x: [Clang] Fix various bugs in alias CTAD transform
* f7b6f23c6bb7 [llvm-dlltool] Add a missing dependency
* a311bc81d957 [llvm-dlltool] Implement the --identify option (#127465)
* 6034661369c4 [LoongArch] Pre-commit test for fixing tls-le symbol type
* 95763651e25c [HEXAGON] Add support to lower "FREEZE a half(f16)" instruction on Hexagon and fix the isel-buildvector-v2f16.ll assertion (#130977)
* e0e8071815c7 [hexagon] Prevent alignment search beyond a label (#130631)
* 2198410a8a8a [compiler-rt][Darwin][x86] Fix instrprof-darwin-exports test (#131425)
* 0383020b6c1a [llvm] Fix crash when complex deinterleaving operates on an unrolled loop (#129735)
* dc7b743515d3 [AArch64] Fix SVE scalar fcopysign lowering without neon. (#129787)
* fcd0ad23f668 [AArch64] Add test for scalar copysign. NFC
* 66825a89b8e0 [LLD] [COFF] Add a few more mingw libs to skip autoexports for (#132289)
* 9710e9963455 [X86][AVX10.2] Include changes for COMX and VGETEXP from rev. 2 (#132824)
* 3f957cc67cff Bump version to 20.1.2 (#132293)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With:
https://lists.openembedded.org/g/bitbake-devel/message/17508
there are many WARNINGs from this layer
Most of them are caused by this LLVM_LIBDIR_SUFFIX=" which is included
everywhere.
WARNING: meta-clang/recipes-devtools/clang/clang-cross-canadian_git.bb: meta-clang/recipes-devtools/clang/clang.inc:19 has a lack of whitespace around the assignment: 'LLVM_LIBDIR_SUFFIX="${@d.getVar('baselib').replace('lib', '')}"'
WARNING: meta-clang/recipes-devtools/clang/clang-crosssdk_git.bb: meta-clang/recipes-devtools/clang/clang.inc:19 has a lack of whitespace around the assignment: 'LLVM_LIBDIR_SUFFIX="${@d.getVar('baselib').replace('lib', '')}"'
WARNING: meta-clang/recipes-devtools/clang/clang.inc:19 has a lack of whitespace around the assignment: 'LLVM_LIBDIR_SUFFIX="${@d.getVar('baselib').replace('lib', '')}"'
WARNING: meta-clang/recipes-devtools/clang/clang_git.bb: meta-clang/recipes-devtools/clang/clang.inc:19 has a lack of whitespace around the assignment: 'LLVM_LIBDIR_SUFFIX="${@d.getVar('baselib').replace('lib', '')}"'
WARNING: meta-clang/recipes-devtools/clang/compiler-rt-sanitizers_git.bb: meta-clang/recipes-devtools/clang/clang.inc:19 has a lack of whitespace around the assignment: 'LLVM_LIBDIR_SUFFIX="${@d.getVar('baselib').replace('lib', '')}"'
WARNING: meta-clang/recipes-devtools/clang/compiler-rt-sanitizers_git.bb: meta-clang/recipes-devtools/clang/compiler-rt-sanitizers_git.bb:31 has a lack of whitespace around the assignment: 'PACKAGECONFIG[ctx-profile] ="-DCOMPILER_RT_BUILD_CTX_PROFILE=ON,-DCOMPILER_RT_BUILD_CTX_PROFILE=OFF"'
WARNING: meta-clang/recipes-devtools/clang/compiler-rt_git.bb: meta-clang/recipes-devtools/clang/compiler-rt_git.bb:47 has a lack of whitespace around the assignment: 'PACKAGECONFIG[profile] ="-DCOMPILER_RT_BUILD_PROFILE=ON,-DCOMPILER_RT_BUILD_PROFILE=OFF"'
WARNING: meta-clang/recipes-devtools/clang/compiler-rt_git.bb: meta-clang/recipes-devtools/clang/compiler-rt_git.bb:49 has a lack of whitespace around the assignment: 'PACKAGECONFIG[ctx-profile] ="-DCOMPILER_RT_BUILD_CTX_PROFILE=ON,-DCOMPILER_RT_BUILD_CTX_PROFILE=OFF"'
WARNING: meta-clang/recipes-devtools/clang/compiler-rt_git.bb:47 has a lack of whitespace around the assignment: 'PACKAGECONFIG[profile] ="-DCOMPILER_RT_BUILD_PROFILE=ON,-DCOMPILER_RT_BUILD_PROFILE=OFF"'
WARNING: meta-clang/recipes-devtools/clang/compiler-rt_git.bb:49 has a lack of whitespace around the assignment: 'PACKAGECONFIG[ctx-profile] ="-DCOMPILER_RT_BUILD_CTX_PROFILE=ON,-DCOMPILER_RT_BUILD_CTX_PROFILE=OFF"'
WARNING: meta-clang/recipes-devtools/clang/libclc_git.bb: meta-clang/recipes-devtools/clang/clang.inc:19 has a lack of whitespace around the assignment: 'LLVM_LIBDIR_SUFFIX="${@d.getVar('baselib').replace('lib', '')}"'
WARNING: meta-clang/recipes-devtools/clang/libcxx_git.bb: meta-clang/recipes-devtools/clang/clang.inc:19 has a lack of whitespace around the assignment: 'LLVM_LIBDIR_SUFFIX="${@d.getVar('baselib').replace('lib', '')}"'
WARNING: meta-clang/recipes-devtools/clang/llvm-project-source.bb: meta-clang/recipes-devtools/clang/clang.inc:19 has a lack of whitespace around the assignment: 'LLVM_LIBDIR_SUFFIX="${@d.getVar('baselib').replace('lib', '')}"'
WARNING: meta-clang/recipes-devtools/clang/openmp_git.bb: meta-clang/recipes-devtools/clang/clang.inc:19 has a lack of whitespace around the assignment: 'LLVM_LIBDIR_SUFFIX="${@d.getVar('baselib').replace('lib', '')}"'
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As in previous commit for compiler-rt.
Since the upgrade to 20 it's installed in nonarch_libdir even when
multilib is used and LLVM_LIBDIR_SUFFIX is set to '32'.
Fixes:
http://errors.yoctoproject.org/Errors/Details/850269/
mv: cannot stat 'TOPDIR/tmp/work/i586-oemllib32-linux/lib32-compiler-rt-sanitizers/20.1.1/image/usr/lib32/linux': No such file or directory
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
|