Bug#996796: llvm-toolchain-12: FTBFS on i386|mipsel|powerpc since 1:12.0.1-10: undefined reference to `__udivdi3'

Simon McVittie smcv at debian.org
Mon Oct 18 21:56:39 BST 2021


Control: retitle -1 llvm-toolchain-12: FTBFS on i386|mipsel|powerpc since 1:12.0.1-10: undefined reference to `__udivdi3'

On Mon, 18 Oct 2021 at 21:40:33 +0100, Simon McVittie wrote:
> The restructuring in 1:12.0.1-10 seem to have triggered a FTBFS on i386
...
> Utility.h:56 is dividing a uint64_t by 10. I would guess that the problem
> is -nodefaultlibs suppressing linking with LLVM's equivalent of libgcc
> (libclang_rt?) so there's no implementation of the out-of-line __udivdi3()
> call.

Looking more closely at the mipsel log, mipsel also has this bug (among
others). Among non-release architectures, so does powerpc.

It's possible that the other 32-bit release architectures, armel and
armhf, would also have this bug if their builds got further along.

    smcv



More information about the Pkg-llvm-team mailing list