Re: 2.2.0-pre2: include/asm-i386/string.h strstr breaks egcs-1.1.1

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 1 Jan 1999 04:47:49 +0000 (GMT)


> The new definition of strstr() in include/asm-i386/string.h
> in linux-2.2.0-pre2 breaks egcs-1.1.1 and egcs-1.1b when drivers/net/depca.c

Use an older or newer gcc. gcc 2.7.x gets it right, CVS tree egcs seems to
as well

> is compiled as a module with "-O2" ("-O1" does not trigger this problem).
> I don't know if this is the kernel's fault or egcs's fault, but I do know
> that the problem disappears if I drop the 2.2.0-pre1 version of strstr
> into include/asm-i386/string.h.

Yep. That one has come and gone with various other touches to the depca.c
driver - its tripping some gcc/egcs problems it seems. Last time another
unrelated (apparently) small depca change made it go away again.

Alan

-
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/