Re: 2.6.9 won't compile

Adrian Bunk
2007-04-06T16:40:59Z

On Fri, Apr 06, 2007 at 12:37:03PM +0200, Pedro Mullor Jiménez wrote:
> Dear all,
>
> I downloaded version 2.6.9 of the kernel from kernel.org
> I went throught menuconfig, importing the configuration of my current
> 2.6.15-28-686.
>
> I then tried to compile it but the compilation exits with an error
> (below).
>
> I also tried to do make mrproper, got rid of the .config file, made
> menuconfig again without importing anything, and when compiling it
> failed again.
>
> The reason for me to use this kernel is because I have a VIA VT82C
> 693A/598/686 chipset and I suffer from perf problems (which google says
> only happen since 2.6.10).

Can you give a pointer or description of this problem?

The preferred solution for you would not be to run an ancient kernel
with tons of known security holes but to get this problem fixed.

> Might I request to be personally CC'ed in the answers/comments posted in
> response to this post ?
>
> Many thanks in advance for your comments and help!
>
> With kind regards,
> Pedro Mullor
>
>
> CHK include/linux/version.h
> make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
> CHK include/linux/compile.h
> CC arch/i386/kernel/process.o
> arch/i386/kernel/process.c: In function ‘show_regs’:
> arch/i386/kernel/process.c:252: warning: pointer targets in passing
> argument 2 of ‘show_trace’ differ in signedness
> {standard input}: Assembler messages:
> {standard input}:813: Error: suffix or operands invalid for `mov'
> {standard input}:814: Error: suffix or operands invalid for `mov'
> {standard input}:1040: Error: suffix or operands invalid for `mov'
> {standard input}:1041: Error: suffix or operands invalid for `mov'
> {standard input}:1121: Error: suffix or operands invalid for `mov'
> {standard input}:1122: Error: suffix or operands invalid for `mov'
> {standard input}:1226: Error: suffix or operands invalid for `mov'
> {standard input}:1227: Error: suffix or operands invalid for `mov'
> {standard input}:1290: Error: suffix or operands invalid for `mov'
> {standard input}:1302: Error: suffix or operands invalid for `mov'
> make[1]: *** [arch/i386/kernel/process.o] Error 1
> make: *** [arch/i386/kernel] Error 2

Older kernels use an assembler syntax no longer supported by recent
binutils.

A patch is at [1].

cu
Adrian

[1] http://www.kernel.org/pub/linux/devel/binutils/linux-2.6-seg-5.patch

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed