Re: Problems with Athlon CPU

From: Mike A. Harris (mharris@opensourceadvocate.org)
Date: Mon Dec 04 2000 - 23:19:28 EST


On Tue, 5 Dec 2000, Lukasz Trabinski wrote:

>Date: Tue, 5 Dec 2000 02:19:55 +0100 (CET)
>From: Lukasz Trabinski <lukasz@lt.wsisiz.edu.pl>
>To: linux-kernel@vger.kernel.org
>Cc: jakub@redhat.com
>Content-Type: TEXT/PLAIN; charset=ISO-8859-2
>Subject: Problems with Athlon CPU
>
>Hello
>
>There is probably not a kernel bug, but bug in gcc, but... :)

It is a kernel bug.

[SNIP]

>gcc version 2.96 20000731 (Red Hat Linux 7.0)
 ^^^^^^^^^^^^^^^^

You can't build a kernel with that compiler. You _must_ use gcc
2.91.66 or another compiler that can compile the kernel. Red Hat
ships gcc 2.91.66 packaged as "kgcc" for kernel builds as do
other major vendors.

You must edit the top level makefile appropriately first before
building.

>[lukasz@beer lukasz]$ rpm -q glibc
>glibc-2.2-5

The kernel doesn't use any libc so it doesn't matter.

>Any sugestions? On others machines with AMD-K6 or Petnium-III/II and
>with the same version of glibc and gcc that problems does not exists!

No, you must have a different gcc on the other machines. You
can't build a kernel with gcc 2.96 as the kernel is buggy.

----------------------------------------------------------------------
      Mike A. Harris - Linux advocate - Open source advocate
          This message is copyright 2000, all rights reserved.
  Views expressed are my own, not necessarily shared by my employer.
----------------------------------------------------------------------

If you think C++ is not overly complicated, just what is a protected
abstract virtual base pure virtual private destructor, and when
was the last time you needed one?
  -- Tom Cargill, C++ Journal, Fall 1990.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Dec 07 2000 - 21:00:12 EST