Bug#837577: t38modem: FTBFS with bindnow and PIE enabled

Balint Reczey balint at balintreczey.hu
Mon Sep 12 14:40:58 UTC 2016


Source: t38modem
Version: 2.0.0-4
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):
...
g++ -c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 `pkg-config --cflags opal` -DUSE_OPAL -fpermissive
-DUSE_UNIX98_PTY -o opal/fake_codecs.o opal/fake_codecs.cxx
g++ -Wdate-time -D_FORTIFY_SOURCE=2 `pkg-config --cflags opal`
-DUSE_OPAL -fpermissive -DUSE_UNIX98_PTY -o t38modem pmutils.o dle.o
pmodem.o pmodemi.o drivers.o t30tone.o tone_gen.o hdlc.o t30.o fcs.o
pmodeme.o enginebase.o t38engine.o audio.o drv_pty.o main_process.o
opal/opalutils.o opal/modemep.o opal/modemstrm.o opal/h323ep.o
opal/sipep.o opal/manager.o opal/fake_codecs.o -Wl,-z,relro -Wl,-z,now
`pkg-config --libs opal`
/usr/bin/ld: pmodeme.o: relocation R_X86_64_PC32 against symbol
`_ZNK17PStringDictionaryI7PStringE5GetAtERKS0_' 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/t38modem_2.0.0-4_amd64.build.gz

Thanks,
Balint




More information about the Pkg-voip-maintainers mailing list