Kernel-compiling-problem (bootsec.s/asm)

Ralf Burger (ralf@Inside-Internet.de)
Sun, 2 Jan 2000 12:50:21 +0100 (MET)


hi,

(hoping to be on the right list....)
since 2 days I'm can't get 2.3.31/33/35 compiled. messages from
make zdisk are:

as -o bootsect.o bootsect.s
bootsect.s: Assembler messages:
bootsect.s:587: Error: base/index register must be 32 bit register
bootsect.s:595: Error: base/index register must be 32 bit register
bootsect.s:596: Error: base/index register must be 32 bit register
bootsect.s:597: Error: base/index register must be 32 bit register
bootsect.s:854: Error: base/index register must be 32 bit register

When I comment out the critical lines, the same erorr occurs in setup.s
With several changes and comments, I was able to compile it, but the kernel
would not boot (what is clear - I don't know enougth of the
gas(at&t)-syntax).

one of the critical lines is, for example:

ldsw %fs:(%bx), %si # ds:si is source

As I saw, the bootsec.s and setup.s are created from bootsec.S and setup.S.
Is it possible, that a source for a wrong processor-type is created?
(I have checked libs and compiler serveral times and they all seem to be
the correct verions)

regards

ralf

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