WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Build fix for -O0
From: "Christoph Egger" <Christoph.Egger@xxxxxxx>
Date: Fri, 1 Dec 2006 15:20:51 +0100
Delivery-date: Fri, 01 Dec 2006 06:21:12 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: AMD / OSRC
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.4
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Build fix for -O0, Christoph Egger <=