Kernel built with new GCC panics immediately
Alexander Kabaev
ak03 at gte.com
Fri Jul 11 11:32:46 PDT 2003
May be I am paranoid, but could you people please make sure you have
removed /usr/src/sys/i386/compile/<YOUR_KERNCONF> before rebuilding a
new kernel with GCC 3.3?
Also, if simply removing stale file is not a culpit, I will appreciate
if you can test the patch below:
Index: kern.pre.mk
===================================================================
RCS file: /home/ncvs/src/sys/conf/kern.pre.mk,v
retrieving revision 1.27
diff -u -r1.27 kern.pre.mk
--- kern.pre.mk 11 Jul 2003 07:13:42 -0000 1.27
+++ kern.pre.mk 11 Jul 2003 17:48:34 -0000
@@ -54,6 +54,7 @@
DEFINED_PROF= ${PROF}
# WERROR?= -Werror
+CFLAGS+= --param max-inline-insns-single=2400
# Put configuration-specific C flags last (except for ${PROF}) so that
they # can override the others.
CFLAGS+= ${CONF_CFLAGS}
Index: kmod.mk
===================================================================
RCS file: /home/ncvs/src/sys/conf/kmod.mk,v
retrieving revision 1.137
diff -u -r1.137 kmod.mk
--- kmod.mk 3 Mar 2003 22:51:22 -0000 1.137
+++ kmod.mk 11 Jul 2003 17:48:45 -0000
@@ -104,6 +104,8 @@
CFLAGS+= -fno-common
LDFLAGS+= -d -warn-common
+CFLAGS+= --param max-inline-insns-single=2400
+
CFLAGS+= ${DEBUG_FLAGS}
OBJS+= ${SRCS:N*.h:R:S/$/.o/g}
--
Alexander Kabaev
More information about the freebsd-current
mailing list