Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jan 2005 17:08:59 +0100
From:      "Derkjan de Haan" <derkjan@haanjdj.demon.nl>
To:        <noackjr@alumni.rice.edu>, "Bartosz Fabianowski" <freebsd@chillt.de>
Cc:        obrien@freebsd.org
Subject:   Re: Instant reboots with CPUTYPE=pentium-m
Message-ID:  <009701c4f4d3$32d652c0$0102a8c0@bogomip>
References:  <41DC5554.1020702@chillt.de> <3aaaa3a050106080075c6d4a@mail.gmail.com>    <41DD70FF.2020705@chillt.de> <61576.69.53.57.66.1105036519.squirrel@69.53.57.66>

index | next in thread | previous in thread | raw e-mail


----- Original Message ----- 
From: "Jon Noack" <noackjr@alumni.rice.edu>
To: "Bartosz Fabianowski" <freebsd@chillt.de>
Cc: "Chris" <chrcoluk@gmail.com>; <stable@freebsd.org>; <obrien@freebsd.org>
Sent: Thursday, January 06, 2005 7:35 PM
Subject: Re: Instant reboots with CPUTYPE=pentium-m


> Bartosz Fabianowski wrote:
>>> I use the athlon-xp switch on 3 boxes with no problems all of them
>>> running 5.3
>>
>> What CFLAGS are you using? I have CFLAGS=-O -pipe in my make.conf. Maybe
>> you have optimization turned off and that's making a difference?
>
> I reported the problem with the athlon-xp.  My /etc/make.conf looks like
> the following (when I wish to kill the loader and experience instant
> reboots, that is ;-):
>
> CPUTYPE?= athlon-xp
> CFLAGS= -O -pipe
> COPTFLAGS= -O -pipe
>
> Note that I only see the problem when building the loader as part of a
> buildworld.  Compiling just the boot stuff in /usr/src/sys/boot/ (i.e.,
> without a bootstrapped gcc) results in a loader that works fine.  Thus, I
> think defining CPUTYPE results in a gcc that produces a bad loader.

Mentioning athlon-xp sparked my interest... One of my systems is unstable 
under load when compiled with CPUTYPE?= athlon-xp, but not with i686. This 
typically manifests itself as segmentation faults or ICE errors at random 
places during compile jobs. The bootloader seems always fine however.


regards,

Derkjan


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?009701c4f4d3$32d652c0$0102a8c0>