[Mono-bugs] [Bug 348400] New: compile failure on Mac OS X 10.5

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Dec 13 09:16:54 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=348400


           Summary: compile failure on Mac OS X 10.5
           Product: Mono: Runtime
           Version: 1.2.6
          Platform: i386
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: GC
        AssignedTo: lupus at novell.com
        ReportedBy: ranger at befunk.com
         QAContact: mono-bugs at ximian.com
          Found By: ---


Created an attachment (id=187438)
 --> (https://bugzilla.novell.com/attachment.cgi?id=187438)
patch to include some gc 7.0 changes in mono's gc

The gc compile fails in darwin_stop_world.c:

 gcc -DPACKAGE_NAME=\"libgc-mono\" -DPACKAGE_TARNAME=\"libgc-mono\"
-DPACKAGE_VERSION=\"6.6\" "-DPACKAGE_STRING=\"libgc-mono 6.6\""
-DPACKAGE_BUGREPORT=\"Hans_Boehm at hp.com\" -DGC_DARWIN_THREADS=1
-DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1
-DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -D_IN_LIBGC=1
-I./.. -I./.. -I./include -I/sw/include -Os -c darwin_stop_world.c  -fno-common
-DPIC -o .libs/darwin_stop_world.o
darwin_stop_world.c: In function 'GC_push_all_stacks':
darwin_stop_world.c:110: error: 'x86_thread_state32_t' has no member named
'esp'
darwin_stop_world.c:111: error: 'x86_thread_state32_t' has no member named
'eax'
darwin_stop_world.c:112: error: 'x86_thread_state32_t' has no member named
'ebx'
darwin_stop_world.c:113: error: 'x86_thread_state32_t' has no member named
'ecx'
darwin_stop_world.c:114: error: 'x86_thread_state32_t' has no member named
'edx'
darwin_stop_world.c:115: error: 'x86_thread_state32_t' has no member named
'edi'
darwin_stop_world.c:116: error: 'x86_thread_state32_t' has no member named
'esi'
darwin_stop_world.c:117: error: 'x86_thread_state32_t' has no member named
'ebp'
make[1]: *** [darwin_stop_world.lo] Error 1
make: *** [all-recursive] Error 1
### execution of /var/tmp/tmp.1.wlyC1I failed, exit code 2

I was able to patch mono's gc to include the darwin_stop_world-related stuff
from gc 7.0, and everything is able to compile, but my patch is definitely a
hack, it would be better to update gc completely instead of my piecemeal
changes.


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


More information about the mono-bugs mailing list