Source: opt
Version: 3.19-1.2
Severity: important
User: [email protected]
Usertags: pie-bindnow-20160906
Justification: makes proftmb FTBFS with extra hardening
Affects: proftmb

Dear Maintainers,

During a rebuild of all packages in sid, proftmb
failed to build on amd64 with patched GCC and dpkg. The root
cause seems to be that libopt.a is shipped as a non-PIC library.

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

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

Relevant part of proftmb's build log:
...
g++  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro
-Wl,-z,now -o proftmb proftmb.o libhmm.a -lgsl -lgslcblas -lm -lopt
/usr/bin/ld:
/usr/lib/gcc/x86_64-linux-gnu/6/../../../../lib/libopt.a(opt_proc.o):
relocation R_X86_64_32 against `.bss' can not be used when making a
shared object; recompile with -fPIC
...

The full build log is available from:
 
https://people.debian.org/~rbalint/build-logs/pie-bindnow-20160906/proftmb_1.1.12-6_amd64.build.gz

Thanks,
Balint

Reply via email to