Build Mono 1.9.1 on Cell processor (e.g a PS3)

View: New views
2 Messages — Rating Filter:   Alert me  

Build Mono 1.9.1 on Cell processor (e.g a PS3)

by Didro :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I've been trying to configure and make Mono 1.9.1 from source on PowerXCell 8i processor (such processors are deployed with PS3) with Fedora Core 7 OS.

I do ./configure --prefix=/home/user001/mono-1.9.1 --target=ppc-linux (I also try to configure and make without specifying the --target argument)

I have:

 mcs source:    $(top_srcdir)/mcs
        olive source:

        GC:          included
        TLS:         __thread
        SIGALTSTACK: yes
        Engine:      Building and using the JIT
        2.0 Beta:    yes
        2.1 Alpha:   yes
        JNI support: IKVM Native
        libgdiplus:  assumed to be installed
        zlib:
oprofile: no
When I do make, I have:

mcs /codepage:65001   -d:NET_1_1 -d:ONLY_1_1 -d:BOOTSTRAP_WITH_OLDLIB -debug -target:exe -out:mcs.exe cs-parser.cs  @mcs.exe.sources
** Message: Unknown errno: Unknown error 8192

Stacktrace:


Native stacktrace:

        /usr/bin/mono [0x10117428]
        /usr/bin/mono [0x100dcd5c]
        [0x100350]
        [0xf72981f8]
        [0xf729c258]
        [0xf7297d34]
        [0xf72978a4]
        [0xf7297580]
        [0xf729cb50]
        [0xf729ca60]
        [0xf729c8cc]
        [0xf72caf4c]
        [0xf72ce9a8]
        [0xf72ce5e4]
        [0xf72ca65c]
        [0xf72ca08c]
        [0xf72a72c8]
        [0xf72a0af4]
        [0xf729bc40]
        [0xf729b5f8]
        [0xf727352c]
        [0xf726fbbc]
        [0xf7263b58]
        /usr/bin/mono [0x101006c8]
        /usr/bin/mono(mono_runtime_invoke+0x1c) [0x1007894c]
        /usr/bin/mono(mono_runtime_exec_main+0xd4) [0x1007e774]
        /usr/bin/mono(mono_runtime_run_main+0x1d4) [0x1007ea54]
        /usr/bin/mono(mono_jit_exec+0xa0) [0x100104a0]
        /usr/bin/mono(mono_main+0xfd4) [0x100114b4]
        /usr/bin/mono [0x1000fe30]
        /lib/libc.so.6 [0xfcfde0c]
        /lib/libc.so.6 [0xfcfe060]

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================


** ERROR **: file mini-exceptions.c: line 1098 (mono_handle_native_sigsegv): assertion failed: (sigaction (SIGABRT, &sa, NULL) != -1)
aborting...
make[7]: *** [../class/lib/basic/mcs.exe] Aborted
make[7]: Leaving directory `/home/user001/mono-1.9.1/mcs/mcs'
make[6]: *** [do-all] Error 2
make[6]: Leaving directory `/home/user001/mono-1.9.1/mcs/mcs'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/user001/mono-1.9.1/mcs'
make[4]: *** [profile-do--basic--all] Error 2
make[4]: Leaving directory `/home/user001/mono-1.9.1/mcs'
make[3]: *** [profiles-do--all] Error 2
make[3]: Leaving directory `/home/user001/mono-1.9.1/mcs'
make[2]: *** [all-local] Error 2
make[2]: Leaving directory `/home/user001/mono-1.9.1/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user001/mono-1.9.1'
make: *** [all] Error 2
What should I do? Please help. Thank you in advance.

Re: Build Mono 1.9.1 on Cell processor (e.g a PS3)

by Didro :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

A friend of mine set up a hypothesis that interpretation of the problem is that it's the distribution's pre-installed mono c# compiler which crashes while compiling the new compiler.

Should I try to install earler version of mono ? Does smbd struggle with such problem ?
Thank you