Bug#953847: sbcl: Please include patch to fix build on powerpc and ppc64el
Source: sbcl
Severity: normal
Tags: patch
User: debian-powerpc@lists.debian.org
Usertags: powerpc,ppc64el
Hello!
The attached patch fixes the sbcl build on powerpc and ppc64el,
I have already included it in the sbcl package on openSUSE [1].
Please apply.
Thanks,
Adrian
> [1] https://build.opensuse.org/package/show/devel:languages:misc/sbcl
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@debian.org
`. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
diff -Nru sbcl-2.0.2.orig/src/runtime/Config.ppc64-linux sbcl-2.0.2/src/runtime/Config.ppc64-linux
--- sbcl-2.0.2.orig/src/runtime/Config.ppc64-linux 2020-02-29 21:25:50.000000000 +0100
+++ sbcl-2.0.2/src/runtime/Config.ppc64-linux 2020-03-13 15:20:42.148527131 +0100
@@ -10,7 +10,7 @@
# files for more information.
CFLAGS += -m64
-LINKFLAGS += -rdynamic -m64
+LINKFLAGS += -rdynamic -m64 -Wl,-no-as-needed
NM = ./linux-nm
ASSEM_SRC = ppc64-assem.S
diff -Nru sbcl-2.0.2.orig/src/runtime/Config.ppc-linux sbcl-2.0.2/src/runtime/Config.ppc-linux
--- sbcl-2.0.2.orig/src/runtime/Config.ppc-linux 2020-02-29 21:25:50.000000000 +0100
+++ sbcl-2.0.2/src/runtime/Config.ppc-linux 2020-03-13 15:18:48.903522685 +0100
@@ -10,7 +10,7 @@
# files for more information.
CFLAGS += -m32
-LINKFLAGS += -rdynamic -m32
+LINKFLAGS += -rdynamic -m32 -Wl,-no-as-needed
NM = ./linux-nm
ASSEM_SRC = ppc-assem.S
Reply to: