summaryrefslogtreecommitdiffstats
path: root/conf
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* layer.conf: Add 3.4 as supported releaseKhem Raj2021-04-151-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer.conf: Drop gatesgarthKhem Raj2021-04-151-1/+1
| | | | | | it has its own branch Signed-off-by: Khem Raj <raj.khem@gmail.com>
* iwd,ell: Mark gcc onlyKhem Raj2021-04-081-0/+6
| | | | | | They have started using nested functions lately. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nettle: Disable internal asm on ppc64Khem Raj2021-03-011-0/+7
| | | | | | | generated asm files use .0: label which is not understood with internal asm, gnu as does fine job Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to 12.0.0 RC2Khem Raj2021-03-011-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer.conf: remove bcc and bpftrace from NON_MULTILIB_RECIPESKai Kang2021-02-051-2/+0
| | | | | | | | | | | | | | | | Because bcc and bpftrace have been set in NON_MULTILIB_RECIPES, 'bcc' rprovides 'lib32-bcc'. So when multilib is enabled, it is 'bcc' rather than 'lib32-bcc' installed to lib32 image such as lib32-core-image-minimal. Then the runtime dependency 64-bit package python3-core is installed accordingly. It causes 32-bit python modules which contains .so library do not work any more. For example, it fails to run command 'dnf': | ImportError: /usr/lib/python3.9/site-packages/libdnf/_error.so: wrong ELF class: ELFCLASS32 Remove bcc and bpftrace from NON_MULTILIB_RECIPES to make sure they are not installed to lib32 images and mess images up. Signed-off-by: Kai Kang <kai.kang@windriver.com>
* clang/llvm: Upgrade to 11.1.0-rc2Khem Raj2021-01-261-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qemu: Link with latomic on clang/x86Khem Raj2021-01-091-0/+1
| | | | | | | clang delegates atomics to runtime library instead of builtins so link in libatomic on x86/gnu Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ppp: Mark non-clangableKhem Raj2021-01-091-0/+4
| | | | | | | New version of ppp uses gcc specific options and nested functions which clang does not support Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pulseaudio: Remove -Qunused-arguments with clangKhem Raj2020-12-231-2/+2
| | | | | | | | -Qunused-arguments means its silencing warning about compiling arm/neon check code on x86 and tricking the build system to assume that compiler can support neon on x86 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* redis: Mark non-clangable as of nowKhem Raj2020-12-141-0/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* luajit: Add -no-integrated-asKhem Raj2020-12-141-0/+8
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable.conf: link python3-numpy with python3-numpyKhem Raj2020-11-181-0/+1
| | | | | | | This helps in addressing an issue where clang is used and it expects symbols in builtins library which are only provided by compiler-rt Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to latest on release/11.x branchKhem Raj2020-11-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | The minor release is bumped to 11.0.1 Changes is this bump are * 0874e7ef66c Allow init_priority values <= 100 and > 65535 within system headers. * 02004c9e7c9 [ADT] Fix for ImmutableMapRef * 85ce339f1bd [cmake] Fix build of attribute plugin example on Windows * ef4ffcafbb2 [DAE] MarkLive in MarkValue(MaybeLive) if any use is live * 3c687677678 DeferredDiagnosticsEmitter crashes * 701addff1b7 [clang][Sema] Fix PR47676: Handle dependent AltiVec C-style cast * 5ad2592b5dc [X86] Fix cpu name typos * 8fc424f26bf Add release tarballs for libclc * 83716db47f9 [ELF] -r: don't crash when a non-SHF_LINK_ORDER orphan is added before a SHF_LINK_ORDER orphan * 1ff84a04aeb BPF: fix incorrect DAG2DAG load optimization * 38399ced95b [ConstantFold] Make areGlobalsPotentiallyEqual less aggressive. * b59b6b662bb Import github action definitions from release/10.x branch * 3039965645c Bump version to 11.0.1 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lto: Disable LTO for cairo and libidn2 with clangKhem Raj2020-11-131-0/+8
| | | | | | There are compile/link time errors Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer.conf: Add hardknott to supported releasesKhem Raj2020-11-131-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtbase: Use compiler-rt on riscv32 when using clangKhem Raj2020-11-131-0/+4
| | | | | | | | clang emits __lshrti3 expecting it from builtins library but libgcc does not have it, since we have compiler-rt support it because its compiled with -fforce-enable-int128 so link with it Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tesseract: Remove -Qunused-arguments from CFLAGSKhem Raj2020-10-201-0/+1
| | | | | | | | | | | This helps configure checks for sse where clang sends out a unused option warning but because we use -Qunused-arguments, this warning is suppressed and -Werror does not notice this warning and checks succeed for no reason on architectures who dont have SSE. Therefore removing this option helps compiler to emit the warning and rightly detect that these options can not be enabled for non-x86 architectures Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libffi: Do not use internal assembler on mips64Khem Raj2020-09-101-0/+1
| | | | | | | It uses GNU asm which clang's internal assembler gets confused with and can not interpret .eh_frame section permissions and type Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer.conf: Drop zeus and dunfell from LAYERSERIES_COMPATKhem Raj2020-08-271-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer: Add 3.2 (gatesgarth) to LAYERSERIES_COMPATKhem Raj2020-08-271-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gerbera: Dont force libc++ when using clangKhem Raj2020-08-211-2/+0
| | | | | | | It mixes libstdc++ and libc++ and results in libspdlog.a(spdlog.cpp.o): undefined reference to symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc@@GLIBCXX_3.4.21' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to 11.x release branchKhem Raj2020-08-211-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3: Cant run profile binaries in qemu when built with clangKhem Raj2020-06-281-0/+5
| | | | | | mark it gcc only for now Signed-off-by: Khem Raj <raj.khem@gmail.com>
* apt: Disable c++11-narrowing and fortifyKhem Raj2020-06-091-0/+10
| | | | | | | | | apt 1.8.2+ does not compile with clang, clang is finding narrowing warnings and printf function is redefined in tests which confuses the function signatures from libc when fortify is enabled, its therefore disabled for now Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to 10.0.1-rc1Khem Raj2020-05-261-1/+1
| | | | | | | | Update version number accordingly Signed-off-by: Khem Raj <raj.khem@gmail.com> s
* wpewebkit: Enable clangKhem Raj2020-05-031-3/+1
| | | | | | It can build with clang now a days Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer.conf: Add bpftrace to non-multilib listHe Zhe2020-04-281-1/+1
| | | | | | | bpftrace is only compatible with x86_64, aarch64 and powerpc64. So it's not able to built as 32 bit binary. Signed-off-by: He Zhe <zhe.he@windriver.com>