GCC >= 4.6 omits it by default, leading to broken backtraces.
or removed.
* bug fix: fixed-format floating point printing with scaling factors.
(lp#811386)
+ * bug fix: using GCC >= 4.6 to build SBCL on x86 no longer breaks
+ backtraces. (lp#818460)
changes in sbcl-1.0.50 relative to sbcl-1.0.49:
* enhancement: errors from FD handlers now provide a restart to remove
# provided with absolutely no warranty. See the COPYING and CREDITS
# files for more information.
-CFLAGS = -arch i386 -g -Wall -O2 -fdollars-in-identifiers
+CFLAGS = -arch i386 -g -Wall -O2 -fdollars-in-identifiers -fno-omit-frame-pointer
LINKFLAGS += -arch i386
ifdef LISP_FEATURE_DARWIN9_OR_BETTER
CFLAGS += -mmacosx-version-min=10.5
#OS_LIBS += -lpthread
OS_LIBS += -lthr
endif
+
+CFLAGS += -fno-omit-frame-pointer
ifdef LISP_FEATURE_LARGEFILE
CFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
endif
-CFLAGS += -m32
+CFLAGS += -m32 -fno-omit-frame-pointer
ifdef LISP_FEATURE_SB_THREAD
OS_LIBS += -lpthread
OS_SRC += undefineds.c
LINKFLAGS += -dynamic -export-dynamic
-CFLAGS = -g -Wall -O2
+CFLAGS = -g -Wall -O2 -fno-omit-frame-pointer
LINKFLAGS += -export-dynamic
LDFLAGS += -export-dynamic
-CFLAGS = -g -Wall -O2
+CFLAGS = -g -Wall -O2 -fno-omit-frame-pointer
+# -*- makefile -*- for the C-level run-time support for SBCL
+
+# This software is part of the SBCL system. See the README file for
+# more information.
+#
+# This software is derived from the CMU CL system, which was
+# written at Carnegie Mellon University and released into the
+# public domain. The software is in the public domain and is
+# provided with absolutely no warranty. See the COPYING and CREDITS
+# files for more information.
+
CC=gcc
-CFLAGS = -g -O2 -Wall -D__EXTENSIONS__ -D_POSIX_C_SOURCE=199506L -DSVR4 -D_REENTRANT
+CFLAGS = -g -O2 -Wall -D__EXTENSIONS__ -D_POSIX_C_SOURCE=199506L -DSVR4 -D_REENTRANT -fno-omit-frame-pointer
ASFLAGS = -Wall
LD = ld
NM = nm -xgp
+# -*- makefile -*- for the C-level run-time support for SBCL
+
# This software is part of the SBCL system. See the README file for
# more information.
#
GC_SRC = gencgc.c
-CFLAGS = -g -Wall -O3
+CFLAGS = -g -Wall -O3 -fno-omit-frame-pointer
ASFLAGS = $(CFLAGS)
CPP = cpp