Bug#837564: llvm-toolchain-3.8: FTBFS with bindnow and PIE enabled

Balint Reczey balint at balintreczey.hu
Mon Sep 12 14:28:05 UTC 2016


Source: llvm-toolchain-3.8
Version: 3.8.1-9
Severity: important
User: balint at balintreczey.hu
Usertags: pie-bindnow-20160906
Justification: FTBFS on amd64 with extra hardening

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64 with patched GCC and dpkg.

The rebuild tested if packages are ready for a transition
enabling PIE and bindnow for amd64.

For more information about the changes to sid's dpkg and GCC please
visit:
 https://wiki.debian.org/Hardening/PIEByDefaultTransition

Relevant part (hopefully):
...
-- Testing: 15541 tests, 4 threads --
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80..
FAIL: LLVM :: tools/llvm-symbolizer/print_context.c (14205 of 15541)
******************** TEST 'LLVM ::
tools/llvm-symbolizer/print_context.c' FAILED ********************
Script:
--
/usr/bin/gcc-6  -O0 -g
/<<PKGBUILDDIR>>/test/tools/llvm-symbolizer/print_context.c -o
/<<PKGBUILDDIR>>/build-llvm/test/tools/llvm-symbolizer/Output/print_context.c.tmp
2>&1
/<<PKGBUILDDIR>>/build-llvm/test/tools/llvm-symbolizer/Output/print_context.c.tmp
2>&1 | /<<PKGBUILDDIR>>/build-llvm/./bin/llvm-symbolizer
-print-source-context-lines=5
-obj=/<<PKGBUILDDIR>>/build-llvm/test/tools/llvm-symbolizer/Output/print_context.c.tmp
| /<<PKGBUILDDIR>>/build-llvm/./bin/FileCheck
/<<PKGBUILDDIR>>/test/tools/llvm-symbolizer/print_context.c
--check-prefix=CHECK
--
Exit Code: 1

Command Output (stderr):
--
/<<PKGBUILDDIR>>/test/tools/llvm-symbolizer/print_context.c:16:11:
error: expected string not found in input
// CHECK: inc
...

The full build log is available from:
 https://people.debian.org/~rbalint/build-logs/pie-bindnow-20160906/llvm-toolchain-3.8_3.8.1-9_amd64.build.gz

Thanks,
Balint



More information about the Pkg-llvm-team mailing list