Bug#980957: llvm-toolchain-11 autopkgtest segfaults on armhf

Gianfranco Costamagna locutusofborg at debian.org
Sun Mar 28 20:11:49 BST 2021


control: forwarded -1 https://sourceware.org/bugzilla/show_bug.cgi?id=27659
control: affects -1 src:binutils

Invoking the clang with -V shows a failure in ld.bdf linker, a failure that doesn't happen with gold linker and with object files (crt*.o) copied on local directory.

I opened a bug against binutils people to track it down, hopefully they can sort what is segfaulting there.

thanks

Gianfranco

On Sun, 24 Jan 2021 20:38:29 +0100 Paul Gevers <elbrus at debian.org> wrote:
> Source: llvm-toolchain-11
> Version: 1:11.0.0-2
> Severity: serious
> X-Debbugs-CC: debian-ci at lists.debian.org
> User: debian-ci at lists.debian.org
> Usertags: fails-always
> 
> Dear maintainers,
> 
> You package has an autopkgtest, great. However, it fails on armhf with a
> segfault.
> 
> The error code is unfortunate as autopkgtest interprets it as a tmpfail,
> so the test is tried over and over again. I'll put the failure on the
> ci.d.n blocklist, to avoid that, and will lift the block when this bug
> is closed.
> 
> Paul
> 
> https://ci.debian.net/data/autopkgtest/testing/armhf/l/llvm-toolchain-11/9960854/log.gz
> 
> echo '#include <stdio.h>
> int main() {
> if (1==1) {
>   printf("true");
> }else{
>   printf("false");
>   return 42;
> }
> return 0;}' > foo.c
> Testing linking ...
> rm foo bar.cc
> 
> clang-$VERSION -flto foo.c -o foo
> clang: error: unable to execute command: Segmentation fault
> clang: error: linker command failed due to signal (use -v to see invocation)
> autopkgtest [02:17:39]: ERROR: testbed failure: testbed auxverb failed
> with exit code 254
> 



More information about the Pkg-llvm-team mailing list