[Pkg-running-devel] Bug#837399: antpm: FTBFS with bindnow and PIE enabled

Balint Reczey balint at balintreczey.hu
Sun Sep 11 10:41:55 UTC 2016


Source: antpm
Version: 1.18-1
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):
...
make[4]: Entering directory '/<<PKGBUILDDIR>>/cmake-build'
[ 83%] Building CXX object
CMakeFiles/antpm-usbmon2ant.dir/antpm-usbmon2ant.cpp.o
[ 83%] Building CXX object
CMakeFiles/antpm-downloader.dir/antpm-downloader.cpp.o
[ 87%] Building CXX object CMakeFiles/antpm-fit2gpx.dir/antpm-fit2gpx.cpp.o
[ 91%] Linking CXX executable antpm-usbmon2ant
/usr/bin/ld:
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libboost_program_options.a(cmdline.o):
relocation R_X86_64_32 against `.rodata.str1.8' 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/libboost_program_options.a(options_description.o):
relocation R_X86_64_32 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/antpm_1.18-1_amd64.build.gz

Dynamic linking to boost would probably fix the problem.

Thanks,
Balint



More information about the Pkg-running-devel mailing list