[Mono-dev] Compiling mono on embedded platform fails (ppc32)

Paolo Molaro lupus at ximian.com
Mon Aug 20 05:21:13 EDT 2007


On 08/14/07 Johannes Paschold wrote:
> First one: Is exactly the same like this:
> 
> http://bugzilla.ximian.com/show_bug.cgi?id=58453
> 
> thats why i reopened this bug from state NEEDINFO.
> 
> To make things short: exceptions-ppc.c expects a specific ucontext
> struct layout which does not fit to mine. So this is probably a
> problem on older systems?
> Despite of that it should be possible to change the code to fit my
> ucontext.h if one knows WHAT to change and in which way.

See the comments in the bug report: basically we don't know if you have
a system that is broken only on the userspace side or also in the
kernel-use ABI. Moreover we don't have access to such broken systems for
testing, so you'll have to make the actual changes yourself, they are
mostly trivial as written in the bug.

> 2. monoburg crashes with Segmentation fault.
> 
> I compiled and installed pkgconfig, bison and glib 2.12 (all necessary
> dependencies for mono) and do a simple:
> ./configure (everything goes fine)
> make
> 
> make aborts when executing the built monoburg binary:
> ./monoburg ./sample.brg > sample.c
> 
> to solve this i just put in a sample.c from a different compilation
> (on ppc32 too) not knowing what side effects this could raise.
> Is crashing of monoburg a known problem somewhere?

No, it is a problem only on your system, so you likely have something
else broken apart from the signal ABI.

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better



More information about the Mono-devel-list mailing list