Comment 1 for bug 492783

Revision history for this message
Christoph Egger (christoph-egger) wrote :

Could be "fixed" as follows (good as workaround for e.g. ubuntu that forces as needed inside the linker binary ...)

--- sbcl-1.0.45.0.orig/tools-for-build/Makefile
+++ sbcl-1.0.45.0/tools-for-build/Makefile
@@ -11,7 +11,7 @@
 -include Config

 CPPFLAGS:=-I../src/runtime
-LDFLAGS:=$(LDFLAGS) $(OS_LIBS)
+LDFLAGS:=$(LDFLAGS) -Wl,--no-as-needed $(OS_LIBS)

 all: grovel-headers determine-endianness where-is-mcontext \
         modify-ldt-struct-name sigaction-sa-nodefer-works-test