Bug#837576: sbcl: FTBFS with bindnow and PIE enabled

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


Source: sbcl
Version: 1.3.8-1
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):
...
cc -g -Wall -Wsign-compare -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer -I.
-DSBCL_PREFIX=\"'/<<PKGBUILDDIR>>/stage1'\"  -c -o ldso-stubs.o ldso-stubs.S
cc -g -Wl,--export-dynamic -o sbcl alloc.o backtrace.o breakpoint.o
coreparse.o dynbind.o funcall.o gc-common.o globals.o interr.o
interrupt.o largefile.o monitor.o os-common.o parse.o print.o purify.o
pthread-futex.o regnames.o run-program.o runtime.o safepoint.o save.o
search.o thread.o time.o util.o validate.o vars.o wrap.o x86-64-arch.o
linux-os.o x86-64-linux-os.o gencgc.o x86-64-assem.o ldso-stubs.o -ldl
-lpthread -lz -lm
/usr/bin/ld: x86-64-assem.o: relocation R_X86_64_32S against undefined
symbol `all_threads' can not be used when making a shared object;
recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
...

The full build log is available from:
 https://people.debian.org/~rbalint/build-logs/pie-bindnow-20160906/sbcl_1.3.8-1_amd64.build.gz

Thanks,
Balint



More information about the pkg-common-lisp-devel mailing list