Date: Thu, 16 Nov 2006 16:01:51 -0500 From: Kris Kennaway <kris@obsecurity.org> To: Vincent Blondel <vincent@xtra-net.org> Cc: freebsd-stable@freebsd.org, Kris Kennaway <kris@obsecurity.org> Subject: Re: kernel crash ... Message-ID: <20061116210151.GA68673@xor.obsecurity.org> In-Reply-To: <1163695124.2792.16.camel@wbemfkaa.net.xtra-net.be> References: <1163621364.85632.12.camel@wbemfkaa.net.xtra-net.be> <1163692748.2792.10.camel@wbemfkaa.net.xtra-net.be> <20061116161706.GB65054@xor.obsecurity.org> <1163695124.2792.16.camel@wbemfkaa.net.xtra-net.be>
next in thread | previous in thread | raw e-mail | index | archive | help
--pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 16, 2006 at 05:38:44PM +0100, Vincent Blondel wrote: >=20 > Hello Kris, >=20 > You can find below a generic make.conf I use to compile src/ports on my > all machines ( only AMD Athlon XP/MP ). >=20 > .CPUTYPE !=3D sysctl hw.model |sed 's/ //g' > .if ${.CPUTYPE:M*AMDAthlon(tm)XP*} > CFLAGS=3D -march=3Dathlon-xp > .endif > .if ${.CPUTYPE:M*AMDAthlon(tm)MP*} > CFLAGS=3D -march=3Dathlon-mp > .endif > CFLAGS+=3D -O -pipe > CFLAGS+=3D -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 > .if ${.CURDIR:M/usr/src/*} > CFLAGS+=3D -fno-strict-aliasing > .endif > .if ${.CURDIR:M/usr/ports/*} > CFLAGS+=3D -Os -fomit-frame-pointer > .endif > COPTFLAGS=3D -O -pipe I think you have the -fno-strict-aliasing backwards, BTW: /usr/src should be safe to compile with -fstrict-aliasing (but it's only enabled by default at -O2, so that's a NOP for you anyway), but ports definitely are not in general. Also you might as well use CPUTYPE instead of manually setting CFLAGS to do the same thing. Anyway, this doesn't seem to be the cause of your problems so I don't know why your backtraces are garbage. Maybe you can try backtracing in DDB when you get a panic and see what that says instead. Kris --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFXNG/Wry0BWjoQKURAnaOAKD9O2YfNFylVu+YUmk9MaVIrM+rSwCfQ04t N2GmBrSnlD3kz/vKaAPZmR4= =l14y -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061116210151.GA68673>