Re: 2.6.23-rc3-mm1

From: Andrew Morton
Date: Wed Aug 22 2007 - 14:32:54 EST


On Wed, 22 Aug 2007 11:03:48 -0700
Randy Dunlap <randy.dunlap@xxxxxxxxxx> wrote:

> On Wed, 22 Aug 2007 02:06:48 -0700 Andrew Morton wrote:
>
> >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc3/2.6.23-rc3-mm1/
>
> allyesconfig on x86_64 says:
>
> kernel/unwind.c:1016:31: error: undefined identifier '__builtin_labs'
> kernel/unwind.c:1232:25: error: undefined identifier '__builtin_labs'
>

One wonders why x86_64-mm-unwinder.patch has an open-coded call to
__builtin_labs(), when include/linux/kernel.h:abs() should do a fine job.

And what's this stuff, anyway?

+typedef unsigned long uleb128_t;
+typedef signed long sleb128_t;
+#define sleb128abs __builtin_labs

unsigned and signed little-endian 128-bit types? Nope, they're 32-bit or
64-bit. All very mysterious.
-
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/