lkml.org 
[lkml]   [1999]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: ICMP in 2.2.9 (was 3c575)
Date
Hello,
On Fri, 11 Jun 1999 15:42:42, Alan Cox wrote:
>> at egcs, I would say. Kernels up to 2.2.9 compiled with gcc 2.7.2.3 on
>> RH52 worked fine on the same system after its upgrading to RH60. My first
>> 2.2.9 kernel compiled on RH60 refused to load ide-cd module. The other day
>> egcs produced a working ide-cd.
>
>The only known egcs-1.1.2 kernel problems where sparc, and are fixed in the
>errata. Im not sure right now if the ping bug is egcs or ping relying on a
>gcc quirk

It is a bug in egcs-1.1.* on little endian targets, that miscompiles partial
assignments to variables (e.g "int var =0xff00; *((char*)&var) = 0xff;" gives
0xff not 0xffff). This bug is triggered very seldom in normal programs, the
only one I know of, beside ping, is dhcpcd which uses the same in_chcksum
function.

I have a patch for egcs-1.1.2, that works well for my x86 Target, but may not
work for other architectures. In the new egcs-2.95 this bug should be fixed.

[http://www.admin.de/~hel/egcs-1.1.2-function.c.patch]

Lars Heete

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

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.067 / U:0.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site