Re: [Bug 8501] udivdi3 absence with gcc-4.3.0 on kernels 2.6.20.11& 2.6.22.-rc1

From: Linus Torvalds
Date: Fri May 18 2007 - 19:19:01 EST




On Fri, 18 May 2007, Andrew Morton wrote:
>
> gcc-4.3 appears to have cunningly converted this:

Very cunning indeed.

Considerign that gcc converted straightforward and simple code to a total
disaster with a 64-bit divide, I'd call it a gcc bug.

> into a divide-by-1000000000 operation, so it emits a call to udivdi3 and we
> don't link.

I think the proper fix is to just tell people that version of gcc is
broken.

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