Re: gcc-3.4.0 patches for 2.4.27?

From: Denis Vlasenko
Date: Sat May 01 2004 - 09:02:30 EST


On Wednesday 28 April 2004 16:36, Mikael Pettersson wrote:
> Marcelo,
>
> Will you accept patches allowing gcc-3.4.0 to compile
> 2.4.27 or not? I can understand if you want to be
> conservative and not change _anything_ if you don't have to.
>
> gcc-3.4.0 errors out in 2.4.27-pre1 due to (a) inconsistent
> FASTCALL declarations, (b) uninlinable inlines, and (c)
> -funit-at-a-time which seems to leave unresolved calls to
> strcpy() around [gcc optimises sprintf "%s" to strcpy()].

Instead of disabling -funit-at-a-time, maybe hunt down
and replace sprintf("%s")? Or provide non-inlined
instance of strcpy() to link against, that won't waste much space.
--
vda

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