On Mon, 2006-Jun-19 22:45:41 +0400, Yar Tikhiy wrote: >Peter, what gcc options did you build the kernel with? My question >is unrelated to the panic, I'd just like to make stack traces look >sane in common cases :-) In /etc/make.conf: CPUTYPE?=athlon-xp CFLAGS=-O -pipe COPTFLAGS=-O -pipe This gives a generic gcc line like: cc -c -O -pipe -march=athlon-xp -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/cam/cam_xpt.c Also, since some of the comments have mentioned timing windows, I should to mention that this is a UP system with PREEMPTION enabled. -- Peter Jeremy
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:57 UTC