Date: Fri, 11 Jul 2003 14:32:44 -0400 From: Alexander Kabaev <ak03@gte.com> To: Shizuka Kudo <shizukakudo_99@yahoo.com> Cc: Lukas Ertl <l.ertl@univie.ac.at> Subject: Re: Kernel built with new GCC panics immediately Message-ID: <20030711143244.2427e51c.ak03@gte.com> In-Reply-To: <20030711181348.3345.qmail@web11403.mail.yahoo.com> References: <20030711133532.Y592@korben.in.tern> <20030711181348.3345.qmail@web11403.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030711143244.2427e51c.ak03>
