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@lists.xensource.com
http://lists.xensource.com/xen-ppc-devel

Reply via email to