Re: 2.6.23-rc8 build failure: __you_cannot_kmalloc_that_much indmi_id_init

From: Jean Delvare
Date: Mon Oct 01 2007 - 17:54:25 EST


On Mon, 1 Oct 2007 22:54:47 +0200, Jean Delvare wrote:
> 2.6.23-rc8 and 2.6.23-rc8-git4 fail to build on one of my test
> machines, with:
>
> drivers/built-in.o(.init.text+0x780e): In function `dmi_id_init':
> : undefined reference to `__you_cannot_kmalloc_that_much'
>
> The code is allocating sizeof(struct device) so it really shouldn't be
> a problem. I have no idea what's wrong. That's on i386, very old
> machine (Pentium 166MMX / Intel TX chipset), with gcc 3.2.3 and
> binutils 2.14.90.0.6. 2.6.22.9 compiles fine on the same system (but it
> doesn't include dmi-id so it's not very surprising).
>
> .config attached.

More information: building the same config on a much more recent system
works fine. This seems to point at a toolchain issue.

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