Source: xenomai
Version: 2.6.4+dfsg-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):
...
make[4]: Entering directory
'/<<BUILDDIR>>/xenomai-2.6.4+dfsg/src/testsuite/clocktest'
gcc -DHAVE_CONFIG_H -I. -I../../../src/include  -I../../../include/posix
-O2 -D_GNU_SOURCE -D_REENTRANT -Wall
-Werror-implicit-function-declaration -pipe -D__XENO__ -D__IN_XENO__
-Wstrict-prototypes -fstrict-aliasing -Wno-strict-aliasing
-I../../../include -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2
-fdebug-prefix-map=/<<BUILDDIR>>/xenomai-2.6.4+dfsg=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -fno-omit-frame-pointer -c -o clocktest-clocktest.o
`test -f 'clocktest.c' || echo './'`clocktest.c
/bin/bash ../../../libtool  --tag=CC   --mode=link
../../../scripts/wrap-link.sh gcc  -g -O2
-fdebug-prefix-map=/<<BUILDDIR>>/xenomai-2.6.4+dfsg=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -fno-omit-frame-pointer
-Wl,@/<<BUILDDIR>>/xenomai-2.6.4+dfsg/src/skins/posix/posix.wrappers
-Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o clocktest
clocktest-clocktest.o ../../skins/posix/libpthread_rt.la
../../skins/common/libxenomai.la -lpthread -lrt libtool: link:
../../../scripts/wrap-link.sh gcc -g -O2
-fdebug-prefix-map=/<<BUILDDIR>>/xenomai-2.6.4+dfsg=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -fno-omit-frame-pointer
-Wl,@/<<BUILDDIR>>/xenomai-2.6.4+dfsg/src/skins/posix/posix.wrappers
-Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -o .libs/clocktest
clocktest-clocktest.o  ../../skins/posix/.libs/libpthread_rt.so
../../skins/common/.libs/libxenomai.so -lpthread -lrt
/usr/bin/ld: -r and -pie may not be used together
collect2: error: ld returned 1 exit status
Makefile:435: recipe for target 'clocktest' failed
make[4]: *** [clocktest] Error 1
...

The full build log is available from:
 
https://people.debian.org/~rbalint/build-logs/pie-bindnow-20160906/xenomai_2.6.4+dfsg-0.2_amd64.build.gz

Thanks,
Balint

Reply via email to