All of lore.kernel.org
 help / color / mirror / Atom feed
* crossbuild fails in modpost
@ 2008-05-15 13:44 Jiri Slaby
  2008-05-15 17:12 ` Jiri Slaby
  0 siblings, 1 reply; 12+ messages in thread
From: Jiri Slaby @ 2008-05-15 13:44 UTC (permalink / raw)
  To: Sam Ravnborg
  Cc: Linux kernel mailing list, Michael Buesch, Gordon Farquharson

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,$^)


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-05-24  4:46 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-15 13:44 crossbuild fails in modpost Jiri Slaby
2008-05-15 17:12 ` Jiri Slaby
2008-05-15 17:35   ` Sam Ravnborg
2008-05-15 17:40     ` Sam Ravnborg
2008-05-15 19:19       ` Jiri Slaby
2008-05-15 20:46         ` Adrian Bunk
2008-05-18 19:55           ` Jan Engelhardt
2008-05-18 20:42             ` Adrian Bunk
2008-05-18 21:15               ` Jan Engelhardt
2008-05-23 23:58                 ` David Woodhouse
2008-05-24  4:46                   ` Jan Engelhardt
2008-05-18 21:31         ` Sam Ravnborg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.