Source: dietlibc
Version: 0.34~cvs20160606-2
Severity: important
User: [email protected]
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):
...
gcc -D__dietlibc__ -isystem include -Os -fstrict-aliasing
-momit-leaf-frame-pointer -mfancy-math-387  -g -W -Wall -Wextra
-Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations
-Wno-switch -Wno-unused -Wredundant-decls -Wshadow
-fstack-protector-strong -nostdlib -o bin-x86_64/diet bin-x86_64/start.o
bin-x86_64/dyn_start.o diet.c bin-x86_64/dietlibc.a
bin-x86_64/dyn_stop.o -DDIETHOME=\"/<<PKGBUILDDIR>>\"
-DVERSION=\"0.34~cvs20160606-2\" -lgcc
/usr/bin/ld: bin-x86_64/dietlibc.a(stackgap.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
Makefile:362: recipe for target 'bin-x86_64/diet' failed

...

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

Thanks,
Balint

Reply via email to