summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* gcr: Do not use introspection when using clangKhem Raj2017-08-261-0/+4
| | | | | | | | qemu-x86_64 crashes for some reason. It crashed with gcc too when mixed with clang. Until we root cause it disable gi Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang,llvm.compiler-rt,lld,lldb: Update to latest release_50 rc3Khem Raj2017-08-253-34/+5
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nativesdk-clang-glue: Disable debug packagingOtavio Salvador2017-08-251-0/+1
| | | | | | | | | | | | | | | | This package does not provide binary files and is just to glue the paths for proper use by Clang so disabling debug avoids the packaging error we were seeing: ,---- | ERROR: nativesdk-clang-glue-4.0.0-r0 do_package: File | './usr/lib/debug' cannot be packaged into 'nativesdk-clang-glue-dbg' | because its parent directory structure does not exist. One of its | parent directories is a symlink whose target directory is not included | in the package. `---- Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* nativesdk-clang-glue: Fix indenting of codeOtavio Salvador2017-08-251-4/+4
| | | | | | We were mixing tabs and spaces. Now we moved to use spaces only. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* clang: fix nativesdk buildMing Liu2017-08-232-1/+49
| | | | | | | | | | | | | | | | | | | | | I could not manage to build nativesdk-clang, I encountered errors as follows: (trimmed for purpose) | ../gcc/x86_64-pokysdk-linux/6.3.0/ld:: | cannot find crt1.o: No such file or directory | cannot find crtbegin.o: No such file or directory | cannot find -lgcc | cannot find -lgcc_s After some investigation, I found it's caused by the llvm native tools could not compile with crosssdk toolchains. (special linking flags are needed) So we introduce a cmake-native class with a task to generate a native toolchain file, it will be used to build llvm native tools by passed with CROSS_TOOLCHAIN_FLAGS_NATIVE. Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm/lld/lldb/libcxx: Update to latest on release_50Khem Raj2017-08-231-5/+5
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mesa: Add 64bits atomics patches for clang/x86Khem Raj2017-08-163-0/+127
| | | | | | These patches are taken from mailing list Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Fix dynamic linker on x86/muslKhem Raj2017-08-162-0/+42
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm: Update to latest release_50Khem Raj2017-08-161-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Revert back to gnu++98 as defaultKhem Raj2017-08-132-29/+0
| | | | | | | | many packages need fixing for true c++11 and newer standard, may be eventually they will reach there for now lets keep the defaults as it is Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm: Update to latest on release_50Khem Raj2017-08-131-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Firefox is not buildable with clangKhem Raj2017-08-121-0/+2
| | | | | | clang segfaults, mark it gcc only until clang is fixed Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Switch c++ default to gnu++14 standardKhem Raj2017-08-123-1/+30
| | | | | | | | | | | | | | | Using cmdline options -std doesnt always work e.g. boost where it uses c++ driver (clang++) to invoke compilation but then passes '-x c' to choose the language for compilation Which ends in errors like below error: invalid argument '-std=c++14' not allowed with 'C' Therefore change the defaults in driver itself to use gnu++14 which is default with g++ from gcc7+ too. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang++: Default to c++14 stdKhem Raj2017-08-121-1/+1
| | | | | | | | | | latest gcc7 also defaults to c++14, some packages have started to use c++11 and newer features without specifying -std option and rightly so now that gcc defaults are c++14, applications can safely assume c++14 as default Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm/lld: Update to 5.0.0-rc2Khem Raj2017-08-101-3/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm: Update to latest on release_50Khem Raj2017-08-091-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* packagegroup-core-standalone-sdk-target: Fix a typo in packagenameKhem Raj2017-08-081-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm/libcxx/libunwind: Update to latest on release_50Khem Raj2017-08-083-35/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openmp: Provide libgompKhem Raj2017-08-061-0/+3
| | | | | | | Helps resolve conflicts when we have libgomp enabled with gcc Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Add -DLLVM_ENABLE_ASSERTIONS=OFF and -DLLVM_ENABLE_EXPENSIVE_CHECKS=OFFKhem Raj2017-08-031-22/+27
| | | | | | This should speed up clang when compiling other stuff Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm: Update to latest on release_50Khem Raj2017-08-031-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm: Update to latest on release_50Khem Raj2017-08-011-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm: Get ghostscript ICE fixesKhem Raj2017-07-311-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Use final version string in install pathsKhem Raj2017-07-311-7/+7
| | | | | | | We append SRCPV to PV which is not what we want for install dir name, it should be final compiler-rt release version e.g. 5.0.0 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm-libunwind: DeleteKhem Raj2017-07-317-83/+18
| | | | | | build llvm libunwind along with libcxx Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxx: Merge libcxxabi needs into libcxxKhem Raj2017-07-315-125/+13
| | | | | | | | | This is preferred way of building libc++ and it also means we do not need musl specific tweaks since top level build from llvm already know musl and make right choices Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm: Update to latest release_5.0Khem Raj2017-07-301-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Use ninja generator on top of cmakeKhem Raj2017-07-308-17/+79
| | | | | | ninja is in OE-Core now Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to latest on release_50Khem Raj2017-07-301-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Enable libffi supportKhem Raj2017-07-291-1/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxxabi: Delete arm EHABI workaoundKhem Raj2017-07-292-149/+0
| | | | | | unwind.h in clang 5.0 seems to have needed struct definitions Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Default to PIE when GCCPIE is setKhem Raj2017-07-293-2/+98
| | | | | | | | This matches with OE-Core expectations and we do not need to inject PIE flags manually via SECURITY_CFLAGS which does not always work Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm: Update to latestKhem Raj2017-07-281-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang,llvm,lld,libunwind: Update to 5.0 rc1Khem Raj2017-07-261-4/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable: Remove klibc and klibc-static-utilsKhem Raj2017-07-261-4/+0
| | | | | | works with clang after patching klibc Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable: Add klibc to listKhem Raj2017-07-251-6/+10
| | | | | | Reorder alphabetically. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openmp: Add recipeKhem Raj2017-07-252-0/+36
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lld: update to latest on 5.0 branchKhem Raj2017-07-241-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable: Dont error on Wimplicit-fallthrough in mdadmKhem Raj2017-07-231-0/+3
| | | | | | | | This option is added in OE-Core to workaround build issues with gcc7 we disable triggerring on treating this as error when clang finds it and says its not a known option Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable.conf: Add pixmanKhem Raj2017-07-231-0/+6
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm/lld: Updade to latest on release_50 branchKhem Raj2017-07-231-3/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Fix build on x86_64Khem Raj2017-07-223-9/+37
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang.bbclass: Add -pie -fPIE to SECURITY_PIE_CFLAGS explicitlyKhem Raj2017-07-211-0/+3
| | | | | | | | gcc in core now is configured with these options but clang does not have a configuration level knob so we still need to pass it old way Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lldb: Fix build QA errorsKhem Raj2017-07-201-0/+1
| | | | | | WARNING: lldb-5.0.0+gitAUTOINC+e8f2eb9a3b_404119f2df_d8edb413bc-r0 do_package_qa: QA Issue: lldb: found library in wrong location: /usr/bin/liblldb-intel-mpxtable.so [libdir] Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lldb: Fix package QA errorsKhem Raj2017-07-201-0/+2
| | | | | | | WARNING: lldb-5.0.0+gitAUTOINC+e8f2eb9a3b_404119f2df_d8edb413bc-r0 do_package_qa: QA Issue: lldb-dbg: found library in wrong location: /usr/bin/.debug/liblldb-intel-mpxtable.so lldb: found library in wrong location: /usr/bin/liblldb-intel-mpxtable.so [libdir] Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxx: Do not include xlocale.hKhem Raj2017-07-202-0/+31
| | | | | | | | Thsi file is removed from glibc >= 2.26 Fixes #36 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Fix build on aarch64Khem Raj2017-07-202-0/+39
| | | | | | | | Pass armv8.1-a for march when using crc instruction Fix #38 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lldb: Switch to 5.0 branchKhem Raj2017-07-202-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Switch to release_50 branchKhem Raj2017-07-202-10/+10
| | | | | | | upcoming 5.0 release has been branched out track that branch until the release Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Add missing FILERicardo Ribalda Delgado2017-07-181-0/+1
| | | | | | | | | | | | | | | | Fixes: ERROR: clang-5.0.0+gitAUTOINC+f65227fd46_2ce35b601d-r0 do_package: QA Issue: clang: Files/directories were installed but not shipped in any package: /usr/share/opt-viewer /usr/share/opt-viewer/optrecord.py /usr/share/opt-viewer/opt-viewer.py /usr/share/opt-viewer/opt-stats.py /usr/share/opt-viewer/optpmap.py /usr/share/opt-viewer/opt-diff.py /usr/share/opt-viewer/style.css Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>