Subject: NetBSD config arch and gcc -march
To: None <tech-toolchain@NetBSD.org>
From: None <tlaronde@polynum.com>
List: tech-toolchain
Date: 04/12/2007 19:13:31
Hello,

I have updated an old machine to NetBSD 3.1. The machine is:


cpu0 at mainbus0: (uniprocessor)
cpu0: Cyrix 6x86 (586-class), id 0x520
cpu0: features 105<FPU,DE,CX8>
cpu0: features2 64616574<DS-CPL,VMX,TM2,CID,xTPR>

If I keep the config from the 2.0 release that is with:

options I586_CPU

I get panics.

I have "downgraded" to I486_CPU with no problem.

This, for me, is not critical---this is a simple gateway---but I'd like to
understand the source of the problem.

Is this source a conflict between NetBSD and new version of gcc(1),
the latter understanding `i586' not as a `pentium' but as an `AMD K5'?

This is not what is said in gcc(1) info pages, but this is given (the
correspondence between i586 and AMD K5) in the following paper:

http://www.linuxjournal.com/article/7269

or is the reason elsewhere (some problems where related to time
handling, with the RTC becoming crazy)?

Thanks for any hint,
-- 
Thierry Laronde (Alceste) <tlaronde +AT+ polynum +dot+ com>
                 http://www.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C