Source: gcl
Version: 2.6.12-33
Severity: important
User: bal...@balintreczey.hu
Usertags: pie-bindnow-20160906
Justification: FTBFS on amd64 with extra hardening
Tags: patch

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):
...
touch raw_pre_gcl_map
gcc -Wl,-z,relro -Wl,-z,now -Wl,-T ../unixport/gcl.script -o raw_pre_gcl
 -L.  -Wl,-Map raw_pre_gcl_map  -lpre_gcl -lX11    -lm  -pg -lgmp
-lreadline -lc -lgclp
PATH=/usr/bin:$PATH gcc msys.c -o msys # Unix binary if running wine
cp sys_init.lsp foo
echo "(unless si::*quit-tags* (in-package \"USER\")(system:save-system
\"saved_pre_gcl\"))" >>foo
ar x libpre_gcl.a $(ar t libpre_gcl.a |grep ^gcl_)
/<<PKGBUILDDIR>>/unixport/raw_pre_gcl /<<PKGBUILDDIR>>/unixport/ -libdir
/<<PKGBUILDDIR>>/ < foo
GCL (GNU Common Lisp)  April 1994  22913624631 pages
Building symbol table for /<<PKGBUILDDIR>>/unixport/raw_pre_gcl ..
The assertion (sec=get_section( ".rel.plt",sec1,sece,sn)) ||
(sec=get_section(".rela.plt",sec1,sece,sn)) on line 387 of sfaslelf.c in
function set_symbol_stubs failed: SuccessAborted
makefile:93: recipe for target 'saved_pre_gcl' failed
make[2]: *** [saved_pre_gcl] Error 134
rm raw_pre_gcl

...

The full build log is available from:
 
https://people.debian.org/~rbalint/build-logs/pie-bindnow-20160906/gcl_2.6.12-33_amd64.build.gz

The patch used at Ubuntu fixes the issue by disabling PIE:
https://patches.ubuntu.com/g/gcl/gcl_2.6.12-33ubuntu1.patch

Thanks,
Balint

Reply via email to