[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <482C3E3E.9090204@gmail.com>
Date: Thu, 15 May 2008 15:44:30 +0200
From: Jiri Slaby <jirislaby@...il.com>
To: Sam Ravnborg <sam@...nus.ravnborg.org>
CC: Linux kernel mailing list <linux-kernel@...r.kernel.org>,
Michael Buesch <mb@...sch.de>,
Gordon Farquharson <gordonfarquharson@...il.com>
Subject: crossbuild fails in modpost
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,$^)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists