Source: libmathlib2-dev Version: 20061220+dfsg3-3 Severity: important User: bal...@balintreczey.hu Usertags: pie-bindnow-20160906 Justification: makes paw FTBFS with extra hardening Affects: paw
Dear Maintainers, During a rebuild of all packages in sid, paw failed to build on amd64 with patched GCC and dpkg. The root cause seems to be that libmathlib.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 paw's build log: ... set -e ; \ [ -d /<<PKGBUILDDIR>>/shlib ] || exit 0 ; \ gfortran /<<PKGBUILDDIR>>/build/pawlib/paw/programs/0pamain.o \ `cernlib -G X11 pawlib` -Wl,-E -o /<<PKGBUILDDIR>>/bin/pawX11.static;\ gfortran /<<PKGBUILDDIR>>/build/pawlib/paw/programs/0pamainm.o \ `cernlib -G Motif pawlib` -Wl,-E -o /<<PKGBUILDDIR>>/bin/paw++.static /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libmathlib.a(besi064.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libmathlib.a(besj064.o): relocation R_X86_64_32S against `.rodata.str1.8' 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/paw_2.14.04.dfsg.2-9_amd64.build.gz Thanks, Balint