[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Build fix for -O0


Across different gcc versions with -O0 I get this linking error
on x86_32 and x86_64:

/usr/src/xen-ddb-unstable.hg/xen/common/built_in.o: In function 
/usr/src/xen-ddb-unstable.hg/xen/common/kexec.c:78: undefined reference to 
/usr/src/xen-ddb-unstable.hg/xen/common/kexec.c:78: relocation truncated to 
fit: R_X86_64_PC32 against undefined symbol `elf_core_save_regs'

The attached patch fixes this for x86_32 and x86_64.
ppc and ia64 may need this fix, too.

Attachment: xm_inline.diff
Description: Text Data

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.