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
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 0.45.0/ tools-for- build/Makefile
+++ sbcl-1.
@@ -11,7 +11,7 @@
-include Config
CPPFLAGS: =-I../src/ runtime =$(LDFLAGS) $(OS_LIBS) =$(LDFLAGS) -Wl,--no-as-needed $(OS_LIBS)
-LDFLAGS:
+LDFLAGS:
all: grovel-headers determine- endianness where-is-mcontext \
modify- ldt-struct- name sigaction- sa-nodefer- works-test