Bug#995148: clang-11: fatal error: Cannot select: intrinsic %llvm.arm.hint under armel
Christian Marillat
marillat at debian.org
Mon Sep 27 06:59:28 BST 2021
Package: clang-11
Version: 1:11.1.0-1
Severity: normal
Dear Maintainer,
When I try to build libdispatch 5.4.2 the build fail with the error below.
You can download libdispatch 5.4.2 from here (Debian packages are too old) :
https://www.deb-multimedia.org/pool/main/libd/libdispatch-dmo/libdispatch-dmo_5.4.2-0.0.debian.tar.xz
https://www.deb-multimedia.org/pool/main/libd/libdispatch-dmo/libdispatch-dmo_5.4.2-0.0.dsc
https://www.deb-multimedia.org/pool/main/libd/libdispatch-dmo/libdispatch-dmo_5.4.2.orig.tar.xz
File attached :
The dpkg-buildpackage build log:
libdispatch-dmo_5.4.2-0.0_armel.build
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libdispatch-dmo_5.4.2-0.0_armel.build
Type: application/octet-stream
Size: 446232 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-llvm-team/attachments/20210927/e3cb3fa1/attachment-0001.obj>
-------------- next part --------------
Files generated by clang :
yield-8be637.c
yield-8be637.sh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yield-8be637.c
Type: text/x-csrc
Size: 2475987 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-llvm-team/attachments/20210927/e3cb3fa1/attachment-0001.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yield-8be637.sh
Type: text/x-sh
Size: 9835 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-llvm-team/attachments/20210927/e3cb3fa1/attachment-0001.sh>
-------------- next part --------------
,----
| /home/marillat/build/libdispatch-dmo-5.4.2/src/shims/yield.c:29:18: warning: large atomic operation may incur significant performance penalty [-Watomic-alignment]
| while ((value = os_atomic_load(ptr, relaxed)) == NULL) {
| ^
| /home/marillat/build/libdispatch-dmo-5.4.2/src/shims/atomic.h:53:3: note: expanded from macro 'os_atomic_load'
| atomic_load_explicit(_os_atomic_c11_atomic(p), memory_order_##m)
| ^
| /usr/lib/llvm-11/lib/clang/11.1.0/include/stdatomic.h:121:30: note: expanded from macro 'atomic_load_explicit'
| #define atomic_load_explicit __c11_atomic_load
| ^
| fatal error: error in backend: Cannot select: intrinsic %llvm.arm.hint
`----
Christian
-- System Information:
Debian Release: bookworm/sid
APT prefers buildd-unstable
APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: armel (armv7l)
Foreign Architectures: armhf
Kernel: Linux 5.10.52-v7+ (SMP w/4 CPU threads)
Kernel taint flags: TAINT_CRAP
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages clang-11 depends on:
ii binutils 2.37-7
ii libatomic1 11.2.0-8
ii libc6 2.32-4
ii libc6-dev 2.32-4
ii libclang-common-11-dev 1:11.1.0-1
ii libclang-cpp11 1:11.1.0-1
ii libclang1-11 1:11.1.0-1
ii libgcc-10-dev 10.3.0-11
ii libgcc-s1 11.2.0-8
ii libllvm11 1:11.1.0-1
ii libobjc-10-dev 10.3.0-11
ii libstdc++-10-dev 10.3.0-11
ii libstdc++6 11.2.0-8
Versions of packages clang-11 recommends:
pn libomp-11-dev <none>
pn llvm-11-dev <none>
ii python3 3.9.2-3
Versions of packages clang-11 suggests:
pn clang-11-doc <none>
-- no debconf information
More information about the Pkg-llvm-team
mailing list