| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
It uses symbol versioning like xyz@@ which lld does not like
see https://github.com/llvm/llvm-project/issues/65017
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
cppext test needs full toolchain as it tries to build an extention with
C, using clang ensures that a function
compiler bits are pulled into ptest image when using TOOLCHAIN = "clang"
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
go linker is not able to link subsequent binaries e.g. gosu with lld
produced libstd.so and crashes. This is just seen on arm64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
clang 15+ has started to treated int-conversion as error and pipeline
cache code added snippets[1] in gtk4 which causes this error
[1] https://gitlab.gnome.org/GNOME/gtk/-/commit/684a015c9852ede9d57103852217b428546fe472
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
MULTILIBS maybe defined by distros/projects and in some cases not, this
would result in rebuilding clang-native for no reason.
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>
|
|
|
|
|
|
|
|
|
|
|
| |
allarch recipes do not really need compiler toolchains, otherwise they
are not allarch
Fixes issues like
| ln: failed to create symbolic link 'TOPDIR/build/tmp/work/cortexa72-cortexa53-crypto-yoe-linux/ca-certificates/20211016-r0/recipe-sysroot-native/usr/bin/aarch64-yoe-linux/aarch64-yoe-linux-ld': No such file or directory
Reported-by: Cliff Brake <cbrake@bec-systems.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
- systemd-boot have it fixed on recipe but as it a clang issue
it's better to move it here
- systemd needs it when build with efi package config enabled
since v254
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
|
|
|
|
|
|
|
| |
This ends up with compile errors when using clang compiler, therefore
internal assembler is disabled with qt6
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Doesnt build with lld and llvm objcopy
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Fixes
| x86_64-yoe-linux-musl-ld.lld: error: version script assignment of 'ELFUTILS_1.0' to symbol 'elf_scncnt' failed: symbol not defined
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
We are removing QT5 from defaults and switching to QT6
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
It will fails on clang-17+
| CMake Error at /mnt/b/yoe/master/build/tmp/work-shared/llvm-project-source-17.0.0-r0/git/compiler-rt/cmake/Modules/CheckSectionExists.cmake:72 (message):
| error: unknown target triple 'armhf'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
New .s files can not be compiled with it, it has gnu flavors
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
i686-yoe-linux-ld.lld: error: version script assignment of 'LIBFFI_BASE_8.0' to symbol 'ffi_java_raw_call' failed: symbol not defined
i686-yoe-linux-ld.lld: error: version script assignment of 'LIBFFI_CLOSURE_8.0' to symbol 'ffi_prep_java_raw_closure' failed: symbol not defined
i686-yoe-linux-ld.lld: error: version script assignment of 'LIBFFI_CLOSURE_8.0' to symbol 'ffi_prep_java_raw_closure_loc' failed: symbol not defined
libtool: link: ( cd ".libs" && rm -f "libffi_convenience.la" && ln -s "../libffi_convenience.la" "libffi_convenience.la" )
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
This option is GNU linker specific and lld is not emitting this
warning anyway
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
lld does not default to --undefined-version anymore starting with 17.x
specifically, this just means we turn on bfd linker compatible link mode
for these recipes, which should otherwise be fixed
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Building bpftrace tests after upgrade requires pahole and llvm-objcopy.
Signed-off-by: Michal Wojcik <michal.wojcik@linaro.org>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
examples/tracing/nflatency.py has already upgraded the shebang to python3 on upstream,
so when we apply the do_install:append function, the shebang of nflatency.py become
/usr/bin/env python33
Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Allow clang/llvm 17 to build it
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Add python3-setuptools-native to depends
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From multilib build:
| CMake Error at cmake/FindLLVM.cmake:79 (message):
| Failed running
| tmp-glibc/work/x86-64-v3-oe-linux/ispc/1.20.0-r0/recipe-sysroot/usr/bin/crossscripts/llvm-config;--libfiles;engine;ipo;bitreader;bitwriter;instrumentation;linker;option;frontendopenmp;windowsdriver;x86
| Call Stack (most recent call first):
| cmake/FindLLVM.cmake:116 (run_llvm_config)
| CMakeLists.txt:377 (get_llvm_libfiles)
Currently hardcoded to /lib, which causing multilib build failure.
An easy solution could be set and export YOCTO_ALTERNATE_LIBDIR to $baselib
in recipe, but it would require to add this in all affected recipes.
Other approach is to handle in llvm-config script itself.
Unfortunately $baselib is not available in env for the
llvm-config script, so extracting baselib value from $base_libdir
as its being exported and available in env and then set YOCTO_ALTERNATE_LIBDIR accordingly.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.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>
|
|
|
|
|
|
|
| |
This fixes real file names appearing in lambda names that are
used as arguments to function templates.
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
* 7cbf1a259152 [lld][WebAssembly] Fix stub library parsing with windows line endings
* 10c3bdc04183 Bump version to 16.0.6
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
compiler installation
This ensures correct directory is used to create linker symlink
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 185b81e034ba [clang] Fix crash when passing a braced-init list to a parentehsized aggregate init expression
* 42f2e6efd844 [AA] Fix comparison of AliasResults (PR63019)
* 57c54b25929c [GVN] Add test for PR63019 (NFC)
* 726af32b5cee [X86][BF16] Fix 2 crashes with vector broadcast
* 4fd1b8691da0 [Analysis][LoongArch] Add sign extension for i32 parameters and returns
* 74b5a0af52eb [lld][WebAssembly] Initial support for stub libraries
* 9c865c230791 [lld][WebAssembly] Implement --why-extract flag from the ELF backend
* ad815b672d22 [Clang][Sema] Fix invalid cast when validating SVE types within CheckVariableDeclarationType.
* cf85b3e5662d [clang] Fix crash when handling nested immediate invocations
* e32cbe930f5b [CMake][AIX] Fixing AIX rpath
* b98da4c71edd [CMake] Don't set absolute paths as install runpaths on ELF platforms in llvm_setup_rpath()
* 87e99dec85b6 Revert DSE workarounds, this was causing some problems in main.
* 84078877549b [clang] Fix overly aggressive lifetime checks for parenthesized aggregate initialization
* 3a69d8111157 [CMake] Set compatibility policy for lists in LLVM-Config.cmake.
* 35bd94a4b791 [clang-format] Handle <chrono> ud suffixes in IntegerLiteralSeparator
* 9d0a2a41081b [BOLT][CMake] Use correct output paths and passthrough necessary options
* 094f77145b95 [Hexagon] Add patterns for bspap/bitreverse for scalar vectors
* 07808f6947a9 [llvm-mca] Fix duplicate symbols error
* 17ceb9512a52 Reland "[Driver] Support multi /guard: options"
* cd932165e595 Revert "[Driver] Support multi /guard: options"
* 8c6c56dca37b [X86] Don't crash on instruction prefetch intrinsics without PREFETCHI support.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
When INHIBIT_DEFAULT_DEPS = "1" then the toolchain is not staged in
Recipe specific native sysroot at all, therefore there is no point of
creating the symlink
Moreover it also fixes build of such recipes when ld-is-lld is set at
distro level
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
See [1]
[1] https://codereview.qt-project.org/c/yocto/meta-qt6/+/476890
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
| |
Updating to latest URIs used by GitHub.com
|
|
|
|
|
|
|
|
|
| |
the upstream changed the shebang of python scripts in tools folder[1],
this would cause do_install:append cannot conver all scripts.
[1] https://github.com/iovisor/bcc/commit/3f5e402bcadf44ce0250864db52673bf7317797b
Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
|
|
|
|
|
|
|
| |
Document a way to let clang provide llvm as well.
This helps this layer pass the yocto check layer test
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Brings in
* 5729e63ac7b4 Fix ArgsAsWritten being null for ConceptSpecializationExpr in certain circumstances when parsing ASTs
* 2eb26b66c639 workflows/release-tasks: Remove stray backslash
* 812ea0780cfa Bump version to 16.0.5
* ae42196bc493 clangd] Fix builds after 4ddae8b941398a6579d3
* 21f3dfbc2673 [clangd] Fix test failure when it's built with compiler flags unknown by clang
* 82b4446f25d4 [Clang][BPF] Type print btf_type_tag properly
* e24a8596a81b [SelectionDAG][RISCV] Remove code for handling too small shift type from SimplifyDemandedBits.
* 46e68a277715 [Driver] Support multi /guard: options
* d5cce0a7781b [cmake] Disable GCC lifetime DSE
* 57262bbd32c3 [clang-tidy][test] Add trailing -- to suppress compile_commands.json read
* df309b120853 fix stack probe lowering for x86_intrcc
* 1a04a5f1cf15 [flang] Fix optional assertion in PFTBuilder
* bef3459fcde7 [clang] Fix default initializers being ignored when initializing templated aggregate types
* 83c2387c87e6 Reapply "[SystemZ] Bugfix in expansion of memmem operations."
* 3c1576cc0c54 Bump version to 16.0.4
* da3cd333bea5 compiler-rt] [test] Mark dfsan tests XFAIL on glibc-2.37
* 0c7669bc2bbf [clang][driver] Pass `-femulated-tls` through to the linker in LTO mode
* 753307debc04 [RuntimeDyld] Disable some ppc64 tests on 32-bit architectures.
* 93e555fbd794 [InstCombine] Fix buggy `(mul X, Y)` -> `(shl X, Log2(Y))` transform PR62175
* ff9dc9c4fb11 [clang] Fix 2 bugs with parenthesized aggregate initialization
* 3cc0a562969b Clear read_fd_set if EINTR received
* 5db6c9daf033 [SimplifyCFG] Don't merge invoke if this makes immarg non-constant (PR61265)
* 33b41a6564f9 [clang] Fix a crash with parenthesized aggregate initialization and base classes
* 7a26555f8d48 [LLD][COFF] Add /inferasanlibs to lld-link as ignored flag
* 4676274c9eb2 [LLD][COFF] Print object file name for unsupported directives
* e86119670799 [CodeGen][MachineLastInstrsCleanup] fix INLINEASM_BR hazard
* ec79a4730428 [CodeGen] precommit machine-latecleanup test
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is required with clang after the assembly file is added which uses
these instructions. it works with gcc because it uses
.option directive to enable zbb extentions in toolchain on the fly
clang does not have similar option
| <instantiation>:6:21: warning: unknown option, expected 'push', 'pop', 'rvc', 'norvc', 'relax' or 'norelax'
| .option arch, +zbb
This fixes
| src/libavcodec/riscv/bswapdsp_rvb.S:61:9: error: instruction requires the following: 'Zbb' (Basic Bit-Manipulation) or 'Zbkb' (Bitmanip instructions for Cryptography)
| rev8 t0, t0
| ^
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Create a symbolic link lld -> ld in recipe sysroot to choose the
default linker lld when ld-is-lld is set in DISTRO_FEATURES. othereise,
we can get linking issues when '-fuse-ld=lld' is in LDFLAGS but the
actual ld is not lld.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|
|
|
|
|
|
| |
0037-clang-Call-printName-to-get-name-of-Decl.patch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This bbappend is now just:
YOCTO_ALTERNATE_EXE_PATH:toolchain-clang = "${STAGING_LIBDIR}/llvm-config"
YOCTO_ALTERNATE_EXE_PATH:toolchain-clang = "1"
This results in YOCTO_ALTERNATE_EXE_PATH being "1". The second line is
clearly a typo, so if we remove this then it changes the path from
STAGING_BINDIR (as set in clang.bbclass) to STAGING_LIBDIR. If this is
the correct change to make then it should be done in clang.bbclass
instead.
Also, the only place that YOCTO_ALTERNATE_EXE_PATH is respected is as an
environment variable, and this is never exported. It is likely that the
second line was meant to end [export] = "1".
This parameter appears to be no longer needed, so remove the append.
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
|
|
|
|
|
|
|
|
| |
--libfiles Fully qualified library filenames for makefile depends.
This option is being used by ispc cmake.
https://github.com/ispc/ispc/blob/main/cmake/FindLLVM.cmake#L116
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
|
|
|
|
|
|
|
|
| |
e.g. -msha will otherwise be deemed available when using clang which is
not correct, therefore treat unused-command-line-argument as error which
will be flagged on non-x86 arches
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
|
|
|
|
|
| |
The function was renamed in 9d190cb3b3
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
|