Your message dated Sat, 23 Oct 2021 18:44:16 +0100
with message-id <yxrj8lyd0lvhe...@momentum.pseudorandom.co.uk>
and subject line Re: Bug#996947: llvm-toolchain-12: FTBFS on armel since 
1:12.0.1-11: error: instruction requires: data-barriers
has caused the Debian Bug report #996947,
regarding llvm-toolchain-12: FTBFS on armel since 1:12.0.1-11: error: 
instruction requires: data-barriers
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
996947: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996947
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: llvm-toolchain-12
Version: 1:12.0.1-11
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-12&arch=armel&ver=1%3A12.0.1-11&stamp=1634667108&raw=0
https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-12&arch=armel&ver=1%3A12.0.1-12&stamp=1634719287&raw=0
>[9/167] /<<PKGBUILDDIR>>/build-llvm/./bin/clang -target arm-linux-gnueabi 
>-DVISIBILITY_HIDDEN  -O3 -DNDEBUG  -DCOMPILER_RT_HAS_FLOAT16 -std=c11 -fPIC 
>-fno-builtin -fvisibility=hidden -fomit-frame-pointer -MD -MT 
>CMakeFiles/clang_rt.builtins-arm.dir/arm/sync_fetch_and_add_4.S.o -MF 
>CMakeFiles/clang_rt.builtins-arm.dir/arm/sync_fetch_and_add_4.S.o.d -o 
>CMakeFiles/clang_rt.builtins-arm.dir/arm/sync_fetch_and_add_4.S.o -c 
>/<<PKGBUILDDIR>>/compiler-rt/lib/builtins/arm/sync_fetch_and_add_4.S
>FAILED: CMakeFiles/clang_rt.builtins-arm.dir/arm/sync_fetch_and_add_4.S.o
>/<<PKGBUILDDIR>>/build-llvm/./bin/clang -target arm-linux-gnueabi 
>-DVISIBILITY_HIDDEN  -O3 -DNDEBUG  -DCOMPILER_RT_HAS_FLOAT16 -std=c11 -fPIC 
>-fno-builtin -fvisibility=hidden -fomit-frame-pointer -MD -MT 
>CMakeFiles/clang_rt.builtins-arm.dir/arm/sync_fetch_and_add_4.S.o -MF 
>CMakeFiles/clang_rt.builtins-arm.dir/arm/sync_fetch_and_add_4.S.o.d -o 
>CMakeFiles/clang_rt.builtins-arm.dir/arm/sync_fetch_and_add_4.S.o -c 
>/<<PKGBUILDDIR>>/compiler-rt/lib/builtins/arm/sync_fetch_and_add_4.S
>/<<PKGBUILDDIR>>/compiler-rt/lib/builtins/arm/sync_fetch_and_add_4.S:19:193: 
>error: instruction requires: data-barriers
>.p2align 2; .thumb; .syntax unified; .arm ; ; .globl __sync_fetch_and_add_4 ; 
>.type __sync_fetch_and_add_4,%function ; .hidden __sync_fetch_and_add_4 ; ; 
>.thumb_func ; __sync_fetch_and_add_4: dmb; mov r12, r0; .L_tryatomic_add_4 : 
>ldrex r0, [r12]; add r2, r0, r1; strex r3, r2, [r12]; cmp r3, #0; bne 
>.L_tryatomic_add_4; dmb; bx lr

I believe this might be because LLVM is compiling compiler-rt, which is
its equivalent of libgcc/libatomic in gcc; but armel is one of the few
Debian ports that does not have atomic instructions available in its
baseline (ARMv5t), so atomic operations have to be emulated using mutexes?
(This has been an issue for e.g. GLib and libdbus in the past.)

    smcv

--- End Message ---
--- Begin Message ---
Version: 1:12.0.1-14

On Fri, 22 Oct 2021 at 11:09:10 +0100, Simon McVittie wrote:
> I think this particular root cause is fixed in 1:12.0.1-13, but it's
> hard to tell until the other reasons for FTBFS on armel are all fixed.

1:12.0.1-14 built on armel, closing.

    smcv

--- End Message ---

Reply via email to