2.6.31.2 broke UML 64-bit build (2.6.31 was fine)

From: Antoine Martin
Date: Mon Oct 12 2009 - 11:13:41 EST


tar -jxf linux-2.6.31.2.tar.bz2
cd linux-2.6.31.2
cp ../.config ./
make ARCH=um
[...]
MODPOST vmlinux.o
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:arch/um/kernel/vmlinux.lds:1:
ignoring invalid character `#' in expression
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:arch/um/kernel/vmlinux.lds:1:
syntax error
collect2: ld returned 1 exit status
KSYM .tmp_kallsyms1.S
nm: '.tmp_vmlinux1': No such file
No valid symbol.
make: *** [.tmp_kallsyms1.S] Error 1

Sorry, not had time to bisect it.
Tested with gcc 4.1.2 and gcc 4.3.2
Use this config if yours does not exhibit the problem:
http://uml.devloop.org.uk/kernels/kernel64-2.6.31.config

Cheers
Antoine
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/