Skip to contentSkip to conversation

confirmed: kernel build for 2.6.8-rc3 is broken for at least i386

DISCUSSION Alexander Stohr 2 participants 2 messages Aug 4, 2004

lore
Share & tools
lore
#0 lore raw

a "make bzImage" produces this command:

cmd_arch/i386/kernel/vmlinux.lds.s :=

gcc -E -Wp,-MD,arch/i386/kernel/.vmlinux.lds.s.d

-nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -D__ASSEMBLY__

-Iinclude/asm-i386/mach-default -traditional

    -o arch/i386/kernel/vmlinux.lds.s arch/i386/kernel/vmlinux.lds.S        

it should produce something like this:

cmd_arch/i386/kernel/vmlinux.lds.s :=

gcc -E -Wp,-MD,arch/i386/kernel/.vmlinux.lds.s.d

-nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -D__ASSEMBLY__

-Iinclude/asm-i386/mach-default -traditional

-P -C -Ui386

    -o arch/i386/kernel/vmlinux.lds.s arch/i386/kernel/vmlinux.lds.S

see the last but one line for the difference.

-Alex. (i am not subscribed to this list)

Signature · 2 lines
NEU: WLAN-Router für 0,- EUR* - auch für DSL-Wechsler!
GMX DSL = supergünstig & kabellos http://www.gmx.net/de/go/dsl
#1 lore raw
Quoted 24 lines · Alexander Stohr

a "make bzImage" produces this command:

cmd_arch/i386/kernel/vmlinux.lds.s :=

gcc -E -Wp,-MD,arch/i386/kernel/.vmlinux.lds.s.d

-nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -D__ASSEMBLY__

-Iinclude/asm-i386/mach-default -traditional

    -o arch/i386/kernel/vmlinux.lds.s arch/i386/kernel/vmlinux.lds.S        

it should produce something like this:

cmd_arch/i386/kernel/vmlinux.lds.s :=

gcc -E -Wp,-MD,arch/i386/kernel/.vmlinux.lds.s.d

-nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -D__ASSEMBLY__

Quoted 7 lines

-Iinclude/asm-i386/mach-default -traditional

-P -C -Ui386

    -o arch/i386/kernel/vmlinux.lds.s arch/i386/kernel/vmlinux.lds.S

see the last but one line for the difference.

Could you please try to do the following:
1) Add the following lines to bottom of arch/i386/kernel/Makefile $(warning AFLAGS-lds=$(AFLAGS_vmlinux.lds.o))
$(warning aflags=$(aflags))

2) Delete arch/i386/kernel/vmlinux.lds.s
3) make V=1 arch/i386/kernel/ > mail_to_sam 2>&1

And reply to this mail with output generated.

[Downloading atm. but see no changes that should impose this error].

Also - what shell / system are you using?

Sam