kexec-tools compile problem
Eric W. Biederman
ebiederm at xmission.com
Mon Apr 23 02:05:31 EDT 2007
Aaron Catella <aaroncatella at hotmail.com> writes:
> Mr. Biederman,
>
> When I attempt to compile the latest kexec-tools on my x86_64, I get the
> following compile-time error:
>
> mkdir -p /home/rientjes/kexec-tools-testing-20061214/objdir/purgatory/arch/
> x86_64
> gcc -Wall -Os -I/usr/lib/gcc/i486-linux-gnu/4.0.3/include -Ipurgatory/include
> -Ipurgatory/arch/x86_64/include -I./include -I./util_lib/include -DVERSION=
> '"20061214"' -DRELEASE_DATE='"14th December 2006"' -DPACKAGE=
> '"kexec-tools-testing"' -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
> -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ZLIB_H=1 -Wall -g
> -fno-strict-aliasing -ffreestanding -fno-zero-initialized-in-bss -o /home
> /rientjes/kexec-tools-testing-20061214/objdir/purgatory/arch/x86_64/
> entry64-32.o -c purgatory/arch/x86_64/entry64-32.S
> purgatory/arch/x86_64/entry64-32.S: Assembler messages:
> purgatory/arch/x86_64/entry64-32.S:82: Error: cannot represent relocation type
> BFD_RELOC_64
> make: *** [/home/rientjes/kexec-tools-testing-20061214/objdir/purgatory/arch/
> x86_64/entry64-32.o] Error 1
>
> The only other thing that is irregular is the following message at the end of .
> /configure:
>
> config.status: WARNING: Makefile.conf.in seems to ignore the --datarootdir
> setting
>
> I am using an x86_64 kernel with a mixed 32/64-bit Ubuntu. I realize it's
> probably a gcc/cross-compiler issue but I'm not proficient enough to diagnose
> it on my own.
>
> Anything you can suggest would be sincerely appreciated.
Off the top of my head I'm drawing a blank. Let me bounce this to the list
and see someone else can think of something.
Eric
More information about the kexec
mailing list