Skip to contentSkip to conversation

New: Compile the kernel

Bug 747 Martin J. Bligh 2 participants 2 messages May 27, 2003

lore
Share & tools
lore
#0 lore raw

Summary: Compile the kernel
Kernel Version: 2.5.70
Status: NEW
Severity: normal
Owner: [email protected]
Submitter: [email protected]

Distribution: RedHat 7.0
Hardware Environment: Pentium-MMX 200MHz Software Environment: gcc-2.95.3
Problem Description:

1)
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/asm-i386/asm_offsets.h
Starting the build. KBUILD_BUILTIN=1 KBUILD_MODULES=
CHK include/linux/compile.h
AS arch/i386/kernel/vsyscall.o
/tmp/ccBLzWOG.s: Assembler messages:
/tmp/ccBLzWOG.s:982: Error: Unknown pseudo-op: .incbin' /tmp/ccBLzWOG.s:987: Error: Unknown pseudo-op: .incbin' make[1]: *** [arch/i386/kernel/vsyscall.o] Error 1
make: *** [arch/i386/kernel] Error 2

i may compile next files if i delete this lines from 'arch/i386/kernel/vsyscall.S'

2)
CC kernel/softirq.o
{standard input}: Assembler messages:
{standard input}:631: Error: no such instruction: `mfence' make[1]: *** [kernel/softirq.o] Error 1
make: *** [kernel] Error 2

if i choose in config
CONFIG_M586 or CONFIG_M586TSC or CONFIG_M586MMX

Steps to reproduce:
Compile the kernel.

#1 lore raw
Quoted 13 lines · Martin J. Bligh

Summary: Compile the kernel
Kernel Version: 2.5.70
Status: NEW
Severity: normal
Owner: [email protected]
Submitter: [email protected]

Distribution: RedHat 7.0
Hardware Environment: Pentium-MMX 200MHz
Software Environment: gcc-2.95.3
Problem Description:

Quoted 11 lines

1)
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/asm-i386/asm_offsets.h
Starting the build. KBUILD_BUILTIN=1 KBUILD_MODULES=
CHK include/linux/compile.h
AS arch/i386/kernel/vsyscall.o
/tmp/ccBLzWOG.s: Assembler messages:
/tmp/ccBLzWOG.s:982: Error: Unknown pseudo-op: .incbin' /tmp/ccBLzWOG.s:987: Error: Unknown pseudo-op: .incbin' make[1]: *** [arch/i386/kernel/vsyscall.o] Error 1
make: *** [arch/i386/kernel] Error 2

NOTABUG. You need newer binutils. Read Documentation/Changes.