Building 2.1.125...

Simon Karpen (slk@acm.rpi.edu)
Fri, 9 Oct 1998 15:32:03 -0400 (EDT)


I'm getting assembler errors trying to build 2.1.125. I've been
running non-development kernels for a good while because I really
need AFS, but now that I can run AFS client on another machine
I'd like to get back to testing, reporting bugs, etc.

Anyhow, I've got one warning and one error building 2.1.125 on the following:
S.u.S.E 5.3, gcc 2.7.2.1 (also happens with egcs 1.1b), and binutils 2.9.1.0.4.

This is a fairly boring non-smp kernel config (de4x5 ethernet, buslogic
scsi, uniprocessor, no modules).

the warning:
gcc -D__KERNEL__ -I/usr/src/linux21/linux/include -D__ASSEMBLY__ -traditional -c entry.S -o entry.o
/tmp/cca20773.s: Assembler messages:
/tmp/cca20773.s:230: Warning: warning: missing prefix `*' in absolute indirect address, maybe misassembled!
/tmp/cca20773.s:276: Warning: warning: missing prefix `*' in absolute indirect address, maybe misassembled!

the error:
gcc -D__KERNEL__ -I/usr/src/linux21/linux/include -D__ASSEMBLY__ -traditional -c locks.S -o locks.o
/tmp/cca20850.s: Assembler messages:
/tmp/cca20850.s:66: Error: operands given don't match any known 386 instruction
/tmp/cca20850.s:69: Error: operands given don't match any known 386 instruction
make[2]: *** [locks.o] Error 1
make[2]: Leaving directory `/usr/src/linux21/linux/arch/i386/lib'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux21/linux/arch/i386/lib'
make: *** [linuxsubdirs] Error 2

karpes:/usr/src/linux21/linux # gcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/2.7.2.1/specs
gcc version 2.7.2.1
karpes:/usr/src/linux21/linux # ld -v
GNU ld version 2.9.1 (with BFD 2.9.1.0.4)
karpes:/usr/src/linux21/linux # as -v
GNU assembler version 2.9.1 (i486-linux), using BFD version 2.9.1.0.4

Has anybody else seen this? Is there a fix, or is there some sort of
problem with my tool chain?

Sorry for creating traffic over this; I've looked through Documentation/
and www.linuxhq.com, and it appears that my libs and tool chain should
be fine for at least building it.

--Simon

Simon Karpen karpes@rpi.edu slk@acm.rpi.edu
#include <std_disclaimer.h> I don't speak for RPI in any way.
"Those that give up essential liberty to obtain a little temporary
safety, deserve neither liberty nor safety." --Ben Franklin

-
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/