diff options
| author | Tony Lindgren <tony@atomide.com> | 2005-01-31 22:37:03 +0100 |
|---|---|---|
| committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2005-01-31 22:37:03 +0100 |
| commit | f9caf7466d6be1317b3285872ca93de64fce4fab (patch) | |
| tree | 09f9499d9d08ea0439dbdab3532f60296d91ce38 /include/linux/mbcache.h | |
| parent | c75f4aa4b180e1368c24087d4c36cd61de0d0188 (diff) | |
[PATCH] kbuild: fix for i386 cross compile
I used to be be able to cross compile for i386 on my x86_64 machine,
but recently something (gcc/binutils?) changed, and it stopped working.
Following patch makes cross compile work with:
make ARCH=i386 CFLAGS_KERNEL="-m32" AFLAGS_KERNEL="-m32" bzImage
Without the patch I'm getting the following error:
SYSCALL arch/i386/kernel/vsyscall-syms.o
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
Relocatable linking with relocations from format elf32-i386
(arch/i386/kernel/vsyscall-sysenter.o) to format elf64-x86-64
(arch/i386/kernel/vsyscall-syms.o) is not supported
collect2: ld returned 1 exit status
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'include/linux/mbcache.h')
0 files changed, 0 insertions, 0 deletions
