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

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



Hi!

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 
`machine_crash_save_cpu':
/usr/src/xen-ddb-unstable.hg/xen/common/kexec.c:78: undefined reference to 
`elf_core_save_regs'
/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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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