$ arm-linux-gcc -Wp,-MD,arch/arm/mm/.mmu.o.d -nostdinc -isystem /usr/local/DIR/gcc-arm-4.3-20080508/lib/gcc/arm-linux/4.3.1/include -D__KERNEL__ -Iinclude -Iinclude2 -I/home/bunk/linux/kernel-2.6/git/linux-2.6/include -include include/linux/autoconf.h -mlittle-endian -I/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/arm/mm -Iarch/arm/mm -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -fno-stack-protector -marm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mabi=aapcs-linux -mno-thumb-interwork -D__LINUX_ARM_ARCH__=5 -march=armv5te -mtune=xscale -Wa,-mcpu=xscale -msoft-float -Uarm -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(mmu)" -D"KBUILD_MODNAME=KBUILD_STR(mmu)" -c -o arch/arm/mm/mmu.o /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/arm/mm/mmu.c -save-temps mmu.s: Assembler messages: mmu.s:382: Error: can't resolve `_end' {*UND* section} - `_stext' {*UND* section} $
Working: - 4.3-20080501 Broken: - 4.3-20080508 Not tested: - 4.4 Preprocessed source is the same, diff of the assembler code: --- mmu.s-working 2008-05-11 16:03:42.000000000 +0300 +++ mmu.s-broken 2008-05-11 16:05:10.000000000 +0300 @@ -365,10 +365,9 @@ sub fp, ip, #4 sub sp, sp, #4 ldr r1, .L51 - ldr r2, .L51+4 mov r4, r0 + ldr r2, .L51+4 mov r3, #0 - rsb r2, r1, r2 bl reserve_bootmem_node mov r0, r4 ldr r1, .L51+8 @@ -380,7 +379,7 @@ .align 2 .L51: .word _stext-536870912 - .word _end-536870912 + .word _end-_stext .word swapper_pg_dir-536870912 .size reserve_node_zero, .-reserve_node_zero .section .rodata.str1.1 -- Summary: [4.3/4.4 Regression] as doesn't like the assembler code Product: gcc Version: 4.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bunk at stusta dot de GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: arm-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36210