Re: [PATCH 0/3] ftrace: handle kernel code remove

From: Ingo Molnar
Date: Fri Aug 15 2008 - 05:49:28 EST



* Ingo Molnar <mingo@xxxxxxx> wrote:

>
> * Ingo Molnar <mingo@xxxxxxx> wrote:
>
> > applied to tip/tracing/ftrace - thanks Steve! I merged it into
> > tip/master and started testing it.
>
> hm, massive build failures:
>
> ld: Relocatable linking with relocations from format elf32-i386 (init/.tmp_gl_calibrate.o) to format elf64-x86-64 (init/.tmp_mx_calibrate.o) i CC arch/x86/mm/extable.o
> objcopy: 'init/.tmp_mx_calibrate.o': No such file
> rm: cannot remove `init/.tmp_mx_calibrate.o': No such file or directory
> ld: Relocatable linking with relocations from format elf32-i386 (arch/x86/mm/extable.o) to format elf64-x86-64 (arch/x86/mm/.tmp_mx_extable.o) is not supported
> mv: cannot stat `arch/x86/mm/.tmp_mx_extable.o': No such file or directory
> ld: Relocatable linking with relocations from format elf32-i386 (arch/x86/mm/fault.o) to format elf64-x86-64 (arch/x86/mm/.tmp_mx_fault.o) is not supported
>
> with this config:
>
> http://redhat.com/~mingo/misc/config-Fri_Aug_15_11_34_53_CEST_2008.bad

the problem is that i'm building a 32-bit kernel on a 64-bit host, and
the scripts/recordmcount.pl script does not create the temporary object
files in the proper (32-bit) output ELF format.

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