summaryrefslogtreecommitdiffstats
path: root/conf
Commit message (Collapse)AuthorAgeFilesLines
* python3-grpcio-tools: Use gcc on mips for nowKhem Raj2022-03-161-0/+1
| | | | | | clang14 crashes compiling 1.44 version Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opencv: Use gcc for ppc64Khem Raj2022-03-141-0/+5
| | | | | | | it will take some effort to fix it going with clang 14 due to VSX/altivec intrinsics conflicts Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gosu: Use binutils strip and objcopyKhem Raj2022-03-051-0/+2
| | | | | | llvm versions have a known bug Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libbsd: Use GNU objdump on mipsKhem Raj2022-03-041-0/+3
| | | | | | | | This is to workaround issue [1] seen with LLVM mips [1] https://github.com/llvm/llvm-project/issues/54213 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtpdf: It can be built with clang nowKhem Raj2022-03-031-3/+0
| | | | | | See https://github.com/meta-qt5/meta-qt5/pull/453 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fio: Disable optimization on mipsKhem Raj2022-02-241-0/+3
| | | | | | Workaround for clang crash Signed-off-by: Khem Raj <raj.khem@gmail.com>
* riscv: Unbolt the workaround for clang hangsKhem Raj2022-02-241-17/+0
| | | | | | This reverts d5219d8 and 24e8c73 since clang has been fixed now Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtlocation: Use gcc to avoid mips/clang crash for nowKhem Raj2022-02-241-0/+3
| | | | | | Workaround Clang14 crash Signed-off-by: Khem Raj <raj.khem@gmail.com>
* go-helloworld: Force use GNU strip and objcopyKhem Raj2022-02-241-0/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kexec-tools-klibc: Do not use llvm-strip on mipsKhem Raj2022-02-241-0/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libvorbis,x264,dcadec,graphviz: Use -O0 on mipsKhem Raj2022-02-241-0/+9
| | | | | | | Clang14 is currently crashing in optimizers, therefore workaround it by using -O0 for now. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layers: Bump to use kirkstoneKhem Raj2022-02-211-1/+1
| | | | | | its not going to be backward ABI compatible with honister due to variable renaming. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable.conf: Disable llvm-objcopy/llvm-strip on selected recipesKhem Raj2022-02-201-0/+15
| | | | | | | This is until upstream bugs are fixed, linux-firmware change however is legit and will be permanent Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ntfs-3g-ntfsprogs,cdrkit,xscreensaver: Disable -O2 to avoid clang14 hangs ↵Khem Raj2022-02-201-0/+12
| | | | | | for riscv Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libraw: Workaround clang hang on RISCV compiling librawKhem Raj2022-02-161-0/+6
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opensbi: Enable clang as compiler for opensbiKhem Raj2022-02-161-1/+0
| | | | | | latest opensbi seems to build fine now a days Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to upcoming clang14 release branchKhem Raj2022-02-161-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* seatd: Disable -Wsign-compare with clangKhem Raj2022-02-141-0/+5
| | | | | | Fixes a warning additionally generated by clang Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtpdf: Use gcc to compile itKhem Raj2022-02-141-0/+3
| | | | | | It needs work to get going with clang. Until then keep using gcc Signed-off-by: Khem Raj <raj.khem@gmail.com>
* concurrencykit: Disable internal clang assemblerKhem Raj2022-02-031-0/+8
| | | | | | | The code has inline arm asm in header files which is not compilable with clang's internal assembler. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* php: Always use GCC for mipsKhem Raj2021-12-271-0/+6
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: support android runtimeHsia-Jun(Randy) Li2021-12-151-1/+1
| | | | Signed-off-by: Hsia-Jun(Randy) Li <randy.li@synaptics.com>
* tcf-agent: Pass $@ as parameter to llvm-ranlibKhem Raj2021-12-091-0/+5
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* glibc-tests: Pin compiler to gccKhem Raj2021-11-211-0/+1
| | | | | | | glibc is not yet compilable for clang and glibc-tests is driven out of glibc sources in essense Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gcompat: Use gcc to compile on mipsKhem Raj2021-11-011-0/+5
| | | | | | | | | | clang does not like __builtin_return_address macro and errors out | error: return address can be determined only for current frame | 18 errors generated. | make: *** [Makefile:81: libgcompat/execinfo.o] Error 1 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to latest on 13.x releaseKhem Raj2021-11-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | bump minor release to 13.0.1 Drop patch to remove git from PACKAGE_VERSION, this is already eliminated from upstream Following changes are part of this change * 08e3a5ccd952 [IntelJITListener] Fix order in JitListener/multiple.ll * 26e2c97bf14c [openmp] [elf_common] Fix linking against LLVM dylib * eb845520ac3c compiler-rt: Fix arch detection for ppc64le * ec4829efcc94 fixes bug #51926 where dangling comma caused overrun * 73daeb3d507f [CUDA] Make sure <string.h> is included with original __THROW defined. * 3ee9a2b63cfd [Support][mips] Remove unnecessary includes from Memory.inc * 47f53eec6485 [Mips] Add glue between CopyFromReg, CopyToReg and RDHWR nodes for TLS * 914355ee793c [CMake] Re-enable use --gc-sections on OpenBSD * 2ac023cd540a [clang] Omit most AttributedStatements from the CFG * 30c05f43b662 [runtimes] Properly handle the sysroot/triple/gcc-toolchain * a797306b7721 [clang-format] [PR51640] - New AfterEnum brace wrapping changes have cause C# behaviour to change * 0a5ae011cd23 [HIP] Fix test rcom-detect.hip * 1a40203f8e94 workflows: Update lldb workaround to latest version of Mac OS X * 8a93745a7121 Remove "In Progress" text from release notes * 449f3049b507 [GHA] Cancel intermediate builds on PRs * cf15ccdeb6d5 Bump version to 13.0.1 * fd1d8c2f04dd [cte] Release notes for clangd-13 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mesa: Use clang to compile on rv64Khem Raj2021-10-201-4/+1
| | | | | | latest clang can compile mesa just fine Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openssl: Fix 3.0 build on x86Khem Raj2021-10-201-0/+3
| | | | | | | | | Clang runs into this issue https://github.com/openssl/openssl/issues/14083 Link with -libatomic on x86 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mpich: Use gcc runtime with clang for x86/x86_64Khem Raj2021-08-261-1/+2
| | | | | | It needs symbols like __multf3 which are not in compiler-rt Signed-off-by: Khem Raj <raj.khem@gmail.com>
* upgrade of android-tools to 10.0.0.r36Nisha Parrakat2021-08-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An older version is present in the meta-oe layer. Took the old recipe and adapted it in the following way: --Deleted all the old patches that were applicable for old version. --Used all the makefiles that come with the new version directly from the source code, just modifying them to install output to a specific folder as below a)added rules_yocto.mk that will mimic the debian/rules b)modified the makefiles of the components to output to a common dir. c) Built boringssl crypto with the option -DOPENSSL_NO_ASM to solve the below errors libcrypto.so.0: undefined reference to `aes_hw_encrypt' libcrypto.so.0: undefined reference to `aes_hw_set_encrypt_key' libcrypto.so.0: undefined reference to `gcm_gmult_v8' libcrypto.so.0: undefined reference to `gcm_init_v8' libcrypto.so.0: undefined reference to `sha256_block_data_order' libcrypto.so.0: undefined reference to `aes_hw_ctr32_encrypt_blocks' libcrypto.so.0: undefined reference to `aes_hw_cbc_encrypt' libcrypto.so.0: undefined reference to `vpaes_decrypt' libcrypto.so.0: undefined reference to `vpaes_encrypt' libcrypto.so.0: undefined reference to `gcm_gmult_neon' libcrypto.so.0: undefined reference to `sha1_block_data_order' libcrypto.so.0: undefined reference to `sha512_block_data_order' libcrypto.so.0: undefined reference to `gcm_init_neon' libcrypto.so.0: undefined reference to `aes_hw_set_decrypt_key' libcrypto.so.0: undefined reference to `vpaes_set_decrypt_key' libcrypto.so.0: undefined reference to `gcm_ghash_neon' libcrypto.so.0: undefined reference to `bn_mul_mont' libcrypto.so.0: undefined reference to `aes_hw_decrypt' libcrypto.so.0: undefined reference to `gcm_ghash_v8' libcrypto.so.0: undefined reference to `vpaes_cbc_encrypt' libcrypto.so.0: undefined reference to `ChaCha20_ctr32' libcrypto.so.0: undefined reference to `vpaes_ctr32_encrypt_blocks' libcrypto.so.0: undefined reference to `vpaes_set_encrypt_key' Attention : https://github.com/grpc/grpc/issues/9440 d) compiled android compatible version of libunwind to be used to build libbacktrace e) REQUIRES meta-selinux for libselinux, thus added it to BBFILES_DYNAMIC of this layer. f) checked compilation and packaging for for x86_64 and aarch64 g) UNTESTED android-tools-adbd.service , couldn't find how to build adbd that is needed by the service with the new version of android-tools. At present the service is still packaged but may not work. h) tested the adb and fastboot on the core-image-minimal by including the android-tools in the image and ran the commands with 'help' Signed-off-by: Nisha Parrakat <Nisha.Parrakat@kpit.com> Signed-off-by: Nisha Parrakat <nishaparrakat@gmail.com>
* libc-bench: Link with libgcc when using llvm runtimeKhem Raj2021-08-061-0/+1
| | | | | | | This uses static link and glibc uses libgcc intrinsics which otherwise are undefinded. Glibc is built using gcc + gnu runtime still Signed-off-by: Khem Raj <raj.khem@gmail.com>
* jack: Use gcc to build for 32bit archesKhem Raj2021-08-041-0/+6
| | | | | | | | | | | | | | | Latest jack does not build with clang-13 for 32bit arches | In file included from ../git/common/JackFreewheelDriver.cpp:23: | ../git/common/JackEngineControl.h:67:5: error: requested alignment is less than minimum alignment of 8 for type 'Jack::JackTransportEngine' | alignas(UInt32) JackTransportEngine fTransport; | ^ | ../git/common/JackEngineControl.h:89:5: error: requested alignment is less than minimum alignment of 8 for type 'Jack::JackFrameTimer' | alignas(UInt32) JackFrameTimer fFrameTimer; | ^ | 2 errors generated. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable.conf: Convert remaining overrides to new syntaxKhem Raj2021-08-041-13/+13
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-clang: Convert to new override syntaxSigned-off-by: Martin Jansa2021-08-032-166/+166
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lvm2,libdevmapper: Use gcc to compileKhem Raj2021-08-011-0/+5
| | | | | | | | | | | | clang13 based builds are failing during postprocessing Mismatch between symbols in shared library and lists in .exported_symbols.* files: dm_bit_get_prev | dm_config_clone_node ... dm_udev_wait | make[1]: *** [../libdm/make.tmpl:511: .export.sym] Error 1 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gnutls: Disable integrated assembler on aarch64Khem Raj2021-06-301-0/+3
| | | | | | | integrated assembler crashes latest clang on aarch64, so lets disable it for now Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mariadb: Use gcc got ppc64leKhem Raj2021-06-181-0/+5
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libucontext: Do not use internal assembler on ppc64leKhem Raj2021-06-181-0/+5
| | | | | | clang segfaults while processing .S files Signed-off-by: Khem Raj <raj.khem@gmail.com>
* aufs-util,libhugetlbfs,libc-bench: Use libgcc unwinder on glibc/armKhem Raj2021-06-101-2/+3
| | | | | | | | these packages do static linking in parts and when libc is glibc then it has linked in some portions of libgcc since we can not use clang to compile glibc yet. Therefore use libgcc where needed for now Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable: Use libgcc for unwinder as well when using for builtinsKhem Raj2021-06-101-9/+11
| | | | | | | | | | | | | | clang 13 does not like to mix rtlib and unwindlib when using libgcc Fixes clang-13: error: --rtlib=libgcc requires --unwindlib=libgcc secondly compiler-rt does not havw 128 bit ( tf ) functions on x86 so fallback to libgcc for those use libatomic for x86 since 64bit atomics are not in compiler-rt Signed-off-by: Khem Raj <raj.khem@gmail.com>
* poke: Do not use -O2 with clangKhem Raj2021-06-081-0/+3
| | | | | | | | clang13 has a regression which segfaults the compiler while compiling poke, its reported upstream, until it is fixed do not use -O2 compiler switch Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable: pass -rtlib only when using clang with gnu runtime hereKhem Raj2021-06-081-9/+9
| | | | | | | The defaults wirh using RUNTIME = "llvm" is already pointing to compiler-rt there is no need to clutter cmdline Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Use llvm runtime when using clangKhem Raj2021-06-081-0/+1
| | | | | | | | | | Fixes linker errors like src/mongo/platform/overflow_arithmetic.h:63: error: undefined reference to '__mulodi4' src/mongo/platform/overflow_arithmetic.h:63: error: undefined reference to '__mulodi4' src/mongo/platform/overflow_arithmetic.h:63: error: undefined reference to '__mulodi4' src/mongo/platform/overflow_arithmetic.h:63: error: undefined reference to '__mulodi4' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Remove from nonclangable listKhem Raj2021-06-081-2/+0
| | | | | | mongodb builds fine with latest clang/13.0.0 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libc-bench: It works fine with new way of choosing llvm runtimeKhem Raj2021-06-081-3/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nss: Pass options to select runtime for native partsKhem Raj2021-06-081-1/+1
| | | | | | | Since clang maybe configured to use llvm runtime, we need to ensure to use gnu runtime in native builds Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer.conf: Prefer llvm libunwind when RUNTIME = "llvm"Khem Raj2021-06-081-0/+1
| | | | | | Avoids conflicts with libunwind recipe from OE-Core Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to trunk/13.0 future seriesKhem Raj2021-06-081-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* replace --rtlib with -rtlibKhem Raj2021-05-191-26/+26
| | | | | | This is advertised option from clang Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openssh: Link with compiler-rt when using clangKhem Raj2021-04-231-0/+1
| | | | | | | | clang -ftrapv, needs compiler-rt [1] [1] https://github.com/openssh/openssh-portable/blob/master/INSTALL#L7 Signed-off-by: Khem Raj <raj.khem@gmail.com>