| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
.S files use GNU syntax which does not work with integrated asm
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
It causes bunch of textrels, which need to be fixed
ERROR: babeltrace2-2.0.1-r0 do_package_qa: QA Issue: babeltrace2-ptest: ELF binary /usr/lib/babeltrace2/ptest/tests/lib/test-plugin-plugins/plugin-minimal.so has relocations in .text
babeltrace2-ptest: ELF binary /usr/lib/babeltrace2/ptest/tests/lib/test-plugin-plugins/plugin-sfs.so has relocations in .text [textrel]
ERROR: babeltrace2-2.0.1-r0 do_package_qa: QA Issue: babeltrace2: ELF binary /usr/lib/babeltrace2/plugins/babeltrace-plugin-ctf.so has relocations in .text
babeltrace2: ELF binary /usr/lib/babeltrace2/plugins/babeltrace-plugin-utils.so has relocations in .text
babeltrace2: ELF binary /usr/lib/babeltrace2/plugins/babeltrace-plugin-text.so has relocations in .text [textrel]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
This fixes the clang++ hang, this is also reported
https://bugs.llvm.org/show_bug.cgi?id=45134
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
clang10 works ok
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>
|
|
|
|
|
|
|
|
| |
Fixes
| gcc: error: unrecognized command line option ‘-Qunused-arguments’
| make[2]: *** [../../coreconf/rules.mk:393: Linux3.4_arm_glibc_PTH_OPT.OBJ/nsinstall.o] Error 1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
gobject-intospection and avahi do not yet prelink with clang/mips64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
This helps configure scripts to detect right set of
compiler specific options to enable
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Fixes
/usr/src/debug/cpio/2.13-r0/build/gnu/../../cpio-2.13/gnu/xmalloc.c:100: undefined reference to `__mulodi4'
clang-9: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:1124: recipe for target 'rmt' failed
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Fails with error on clang
error: return address can be determined only for current frame
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
clang crashes for some reason
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
libffi expects arv7+neon with clang in asm
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Needed for clang since it needs __mulodi4 but these arches do not build
compiler-rt
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
gcc uses intrinsics for atomic<double> but clang does not for x86
when using libstdc++
./media/audio/pulse/pulse_input.cc uses this atomic variable
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
It expects libc++ with clang
Fixes
| CMake Error at CMakeLists.txt:316 (message):
| gerbera requires C++17 Optional to be available. Check your compiler is
| >=GCC 7.1 or >=libc++ 5
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Fixes
| /usr/src/debug/webkitgtk/2.26.2-r0/webkitgtk-2.26.2/Source/WTF/wtf/CheckedArithmetic.h:365: error: undefined reference to '__mulodi4'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Fixes
mips-32.S:108:15: error: invalid reassignment of non-absolute variable 'DST'
| .set DST, $a0
| ^
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
This helps compiling on some arches e.g. aarch64
| /tmp/vp9_superframe_split_bsf-a989f9.s:701: Error: selected processor does not support `bfc w3,#24,#8'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
They do static linking, and when linking with glibc it expects
intrinsics from libgcc since we do not use clang to build glibc
this is not an issue on musl since we use clang to build most of
musl ports
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
using llvm libunwind ends up in aborts
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
No need to shun out llvm libunwind for perf
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
llvm is not tested yet with this package
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It doesn't seem to have needed c++17 features that mongodb needs
src/mongo/stdx/new.h:53:12: error: no member named 'hardware_constructive_interference_size' in namespace 'std'
using std::hardware_constructive_interference_size;
~~~~~^
src/mongo/stdx/new.h:54:12: error: no member named 'hardware_destructive_interference_size' in namespace 'std'
using std::hardware_destructive_interference_size;
~~~~~^
clang build fails to link
aarch64-yoe-linux-ld.gold: error: build/opt/mongo/s/mongos_options.o: multiple definition of 'mongo::error_details::isNamedCode<0>'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
It crashes with out this
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add compiler-rt and libcxx only when these libs are used via cmdline
* libffi still need to disable internal asm on arm <= v6
* Add compiler-rt to linker only when compiler-rt is used in compiler
cmdline
* Set BASE_DEFAULT_DEPS instead of munging BASEEDEPENDS directly
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
it needs some work to port to compile with clang++
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
glibc links with libgcc and therefore expects libgcc symbols during
static linking as well
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
clang/ppc missing 64bit atomics
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
we do not have compiler-rt on ppc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
clang/riscv64 is new and currently fails to build them
linking with libatomic is needed for clang/riscv64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
The package was recently updated to version 0.60.7 which builds fine
with both clang 8.x and 9.x.
Signed-off-by: Piotr Tworek <tworaz@tworaz.net>
|
|
|
|
|
|
| |
delete settings for openssl10, the recipe is gone from core layer
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Fails to compile certain opcodes
| /tmp/heap-175496.s:5016: Error: illegal operands `auipc a4,%got_pcrel_hi(__heap_pg_alloc_desc)'
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>
|
|
|
|
|
|
|
| |
with latest mozjs 60.x it does not compile with clang
its fixable but mark it gcc only in the mean term
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
since llvm libunwind does not provide all the symbols that
glibc/libpthread expects when doing static linking it fails with
some undefined symbols e.g.
/usr/src/debug/glibc/2.29-r0/git/nptl/unwind.c:121: undefined reference to `_Unwind_ForcedUnwind'
which is found in libgcc_s.so, ideally one day clang unwind library
should get there
this is only an issue on glibc, musl works ok
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>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
It uses gnu as specific syntax
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|