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-ppc-devel

Re: [XenPPC] Missing function __xchg_called_with_bad_pointer .. what tod

To: jyoung5@xxxxxxxxxx
Subject: Re: [XenPPC] Missing function __xchg_called_with_bad_pointer .. what todo ?
From: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Date: Wed, 4 Apr 2007 08:38:14 -0400
Cc: xen-ppc-devel <xen-ppc-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 04 Apr 2007 05:36:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1175667728.23487.17.camel@laptop>
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1175667728.23487.17.camel@laptop>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx

On Apr 4, 2007, at 2:22 AM, Jerone Young wrote:

So now that __xchg has started to be used we have a problem building
xen-syms as the function __xchg_called_with_bad_pointer used in
"include/asm-powerpc/system.h" does not exist (see line 73).

I get a linker error but it's for an udefined reference:

/XEN/xen-unstable.hg/xen/common/built_in.o: In function `__xchg':
/XEN/xen-unstable.hg/xen/include/asm/system.h:84: undefined reference to
`__xchg_called_with_bad_pointer'
/XEN/xen-unstable.hg/xen/include/asm/system.h:84: undefined reference to
`__xchg_called_with_bad_pointer'
/XEN/xen-unstable.hg/xen/include/asm/system.h:84: undefined reference to
`__xchg_called_with_bad_pointer'
/XEN/xen-unstable.hg/xen/include/asm/system.h:84: undefined reference to
`__xchg_called_with_bad_pointer'



Is there a better way to do this check?

this means that you have built with -On (n > 0) and you have compiled code that called __xchg with a bad size.

probably has to do with the caller that caused you to change __xchg() in your previous patch.
I'll address the __xchg() issue in that email.
-JX


_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel

<Prev in Thread] Current Thread [Next in Thread>