Public bug reported: SBCL fails to build when gcc is configure to generate Position Independent Binaries. The runtime configs for SBCL in sbcl/src/runtime/Config.x86-linux and sbcl/src/runtime/Config.x86-64-linux attempt to take this into account via the following code snippets:
# Hardened GCC enables PIE by default ifneq ($(shell $(CC) -dumpspecs 2>/dev/null | grep -e nopie),) CFLAGS += -fno-pie LINKFLAGS += -nopie LDFLAGS += -nopie endif However, upstream gcc has standardized on the -no-pie flag (note embedded hyphen): https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/doc/invoke.texi;h=515d948ce710a2fba98c586ea2efa05d4cf60979;hb=HEAD#l10620 as of upstream commit: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=e9abca4f4a48fa8b1fd9778f6a3cd748e099e3bb This causes SBCL to FTBFS in Ubuntu 16.10 on amd64 where -pie is enabled by default in gcc. ** Affects: sbcl (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1576871 Title: runtime config for x86 linux adds incorrect gcc -nopie flag To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sbcl/+bug/1576871/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
