> > Is it possible this is an AMD K6 issue? Or a motherboard issue?
> I am not knowledgable enough to answer hardware questions.
> (actually I know too little about anything to answer any questions :-)
OK - it seems it is in fact a hardware issue. After some judiciously placed
kprintf I've tracked the trouble down
to a short assembly function: Pentium_SetCounterMode. I'm currently looking at the AMD docs to see if I can figure out how to do the Right Thing[tm] on AMD. I presume I'll have to write AMD versions of all the functions in that particular source file. Does the K6 have the requisite counters?
> > the tests
> > won't build just using make,
> They do on my system:
As you suspected, Bengt, the trouble is I was using egcs, not gcc-2.7.2
> (as an aside:
> my normal computer is an OpenBSD one. It is very much more picky
> about things than the Linux system I created to host EROS. always
> reminds me about the 'quickly, but shoddy' statement somebody made
> about Linux coding :-)
This particular sloppiness is in gcc (and therefore I would have thought, also true of OpenBSD, which presumably uses gcc) and not in the Linux kernel.