Source: llvm-toolchain-9
Version: 1:9.0.0-1
Severity: serious
Justification: FTBFS on release arch, built before
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-9&arch=i386&ver=1%3A9.0.0-1&stamp=1571581925&raw=0

Disentangling the parallel build, we get:

[…]
cd 
/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/projects/compiler-rt/lib/fuzzer/cxx_x86_64_merge.dir
 && /usr/bin/ld --whole-archive 
/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/lib/clang/9.0.0/lib/linux/libclang_rt.fuzzer-x86_64.a
 --no-whole-archive 
/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/projects/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64/lib/libc++.a
 -r -o fuzzer.o
/usr/bin/ld: relocatable linking with relocations from format elf64-x86-64 
(/<<PKGBUILDDIR>>/build-llvm/tools/clang/stage2-bins/lib/clang/9.0.0/lib/linux/libclang_rt.fuzzer-x86_64.a(FuzzerCrossOver.cpp.o))
 to format elf32-i386 (fuzzer.o) is not supported
make[8]: *** 
[projects/compiler-rt/lib/fuzzer/CMakeFiles/clang_rt.fuzzer-x86_64.dir/build.make:120:
 lib/clang/9.0.0/lib/linux/libclang_rt.fuzzer-x86_64.a] Error 1

Basically, it’s trying to create one single fuzzer.o relocatable object file
from the contents of the amd64 library but uses ld -r without -m64.

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

Reply via email to