Re: Kernel built with new GCC panics immediately

From: Alexander Kabaev <ak03_at_gte.com>
Date: Fri, 11 Jul 2003 14:32:44 -0400
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
_at__at_ -54,6 +54,7 _at__at_
 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
_at__at_ -104,6 +104,8 _at__at_
 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
Received on Fri Jul 11 2003 - 09:32:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:14 UTC