Source: ldc
Version: 1.1.0-2
Severity: important
User: bal...@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):
...
[  0%] Generating ddmd/idgen
cd /<<PKGBUILDDIR>> && /usr/bin/ldmd2 -wi -O -inline -release
-J/<<PKGBUILDDIR>>/ddmd -I/<<PKGBUILDDIR>>/ddmd
-of/<<PKGBUILDDIR>>/build-static/ddmd/idgen ddmd/idgen.d
/usr/bin/ld: /<<PKGBUILDDIR>>/build-static/ddmd/idgen.o: relocation
R_X86_64_32 against `.rodata.str1.1' can not be used when making a
shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
Error: /usr/bin/gcc failed with status: 1
CMakeFiles/LDCShared.dir/build.make:68: recipe for target 'ddmd/idgen'
failed
make[3]: *** [ddmd/idgen] Error 1
...

The full build log is available from:
 
https://people.debian.org/~rbalint/build-logs/pie-bindnow-20160906/ldc_1.1.0-2_amd64.build.gz

Thanks,
Balint

Reply via email to