Hello,

I think it is a host detection problem; the compiler does not build for the
right architecture.

With Snow Leopard, there already were some issues with the host detection.
Snow Leopard reports itself as i386-apple-darwin10.0.0 but the compiler
builds for x86_64 by default.

You can try to pass "--host=i386-apple-darwin10" to the configure command.
This will activate the Snow Leopard specific flags and force the x86
architecture to be passed to the compiler.

Regards, Laurent Etiemble.

2011/6/25 Duane Wandless <du...@wandless.net>

> I receive this error with the latest for 2.10.2.  I have not yet researched
> this issue.  But if anyone knows off hand that would be greatly appreciated.
>
> Duane
>
> Making all in mini
> make  all-am
> ../../doltlibtool --quiet --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I../..   -no-cpp-precomp -D_THREAD_SAFE -DGC_MACOSX_THREADS
> -DPLATFORM_MACOSX -DUSE_MMAP -DUSE_MUNMAP
> -DGetCurrentProcess=MonoGetCurrentProcess
> -DGetCurrentThread=MonoGetCurrentThread -DCreateEvent=MonoCreateEvent
>  -D__default_codegen__ -I../.. -I../../eglib/src -I../../eglib/src
>  -DHAVE_BOEHM_GC -DHAVE_GC_H -DUSE_INCLUDED_LIBGC -DHAVE_GC_GCJ_MALLOC
> -DHAVE_GC_ENABLE -I../../libgc/include -g -O2 -fno-strict-aliasing -g -Wall
> -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
>  -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
> -Wwrite-strings -MT libmono_2_0_la-mini-x86.lo -MD -MP -MF
> .deps/libmono_2_0_la-mini-x86.Tpo -c -o libmono_2_0_la-mini-x86.lo `test -f
> 'mini-x86.c' || echo './'`mini-x86.c
> mini-x86.c: In function 'mono_arch_is_int_overflow':
> mini-x86.c:905: warning: cast to pointer from integer of different size
> mini-x86.c: In function 'mono_arch_instrument_prolog':
> mini-x86.c:1628: warning: cast from pointer to integer of different size
> mini-x86.c:1629: warning: cast from pointer to integer of different size
> mini-x86.c:1633: warning: cast from pointer to integer of different size
> mini-x86.c: In function 'mono_arch_instrument_epilog_full':
> mini-x86.c:1735: warning: cast from pointer to integer of different size
> mini-x86.c:1736: warning: cast from pointer to integer of different size
> mini-x86.c:1740: warning: cast from pointer to integer of different size
> mini-x86.c: In function 'mono_arch_output_basic_block':
> mini-x86.c:2394: warning: cast from pointer to integer of different size
> mini-x86.c:2454: warning: cast from pointer to integer of different size
> mini-x86.c:2454: warning: cast from pointer to integer of different size
> mini-x86.c:2454: warning: cast from pointer to integer of different size
> mini-x86.c:2616: warning: cast from pointer to integer of different size
> mini-x86.c:3387: warning: cast from pointer to integer of different size
> mini-x86.c:3408: warning: cast from pointer to integer of different size
> mini-x86.c:3519: warning: cast from pointer to integer of different size
> mini-x86.c:4148: warning: cast from pointer to integer of different size
> mini-x86.c:4148: warning: cast from pointer to integer of different size
> mini-x86.c:4148: warning: cast from pointer to integer of different size
> mini-x86.c:4148: warning: cast from pointer to integer of different size
> mini-x86.c:4148: warning: cast from pointer to integer of different size
> mini-x86.c:4613: warning: format '%d' expects type 'int', but argument 2
> has type 'mgreg_t'
> mini-x86.c:4613: warning: format '%d' expects type 'int', but argument 2
> has type 'mgreg_t'
> mini-x86.c: In function 'mono_arch_emit_prolog':
> mini-x86.c:4948: warning: cast from pointer to integer of different size
> mini-x86.c:4968: warning: cast from pointer to integer of different size
> mini-x86.c: In function 'mono_arch_emit_epilog':
> mini-x86.c:5226: warning: overflow in implicit constant conversion
> mini-x86.c: In function 'mono_arch_build_imt_thunk':
> mini-x86.c:5619: warning: cast from pointer to integer of different size
> mini-x86.c:5619: warning: cast from pointer to integer of different size
> mini-x86.c:5619: warning: cast from pointer to integer of different size
> mini-x86.c:5619: warning: cast from pointer to integer of different size
> mini-x86.c:5619: warning: cast from pointer to integer of different size
> mini-x86.c:5625: warning: cast from pointer to integer of different size
> mini-x86.c:5628: warning: cast from pointer to integer of different size
> mini-x86.c:5628: warning: cast from pointer to integer of different size
> mini-x86.c:5628: warning: cast from pointer to integer of different size
> mini-x86.c:5628: warning: cast from pointer to integer of different size
> mini-x86.c:5628: warning: cast from pointer to integer of different size
> mini-x86.c:5634: warning: cast from pointer to integer of different size
> mini-x86.c:5648: warning: cast from pointer to integer of different size
> mini-x86.c:5657: warning: cast from pointer to integer of different size
> mini-x86.c:5657: warning: cast from pointer to integer of different size
> mini-x86.c:5657: warning: cast from pointer to integer of different size
> mini-x86.c:5657: warning: cast from pointer to integer of different size
> mini-x86.c:5657: warning: cast from pointer to integer of different size
> mini-x86.c: In function 'mono_arch_get_this_arg_from_call':
> mini-x86.c:5916: warning: cast to pointer from integer of different size
> mini-x86.c: In function 'mono_arch_context_get_int_reg':
> mini-x86.c:6089: warning: cast to pointer from integer of different size
> mini-x86.c:6090: warning: cast to pointer from integer of different size
> mini-x86.c:6091: warning: cast to pointer from integer of different size
> mini-x86.c:6092: warning: cast to pointer from integer of different size
> mini-x86.c:6093: warning: cast to pointer from integer of different size
> mini-x86.c:6094: warning: cast to pointer from integer of different size
> mini-x86.c:6095: warning: cast to pointer from integer of different size
> mini-x86.c:6096: warning: cast to pointer from integer of different size
> mini-x86.c: In function 'mono_arch_install_handler_block_guard':
> mini-x86.c:6299: warning: cast to pointer from integer of different size
> mini-x86.c: In function 'mono_arch_set_breakpoint':
> mini-x86.c:6399: warning: cast from pointer to integer of different size
> mini-x86.c: In function 'mono_arch_get_ip_for_breakpoint':
> mini-x86.c:6492: warning: cast to pointer from integer of different size
> mini-x86.c: In function 'mono_arch_get_ip_for_single_step':
> mini-x86.c:6507: warning: cast to pointer from integer of different size
> mini-x86.c: In function 'mono_arch_skip_breakpoint':
> mini-x86.c:6523: warning: cast to pointer from integer of different size
> mini-x86.c: In function 'mono_arch_skip_single_step':
> mini-x86.c:6534: warning: cast to pointer from integer of different size
> /var/folders/6q/gvgh31n56p7bnnjxzb_gsz4r0000gn/T//ccrAPjHZ.s:3000:suffix or
> operands invalid for `pushf'
> /var/folders/6q/gvgh31n56p7bnnjxzb_gsz4r0000gn/T//ccrAPjHZ.s:3001:suffix or
> operands invalid for `pop'
> /var/folders/6q/gvgh31n56p7bnnjxzb_gsz4r0000gn/T//ccrAPjHZ.s:3004:suffix or
> operands invalid for `push'
> /var/folders/6q/gvgh31n56p7bnnjxzb_gsz4r0000gn/T//ccrAPjHZ.s:3005:suffix or
> operands invalid for `popf'
> /var/folders/6q/gvgh31n56p7bnnjxzb_gsz4r0000gn/T//ccrAPjHZ.s:3006:suffix or
> operands invalid for `pushf'
> /var/folders/6q/gvgh31n56p7bnnjxzb_gsz4r0000gn/T//ccrAPjHZ.s:3007:suffix or
> operands invalid for `pop'
> /var/folders/6q/gvgh31n56p7bnnjxzb_gsz4r0000gn/T//ccrAPjHZ.s:3096:suffix or
> operands invalid for `pushf'
> /var/folders/6q/gvgh31n56p7bnnjxzb_gsz4r0000gn/T//ccrAPjHZ.s:3097:suffix or
> operands invalid for `pop'
> /var/folders/6q/gvgh31n56p7bnnjxzb_gsz4r0000gn/T//ccrAPjHZ.s:3100:suffix or
> operands invalid for `push'
> /var/folders/6q/gvgh31n56p7bnnjxzb_gsz4r0000gn/T//ccrAPjHZ.s:3101:suffix or
> operands invalid for `popf'
> /var/folders/6q/gvgh31n56p7bnnjxzb_gsz4r0000gn/T//ccrAPjHZ.s:3102:suffix or
> operands invalid for `pushf'
> /var/folders/6q/gvgh31n56p7bnnjxzb_gsz4r0000gn/T//ccrAPjHZ.s:3103:suffix or
> operands invalid for `pop'
> /var/folders/6q/gvgh31n56p7bnnjxzb_gsz4r0000gn/T//ccrAPjHZ.s:3156:suffix or
> operands invalid for `pushf'
> /var/folders/6q/gvgh31n56p7bnnjxzb_gsz4r0000gn/T//ccrAPjHZ.s:3157:suffix or
> operands invalid for `pop'
> /var/folders/6q/gvgh31n56p7bnnjxzb_gsz4r0000gn/T//ccrAPjHZ.s:3160:suffix or
> operands invalid for `push'
> /var/folders/6q/gvgh31n56p7bnnjxzb_gsz4r0000gn/T//ccrAPjHZ.s:3161:suffix or
> operands invalid for `popf'
> /var/folders/6q/gvgh31n56p7bnnjxzb_gsz4r0000gn/T//ccrAPjHZ.s:3162:suffix or
> operands invalid for `pushf'
> /var/folders/6q/gvgh31n56p7bnnjxzb_gsz4r0000gn/T//ccrAPjHZ.s:3163:suffix or
> operands invalid for `pop'
> /var/folders/6q/gvgh31n56p7bnnjxzb_gsz4r0000gn/T//ccrAPjHZ.s:3252:suffix or
> operands invalid for `pushf'
> /var/folders/6q/gvgh31n56p7bnnjxzb_gsz4r0000gn/T//ccrAPjHZ.s:3253:suffix or
> operands invalid for `pop'
> /var/folders/6q/gvgh31n56p7bnnjxzb_gsz4r0000gn/T//ccrAPjHZ.s:3256:suffix or
> operands invalid for `push'
> /var/folders/6q/gvgh31n56p7bnnjxzb_gsz4r0000gn/T//ccrAPjHZ.s:3257:suffix or
> operands invalid for `popf'
> /var/folders/6q/gvgh31n56p7bnnjxzb_gsz4r0000gn/T//ccrAPjHZ.s:3258:suffix or
> operands invalid for `pushf'
> /var/folders/6q/gvgh31n56p7bnnjxzb_gsz4r0000gn/T//ccrAPjHZ.s:3259:suffix or
> operands invalid for `pop'
> make[4]: *** [libmono_2_0_la-mini-x86.lo] Error 1
>
>
> _______________________________________________
> Mono-osx mailing list
> mono-...@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
>
>

Reply via email to