[Mono-bugs] [Bug 587491] New: Mono 2.6.1 crash on 10.5/ppc during compile

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Mar 11 09:10:48 EST 2010



           Summary: Mono 2.6.1 crash on 10.5/ppc during compile
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.6.x
          Platform: PowerPC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: ranger at befunk.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; en-us)
AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10

I'm trying to build mono 2.6.1 on Mac OS X 10.5.  When it tries to build mcs,
it crashes in mini-ppc and mini-darwin:

        chmod +x _tmpinst/bin/ilasm
echo '#! /bin/sh' > _tmpinst/bin/gmcs ; \
        r=`pwd`; m=`cd ../mcs && pwd`; \
        echo 'exec "'"$r/_tmpinst/bin/mono"'"
"'"$m/class/lib/net_2_0/gmcs.exe"'" "$@"' >> _tmpinst/bin/gmcs ; \
        chmod +x _tmpinst/bin/gmcs
echo '#! /bin/sh' > _tmpinst/bin/al2 ; \
        r=`pwd`; m=`cd ../mcs && pwd`; \
        echo 'exec "'"$r/_tmpinst/bin/mono"'" "'"$m/class/lib/net_2_0/al.exe"'"
"$@"' >> _tmpinst/bin/al2 ; \
        chmod +x _tmpinst/bin/al2
if test -w ../mcs; then :; else chmod -R +w ../mcs; fi
cd ../mcs && make NO_DIR_CHECK=1 PROFILES='net_1_1 net_2_0 net_3_5  net_2_1_raw
' CC='gcc' all-profiles
make profile-do--net_1_1--all profile-do--net_2_0--all profile-do--net_3_5--all
make PROFILE=basic all
make[6]: *** [build/deps/basic-profile-check.exe] Error 1
*** The compiler 'mcs' doesn't appear to be usable.
*** Trying the 'monolite' directory.
ERROR:mini-ppc.c:2903:ppc_patch_full: code should not be reached

  at Mono.CSharp.Location..ctor (int) <0xffffffff>
  at Mono.CSharp.Location..ctor (int) <0x00030>
  at Mono.CSharp.Location..cctor () <0x0002c>
  at (wrapper runtime-invoke) object.runtime_invoke_void
(object,intptr,intptr,intptr) <0xffffffff>
  at Mono.CSharp.Driver.Main (string[]) <0xffffffff>
  at Mono.CSharp.Driver.Main (string[]) <0x00058>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        0   mono                                0x0007bfe0
mono_handle_native_sigsegv + 288
        1   libSystem.B.dylib                   0x953d59fc _sigtramp + 68
ERROR:mini-darwin.c:245:mono_runtime_syscall_fork: code should not be reached
make[8]: *** [build/deps/basic-profile-check.exe] Abort trap
*** The contents of your 'monolite' directory may be out-of-date
*** You may want to try 'make get-monolite-latest'
make[8]: *** [do-profile-check-monolite] Error 1

I can reproduce this only on 10.5/ppc.  10.4/ppc builds fine with the same
environment and configure flags.

Reproducible: Always

Steps to Reproduce:
1. install dependencies through Fink
2. ./configure --prefix=/sw --with-ikvm-native=yes --with-glib=system
--with-preview=yes --with-x --with-moonlight --disable-dtrace CFLAGS="-Os -g"
3. make
Actual Results:  
above crash running mcs

Expected Results:  
continued compilation

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list