| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
This ensures that it does not end up building NATIVE tools
and using them during build, which obviously wont work when
buildhost != targethost or iow cross-compiling
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This has been deleted in clang 16+ via https://reviews.llvm.org/D130020
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This is new way of building it from 16.x onwards
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Change mesa bbappend to override PACKAGECONFIG[gallium-llvm] only if
clang toolchain is selected. Unfortunately this has to be implemented in
a nasty way because there is no standard way to apply override to the
variable flag setting.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
Fixes
ERROR: lib32-clang-15.0.7-r0 do_package_qa: QA Issue: non -dev/-dbg/nativesdk- package lib32-liblldb contains symlink .so '/usr/lib/liblldbIntelFeatures.so'
non -dev/-dbg/nativesdk- package lib32-liblldb contains symlink .so '/usr/lib/liblldb.so' [dev-so] ERROR: lib32-clang-15.0.7-r0 do_package_qa: Fatal QA errors were found, failing task.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Enable ompd gdb plugin build and add py3 to depndencies as it is
required by the plugin
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
when building clang for multilib, bitbake complains about liblldb
containing a .so symlink
this patch fixes this
Signed-off-by: lumpyh <lumpy.hega@gmx.de>
|
|
|
|
|
|
|
| |
This helps in compling shared libraries which may use e.g. static
libc++.a during link
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Use clang again for qemux86
- Drop upstreamed patch [1]
- Ignore texrels with clang
QA Issue: busybox: ELF binary /usr/bin/busybox.nosuid has relocations in .text [textrel]
[1] https://git.busybox.net/busybox/commit/?id=117a8c9b7a50053964159c342af1f3810cbbd5b8
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
libatomic is needed to link after -lomp when -fopenmp is used, it needs
clang driver level change
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
This helps statically linking c++ runtime into binaries which use
exceptions functions e.g. std::out_of_range as used in rwmem package
and using -static-libstdc++ compiler flags
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
|
|
| |
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- do_create_spdx does have to wait till the shared source
tree is properly populated
- override the spdx class code detection to determine
if sources are under work-shared.
the core code does only look at WORKDIR, which isn’t
overridden in every case, more likely only S and B are
touched, which make the spdx class code assume that
these are per-workdir sources and starts to remove the
shared sources via bitbake’s cleandirs settings.
Avoid that by let the code always handle recipes including
common-source as shared sources.
Closes #721
Signed-off-by: Konrad Weihmann <kweihmann@witekio.com>
|
|
|
|
|
|
|
|
| |
as the recipe populates the shared source tree as part of
do_patch, but create-spdx does only wait for do_unpack.
Add an explicit dependency to wait to avoid race conditions
Signed-off-by: Konrad Weihmann <kweihmann@witekio.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
actions/checkout@v2 uses node12 with EOL now.
Replace ::set-output with $GITHUB_OUTPUT envvar
::set-output is deprecated [1]
[1] https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 8dfdcc7b7bf6 [libc++] Fix memory leaks when throwing inside std::vector constructors
* 939f5a337113 libc++: bring back the unsigned in the return type in wcstoull_l
* 948cadd6d424 [RegAllocFast] Handle new debug values for spills
* 1095870e8ced [wasm-ld] Define a `__heap_end` symbol marking the end of allocated memory.
* 67fd0d2af4bf [TypePromotion] Add truncate in ConvertTruncs when the original truncate type is not extend type
* 74d3ba1af5c0 [X86] Don't zero out %eax if both %al and %ah are used
* a8af9f679231 Bump version to 15.0.7
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
|
|
|
|
|
|
|
| |
if machines are switched, do_deploy_source_date_epoch
would re-run as the stamps are tune specific
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 /usr/lib/libomptarget.devicertl.a static library ends up with build
paths embedded. The CMake files don't respect our CXXFLAGS so don't use
the -fdebug-path-map arguments, but even adding those didn't solve it:
it looks like code via goes via LLVM bytecode files doesn't get
remapped?
Until that is solved, skip the buildpath check.
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
|
|
|
|
|
|
| |
Its failing on most of architectures only known working arch seems to be
arm
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
llvm objcopy does not yet work fully for all kernels
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Some upgrades have regressed pixman with clang on aarch64, until this is
sorted, lets use gcc for it as a workaround
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Remove the Os workaround, this is no longer needed with systemd 252+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
This helps with configure tests which treat this warning as error
otherwise
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
Fixes
/usr/bin/mybw', 'TOPDIR/build/tmp/work/riscv32-yoe-linux/mybw/0.0+gitAUTOINC+f4bdeee126-r0/package/usr/bin/.debug/mybw']' returned non-zero exit status 1.
Subprocess output:riscv32-yoe-linux-llvm-objcopy: error: Link field value 37 in section .rela.dyn is not a symbol table
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
* oe-core switched to mickedore in:
https://git.openembedded.org/openembedded-core/commit/?id=57239d66b933c4313cf331d35d13ec2d0661c38f
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
|
|
|
|
|
| |
Ideally, the LFS64 functions should be replaced in sanitizers sources
but for now just enable the aliases in musl
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>
|
|
|
|
|
|
|
|
|
| |
Add "erlang" for all architectures (found on riscv64 and x86-64)
Add "grub" for x86-64 architecture
Use proper OBJCOPY for "linux-yocto" for all architectures
Signed-off-by: Aleksey Smirnov <aleksey.smirnov@yadro.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Ensures that correct cmake checks are used to enable LFS64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Ensure that lldb uses correct python-dev headers from target python and
not native python during cross compile.
Adjust *_PYTHON_* variables accordingly.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Clang-15 fails to compile u-boot on mips right now.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Fixes
Subprocess output:mips-yoe-linux-llvm-objcopy: error: Link field value 22 in section .rel.dyn is not a symbol table
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Drop backported patches already available in this release
This brings following changes
* 088f33605d8a [CodeGen][ARM] Fix ARMABIInfo::EmitVAAarg crash with empty record type variadic arg
* abcd0341d846 [ELF] Handle GCC collect2 -plugin-opt= on Windows
* e6e61e9b2ef7 Revert "Reapply: Add an error message to the default SIGPIPE handler"
* 25a36ca5c791 Bump version to 15.0.6
* 154e88af7ec9 Bump version to 15.0.5
* a39989663758 [VectorUtils] Skip interleave members with diff type and alloca sizes.
* dc8f6ffc3bf2 [lldb] Get rid of __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS
* 392963bb1daf [lldb] Fix 'error: non-const lvalue...' caused by SWIG 4.1.0
* 68799e789fc5 [GlobalOpt] Don't remove inalloca from varargs functions
* 11c3a21f8d1b [analyzer] Workaround crash on encountering Class non-type template parameters
* 0988addf2680 Link libclangBasic against libatomic when necessary.
* 4c3d83810ad7 Link liblldCOFF against libatomic when necessary
* d75ae21044ad Set LLVM_ATOMIC_LIB variable for convenient linking against libatomic
* 6750e341b076 [TypePromotion] Replace Zext to Truncate for the case src bitwidth is larger
* 58ba50a52ede [cmake] Add missing CMakePushCheckState include to FindLibEdit.cmake
* 931b6d51d84e Reenable POSIX builtin library functions in gnu2x mode
* c8e7a87b1ed6 [CMake] Fix -Wstrict-prototypes
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
Needed until [1] is merged into oe-core
[1] https://patchwork.yoctoproject.org/project/oe-core/patch/20221123215941.2411460-1-raj.khem@gmail.com/
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Results in assembly file errors e.g.
| <instantiation>:1:1: error: unknown directive
| .func fname
| ^
| <instantiation>:2:1: note: while in macro instantiation
| pixman_asm_function fname
| ^
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
OE-core recently upgraded to swig 4.1.0 which results in errors:
11:49:31 | /poky/build/tmp/work-shared/llvm-project-source-15.0.4-r0/git/lldb/bindings/interfaces.swig:5: Error: Macro '__STDC_LIMIT_MACROS' redefined,
11:49:31 | :1: Error: previous definition of '__STDC_LIMIT_MACROS'.
Backport patches from release/15.x branch to fix these.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Brings these changes
* 5c68a1cb1231 AMDGPU: Make various vector undefs legal
* 80a9fc840b1b [clang][Sema] Fix a clang crash with btf_type_tag
* 08bd84e8a635 [SPARC] Make calls to function with big return values work
* 9d46557baa84 Take memset_inline into account in analyzeLoadFromClobberingMemInst
* dd711a939122 [lld-macho] Canonicalize personality pointers in EH frames
* 3010b7e00000 [clang][driver] Remove dynamic gcc-toolset/devtoolset logic
* db68723804fd [clangd] Return earlier when snippet is empty
* 2d5c43ad4844 [lldb] Automatically unwrap parameter packs in template argument accessors
* 1e1c5204c259 [SystemZ] Relase notes for LLVM 15
* dccd0613025a [ELF] Suppress "duplicate symbol" when resolving STB_WEAK and STB_GNU_UNIQUE in different COMDATs
* 5834fe66318b [AutoUpgrade] Fix remangling when upgrading struct return type
* 5388da13992c Bump version to 15.0.4
* 455e1d765ad6 [InstCombine] Bail out of casting calls when a conversion from/to byval is involved.
* ceee53ce564c [SROA] Don't speculate phis with different load user types
* 086365be7ce0 [test] Make Linux/sem_init_glibc.cpp robust
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|