summaryrefslogtreecommitdiffstats
path: root/conf/nonclangable.conf
Commit message (Collapse)AuthorAgeFilesLines
* vboxguestdrivers: use gcc toolchainMingli Yu2023-11-021-0/+2
| | | | Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
* kernel-selftest: Fix build with lld and clang on x86Khem Raj2023-10-051-0/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcgroup: Use --undefined-version with lld on sysvinitKhem Raj2023-10-021-0/+1
| | | | | | | | | | | These functions are unconditionally added to libcgroup.map Fixes aarch64-yoe-linux-musl-ld.lld: error: version script assignment of 'CGROUP_3.0' to symbol 'cgroup_create_scope' failed: symbol not defined aarch64-yoe-linux-musl-ld.lld: error: version script assignment of 'CGROUP_3.0' to symbol 'cgroup_set_default_scope_opts' failed: symbol not defined aarch64-yoe-linux-musl-ld.lld: error: version script assignment of 'CGROUP_3.0' to symbol 'cgroup_create_scope2' failed: symbol not defined aarch64-yoe-linux-musl-ld.lld: error: version script assignment of 'CGROUP_3.0' to symbol 'cgroup_write_systemd_default_cgroup' failed: symbol not defined Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable: Adjust for glibc-tests -> glibc-y2038-tests renameKhem Raj2023-09-251-1/+1
| | | | | | | This recipe got renamed in oe-core, it still is glibc based and can not be built with clang yet Signed-off-by: Khem Raj <raj.khem@gmail.com>
* go-runtime: Do not use LLD linkerKhem Raj2023-09-191-0/+2
| | | | | | | It ends up with go linker crashes later in influxdb e.g. but many other go apps get the same issue. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pmdk: Default back to allowing undefined-version with lldKhem Raj2023-09-191-0/+1
| | | | | | | Fixes | x86_64-yoe-linux-ld.lld: error: version script assignment of 'LIBPMEM2_1.0' to symbol 'pmem2_source_from_handle' failed: symbol not defined Signed-off-by: Khem Raj <raj.khem@gmail.com>
* wtmpdb,-aufs-util,lastlog2: Use BFD linker when system linker is lldKhem Raj2023-09-191-0/+11
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* apt: Do not use libc++ runtime for nowKhem Raj2023-09-191-0/+4
| | | | | | | With clang17, it does not work with libc++ headers, until its fixed use libstdc++ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libfaketime: Use BFD linker when LLD is system defaultKhem Raj2023-08-281-1/+3
| | | | | | | 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>
* libfaketime: Add -Wl,--undefined-version with lldKhem Raj2023-08-251-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* go-runtime: Use BFD linker when LLD is default system linker on aarch64Khem Raj2023-08-221-0/+5
| | | | | | | 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>
* gtk4: Disable integer conversion warning as errorKhem Raj2023-08-191-0/+3
| | | | | | | | 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>
* nonclangable.conf: fix systemd efi buildJose Quaresma2023-08-121-0/+5
| | | | | | | | | - 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>
* qtbase: Do not use internal assembler with clangKhem Raj2023-08-071-0/+7
| | | | | | | 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>
* gnu-efi: Always use BFD ld and gnu objcopyKhem Raj2023-08-051-1/+3
| | | | | | Doesnt build with lld and llvm objcopy Signed-off-by: Khem Raj <raj.khem@gmail.com>
* elfutils: Use --undefined-version when using lldKhem Raj2023-08-051-0/+1
| | | | | | | 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>
* libffi: Add --undefined-version to lld on armKhem Raj2023-08-011-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gnu-efi: Do not use clang internal assemblerKhem Raj2023-08-011-0/+9
| | | | | | New .s files can not be compiled with it, it has gnu flavors Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libffi: Use --undefined-version with lldKhem Raj2023-07-271-0/+1
| | | | | | | | | 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>
* systemd,cairo,ruby: Do not use --no-warn-rwx-segment with lldKhem Raj2023-07-271-3/+3
| | | | | | | This option is GNU linker specific and lld is not emitting this warning anyway Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nvme: Use -Wl,--undefined-version with lldKhem Raj2023-07-271-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable: Add -Wl,--undefined-version when using lldKhem Raj2023-07-251-0/+100
| | | | | | | | 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>
* babeltrace2: Ignore textrels with lldKhem Raj2023-07-141-0/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nmap: Use -N option to link when using lld on rv64Khem Raj2023-06-181-1/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ffmpeg: Enable zbb manip extensions for rv32/rv64Khem Raj2023-05-211-0/+3
| | | | | | | | | | | | | | | | | | 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>
* btrfs-tools: Error out on x86 options on non-x86 archesKhem Raj2023-05-111-0/+2
| | | | | | | | 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>
* Revert "webkitgtk: Use gcc for now"Khem Raj2023-03-211-3/+0
| | | | This reverts commit 20a8cff8ba0ce02773946cd7ba398fc08969ce1e.
* frr: Use gcc when compiling for rv32/rv64Khem Raj2023-03-201-0/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nodejs: Disable enum-constexpr-conversion warning as errorKhem Raj2023-03-201-0/+5
| | | | | | | Clang-16 adds this new warnings which triggers on nodejs, disable it for now Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opengl-es-cts,vulkan-cts,pidgin-sipe: Disable new warnings as errorsKhem Raj2023-03-201-0/+10
| | | | | | | Clang-16 finds more warnings which are treated as errors, lets disable them for now Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable.conf: Add new exceptions for alternative Linux kernel recipesJon Mason2023-02-221-0/+2
| | | | | | | Other Linux kernel recipes are seeing the same objcopy issue. Add entries for them to work around the issue here as well. Signed-off-by: Jon Mason <jdmason@kudzu.us>
* linux-fslc-imx: Use gnu objcopy with clangKhem Raj2023-02-151-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pixman: Use gcc on mipsKhem Raj2023-01-291-0/+2
| | | | | | | 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>
* u-boot-coral: Use gcc toolchainKhem Raj2023-01-091-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-fslc-lts: Use binutils objcopyKhem Raj2023-01-091-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mybw: Use gnu objcopy alwaysKhem Raj2023-01-081-6/+4
| | | | | | | Its failing on most of architectures only known working arch seems to be arm Signed-off-by: Khem Raj <raj.khem@gmail.com>
* sysbench: Add -no-integrated-as to cflags with clangKhem Raj2023-01-081-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable.conf: Use binutils objcopy for BSP kernelsKhem Raj2023-01-041-0/+11
| | | | | | llvm objcopy does not yet work fully for all kernels Signed-off-by: Khem Raj <raj.khem@gmail.com>
* u-boot: Use gcc for variants of u-boot from BSP layersKhem Raj2023-01-041-0/+21
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pixman: Use gcc on aarch64Khem Raj2023-01-041-1/+3
| | | | | | | 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>
* systemd: Add -Wl,--no-warn-rwx-segment with clangKhem Raj2023-01-031-0/+1
| | | | | | Remove the Os workaround, this is no longer needed with systemd 252+ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ruby,cairo: Add -Wl,--no-warn-rwx-segment with clangKhem Raj2023-01-031-0/+3
| | | | | | | This helps with configure tests which treat this warning as error otherwise Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mybw: Use gnu objcopy on rv32Khem Raj2023-01-031-0/+1
| | | | | | | | 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>
* nonclangable.conf: Add new exceptionsAleksey Smirnov2022-12-121-1/+10
| | | | | | | | | 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>
* u-boot: Always use gcc compiler to buildKhem Raj2022-12-051-0/+3
| | | | | | Clang-15 fails to compile u-boot on mips right now. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-yocto: Use gnu objcopy on mipsKhem Raj2022-12-051-0/+3
| | | | | | | 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>
* rsync: Use gcc for nowKhem Raj2022-11-271-0/+3
| | | | | | | | 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>
* pixman: Do not use clang assembler for nowKhem Raj2022-11-251-0/+1
| | | | | | | | | | | | | 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>
* mybw: USe gnu objcopy on riscv64Khem Raj2022-10-271-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mybw: Use libgcc to link on x86_64Khem Raj2022-10-261-0/+2
| | | | | | | | Fixes x86_64-yoe-linux-ld: /usr/src/debug/glibc/2.36-r0/stdio-common/printf_fphex.c:198: undefined reference to `__letf2' since compiler-rt does not provide the 'tf' functions Signed-off-by: Khem Raj <raj.khem@gmail.com>