From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754062AbYEORMs (ORCPT ); Thu, 15 May 2008 13:12:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750959AbYEORMk (ORCPT ); Thu, 15 May 2008 13:12:40 -0400 Received: from ug-out-1314.google.com ([66.249.92.171]:47698 "EHLO ug-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750830AbYEORMj (ORCPT ); Thu, 15 May 2008 13:12:39 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=rSEUtN+y4MJ9Eob/CGBgRoUxFPvtbDCeaiq0KoKsPanElq0YiL6dprRVc4K5+JxMYDkqQaK71t4+O+zjeZHMlU1uh50UM4s70u75TbnYQKc43n6oS7udHqtrFWY5seKhFrHSlx1a9kbcrUjbAQi00G/u3HbCmAhhOh64xyfLQT0= Message-ID: <482C6F02.1000205@gmail.com> Date: Thu, 15 May 2008 19:12:34 +0200 From: Jiri Slaby User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Sam Ravnborg CC: Linux kernel mailing list , Michael Buesch , Gordon Farquharson Subject: Re: crossbuild fails in modpost References: <482C3E3E.9090204@gmail.com> In-Reply-To: <482C3E3E.9090204@gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Well, let's fix sam's email. Jiri Slaby napsal(a): > Hi, > > probably > 4ce6efed48d736e3384c39ff87bda723e1f8e041 > kbuild: soften modpost checks when doing cross builds > > causes build failures on x86_64 kernel build on 32 bit machine: > > make -f /local/xslaby/hid/scripts/Makefile.modpost > YYYYYYYYYYYYYY x86_64 x86_64 > scripts/mod/modpost -m -a -o /local/xslaby/buhid/Module.symvers -S > -K /local/xslaby/buhid/Module.markers -M > /local/xslaby/buhid/Module.markers -s > XXXXXXXXXXXXXXXXXX 20: 0 (2), 4 (4), 8 (4), 12 (8) > FATAL: drivers/hid/hid-apple: sizeof(struct hid_device_id)=20 is not a > modulo of the size of section __mod_hid_device_table=648. > Fix definition of struct hid_device_id in mod_devicetable.h > make[2]: *** [__modpost] Error 1 > make[1]: *** [modules] Error 2 > make: *** [sub-make] Error 2 > > after sticking echo into: > __modpost: $(modules:.ko=.o) FORCE > + @echo YYYYYYYYYYYYYY $(KBUILD_BUILDHOST) $(ARCH) > $(call cmd,modpost) $(wildcard vmlinux) $(filter-out FORCE,$^) >