From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757718AbXJAVyW (ORCPT ); Mon, 1 Oct 2007 17:54:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756634AbXJAVyP (ORCPT ); Mon, 1 Oct 2007 17:54:15 -0400 Received: from smtp-101-monday.noc.nerim.net ([62.4.17.101]:3982 "EHLO mallaury.nerim.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755027AbXJAVyO (ORCPT ); Mon, 1 Oct 2007 17:54:14 -0400 Date: Mon, 1 Oct 2007 23:54:12 +0200 From: Jean Delvare To: LKML Subject: Re: 2.6.23-rc8 build failure: __you_cannot_kmalloc_that_much in dmi_id_init Message-ID: <20071001235412.0737de78@hyperion.delvare> In-Reply-To: <20071001225447.20f989aa@hyperion.delvare> References: <20071001225447.20f989aa@hyperion.delvare> X-Mailer: Sylpheed-Claws 2.5.5 (GTK+ 2.10.6; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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