On Wed, 1 Dec 2010 21:59:50 -0500, Andrew Wentzell  wrote:
On Wed, Dec 1, 2010 at 9:51 PM, Alexander Hansen
  > <alexanderk.han...@gmail.com> wrote:
  > > 32-bit or 64-bit Fink?
  >
  > Sorry, 32-bit. 
 
Reproduced the error on my 10.6/i386. Here's the compiler command that 
leads to it:
 
/sw/bin/gcc-4 -g -Wall -O3 -fomit-frame-pointer -DJIT_ARCH=\"x86\" 
-DJIT_CPU=CPU_x86 -DMIPS64_ARCH_INC_FILE=\"mips64_x86_trans.h\" 
-DPPC32_ARCH_INC_FILE=\"ppc32_x86_trans.h\" 
-DDYNAMIPS_VERSION=\"0.2.7\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE 
-DHAS_RFC2553=1 -I/sw/include  -D_FILE_OFFSET_BITS=64 -DGEN_ETH  -c 
-o mips64_jit.o mips64_jit.c
mips64_jit.c:257: warning: 'insn_jump_find' defined but not used
In file included from mips64_jit.c:30:
mips64_x86_trans.h: In function 'mips64_jit_run_cpu':
mips64_x86_trans.h:56: error: PIC register 'ebx' clobbered in 'asm'
make: *** [mips64_jit.o] Error 1

 
As usual (for fink experience anyway) porting things that do asm have 
incompatibilities with darwin. It must be detecting the cpu not the 
whole arch detail? There's probably a way to override the "let's use 
asm" detection to make it correct for darwin or to disable it. 
 
dan

  --
Daniel Macks
  dma...@netspace.org

 


------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to