Date: Tue, 20 Jun 2006 05:08:22 +1000 From: Peter Jeremy <peterjeremy@optushome.com.au> To: Yar Tikhiy <yar@comp.chem.msu.su> Cc: current@freebsd.org Subject: Re: NULL pointer dereference panic Message-ID: <20060619190822.GE966@turion.vk2pj.dyndns.org> In-Reply-To: <20060619184540.GJ23729@comp.chem.msu.su> References: <20060618192011.GF715@turion.vk2pj.dyndns.org> <20060618152428.A36995@fledge.watson.org> <20060619184540.GJ23729@comp.chem.msu.su>
next in thread | previous in thread | raw e-mail | index | archive | help
--27ZtN5FSuKKSZcBU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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?=3Dathlon-xp CFLAGS=3D-O -pipe COPTFLAGS=3D-O -pipe This gives a generic gcc line like: cc -c -O -pipe -march=3Dathlon-xp -Wall -Wredundant-decls -Wnested-externs = -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-q= ual -Wundef -fformat-extensions -std=3Dc99 -g -nostdinc -I- -I. -I/usr/sr= c/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -i= nclude opt_global.h -fno-common -finline-limit=3D8000 --param inline-unit-g= rowth=3D100 --param large-function-growth=3D1000 -mno-align-long-strings -= mpreferred-stack-boundary=3D2 -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. --=20 Peter Jeremy --27ZtN5FSuKKSZcBU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFElvYl/opHv/APuIcRAhLZAJ9+T3u1teo/PEPSdpGYahsHpCrhpACeKYaz 65R5D01DjEGZofedNplYdM4= =iXzo -----END PGP SIGNATURE----- --27ZtN5FSuKKSZcBU--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060619190822.GE966>