Source: mlton
Version: 20100608-5.1
Severity: important
User: bal...@balintreczey.hu
Usertags: pie-bindnow-20160906
Justification: FTBFS on amd64 with extra hardening
Affects: urweb

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):
...
"/<<PKGBUILDDIR>>/bin/upgrade-basis"
'/<<PKGBUILDDIR>>/build/bin:/<<PKGBUILDDIR>>/build/bin:/<<PKGBUILDDIR>>/bin:/<<PKGBUILDDIR>>/build/bin:/<<PKGBUILDDIR>>/bin:/<<PKGBUILDDIR>>/build/bin:/<<PKGBUILDDIR>>/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games'
"amd64" "linux" >upgrade-basis.sml
/usr/bin/ld: /usr/lib/mlton/targets/self/libmlton.a(platform.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/mlton/targets/self/libmlton.a(gc.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/mlton_20100608-5.1_amd64.build.gz

Not shipping libmilton.a as PIC also makes urweb FTBFS:
 
https://people.debian.org/~rbalint/build-logs/pie-bindnow-20160906/urweb_20160805+dfsg-1_amd64.build.gz

Thanks,
Balint

Reply via email to