[Mono-devel-list] Patch for monodis AIX symbol clash
Paolo Molaro
lupus at ximian.com
Thu May 6 10:43:25 EDT 2004
On 05/05/04 Bernie Solomon wrote:
> I have vaguely tried to build on AIX using IBM's compiler - nothing running
> but found some symbol clashes. This renames map_t in monodis since there is
> one in a system header at least when using _ALL_SOURCE. Just renames map_t
> to dis_map_t which is straightforward but just wanted to check if there were
> any problems with my choice of name.
Looks fine to me.
As for AIX: the calling convention is similar (or the same) as on
MacOSX, so you may want to grep for __APPLE__ in the ppc sources and
check for AIX, too, except in the ucontext code which I assume is
different (or, better, in mini-ppc.h, add a call conv specific define
for Darwin and AIX and change the call conv specific places to use
that instead of __APPLE__).
The other issue you may run into with the port is related to function
descriptors: there may be a few places where we return a pointer to the
code instead of a pointer to a function descriptor for the function
pointer.
lupus
--
-----------------------------------------------------------------
lupus at debian.org debian/rules
lupus at ximian.com Monkeys do it better
More information about the Mono-devel-list
mailing list