Re: 2.6.26-rc1 on x86: ld: warning: dot moved backwards before `.text'

From: Rafael J. Wysocki
Date: Sat May 10 2008 - 16:24:19 EST


On Saturday, 10 of May 2008, Mikael Pettersson wrote:
> Building kernel 2.6.26-rc1 on FC6/i386 causes:
>
> ld -m elf_i386 -T arch/x86/kernel/acpi/realmode/wakeup.lds arch/x86/kernel/acpi/realmode/wakeup.o arch/x86/kernel/acpi/realmode/wakemain.o arch/x86/kernel/acpi/realmode/video-mode.o arch/x86/kernel/acpi/realmode/copy.o arch/x86/kernel/acpi/realmode/video-vga.o arch/x86/kernel/acpi/realmode/video-vesa.o arch/x86/kernel/acpi/realmode/video-bios.o -o arch/x86/kernel/acpi/realmode/wakeup.elf
> ld: warning: dot moved backwards before `.text'
> ld: warning: dot moved backwards before `.text'
> ld: warning: dot moved backwards before `.text'
>
> This is with gcc-4.2.3 and binutils-2.17.50.0.6-5.fc6 20061020.
>
> The resulting kernel hasn't broken on me yet, however.

It shouldn't. Have you tried to suspend to RAM?

> A search through the LKML archives showed that this was reported
> for 2.6.25-rc3-mm1, but I couldn't find any discussion about it
> after that:
>
> <http://marc.info/?l=linux-kernel&m=120470303728010&w=2>
>
> The .config causing this warning is available in
> <http://user.it.uu.se/~mikpe/linux/ale/config-2.6.26-rc1>

Well, we don't really know why this happens. It surely doesn't happen with
newer toolchains (as of OpenSUSE 10.3 for example).

Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/