diff options
| author | Khem Raj <raj.khem@gmail.com> | 2022-09-16 23:05:32 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-09-17 16:55:30 -0700 |
| commit | fcaf50a77e401038bed373c722e1b5da3c6a152c (patch) | |
| tree | 1b6d69b02bbb626fa4f44dcbaaa85a7c4e84f36e /conf | |
| parent | 3d516b4013abcf0395d287f167ef343814f9635b (diff) | |
| download | meta-clang-fcaf50a77e401038bed373c722e1b5da3c6a152c.tar.gz | |
qemu,libffi,openssl: Drop clang kludges for arm
They are not needed anymore
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'conf')
| -rw-r--r-- | conf/nonclangable.conf | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index e428b08..52b600f 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf | |||
| @@ -100,16 +100,6 @@ TOOLCHAIN:pn-pseudo = "gcc" | |||
| 100 | TOOLCHAIN:pn-pulseaudio:armv7ve = "gcc" | 100 | TOOLCHAIN:pn-pulseaudio:armv7ve = "gcc" |
| 101 | TOOLCHAIN:pn-pulseaudio:armv7a = "gcc" | 101 | TOOLCHAIN:pn-pulseaudio:armv7a = "gcc" |
| 102 | 102 | ||
| 103 | #| /usr/src/debug/qemu/2.6.0-r1/qemu-2.6.0/util/bitmap.c:191: undefined reference to `__atomic_fetch_or_4' | ||
| 104 | #| /usr/src/debug/qemu/2.6.0-r1/qemu-2.6.0/util/bitmap.c:210: undefined reference to `__atomic_fetch_or_4' | ||
| 105 | #| libqemuutil.a(bitmap.o): In function `bitmap_test_and_clear_atomic': | ||
| 106 | #| /usr/src/debug/qemu/2.6.0-r1/qemu-2.6.0/util/bitmap.c:250: undefined reference to `__atomic_fetch_and_4' | ||
| 107 | #| /usr/src/debug/qemu/2.6.0-r1/qemu-2.6.0/util/bitmap.c:262: undefined reference to `__atomic_exchange_4' | ||
| 108 | #| /usr/src/debug/qemu/2.6.0-r1/qemu-2.6.0/util/bitmap.c:273: undefined reference to `__atomic_fetch_and_4' | ||
| 109 | # We need to link in with -latomic which comes from gcc-runtime anyway so just keep using gcc | ||
| 110 | # to compile qemu for target | ||
| 111 | TOOLCHAIN:pn-qemu:arm = "gcc" | ||
| 112 | |||
| 113 | #| ./dsp/v4f_IIR2.h:554:12: error: no matching function for call to 'v4f_map' | 103 | #| ./dsp/v4f_IIR2.h:554:12: error: no matching function for call to 'v4f_map' |
| 114 | #| a[5] = v4f_map<__builtin_cosf> (f); | 104 | #| a[5] = v4f_map<__builtin_cosf> (f); |
| 115 | #| ^~~~~~~~~~~~~~~~~~~~~~~ | 105 | #| ^~~~~~~~~~~~~~~~~~~~~~~ |
| @@ -150,7 +140,6 @@ CFLAGS:append:pn-liboil:toolchain-clang:x86-64 = " -fheinous-gnu-extensions " | |||
| 150 | 140 | ||
| 151 | #../libffi-3.2.1/src/arm/sysv.S:363:2: error: invalid instruction, did you mean: fldmiax? | 141 | #../libffi-3.2.1/src/arm/sysv.S:363:2: error: invalid instruction, did you mean: fldmiax? |
| 152 | # fldmiadgt ip, {d0-d7} | 142 | # fldmiadgt ip, {d0-d7} |
| 153 | CFLAGS:append:pn-libffi:arm:toolchain-clang = " -no-integrated-as" | ||
| 154 | CFLAGS:append:pn-libffi:mips64:toolchain-clang = " -no-integrated-as" | 143 | CFLAGS:append:pn-libffi:mips64:toolchain-clang = " -no-integrated-as" |
| 155 | 144 | ||
| 156 | # ../db-5.3.28/src/mutex/mut_tas.c:150:34: error: unknown directive | 145 | # ../db-5.3.28/src/mutex/mut_tas.c:150:34: error: unknown directive |
| @@ -164,12 +153,6 @@ CFLAGS:append:pn-libffi:mips64:toolchain-clang = " -no-integrated-as" | |||
| 164 | #| ^ | 153 | #| ^ |
| 165 | CFLAGS:append:pn-directfb:toolchain-clang:arm = " -no-integrated-as" | 154 | CFLAGS:append:pn-directfb:toolchain-clang:arm = " -no-integrated-as" |
| 166 | 155 | ||
| 167 | # Disable internal assembler for armv7 since it uses gnu assmebly syntax | ||
| 168 | # which should be preprocessed via gcc/compiler | ||
| 169 | # | ||
| 170 | CFLAGS:append:pn-openssl:toolchain-clang:armv7ve = " -no-integrated-as" | ||
| 171 | CFLAGS:append:pn-openssl:toolchain-clang:armv7a = " -no-integrated-as" | ||
| 172 | |||
| 173 | #| threads_pthread.c:(.text+0x372): undefined reference to `__atomic_is_lock_free' | 156 | #| threads_pthread.c:(.text+0x372): undefined reference to `__atomic_is_lock_free' |
| 174 | EXTRA_OECONF:pn-openssl:toolchain-clang:x86 = "-latomic" | 157 | EXTRA_OECONF:pn-openssl:toolchain-clang:x86 = "-latomic" |
| 175 | 158 | ||
