Finally: Mac Intel patches

Joel Reymont joelr1@REDACTED
Thu Aug 24 22:03:42 CEST 2006


On Aug 24, 2006, at 8:49 PM, Mikael Pettersson wrote:

> I've only seen the "bx is clobbered" error with gcc -fPIC before,
> so I assume Darwin does that by default?

I think HiPE is compiled with -mdynamic-no-pic on my machine. Also, I  
still get errors:

gcc -mdynamic-no-pic -g -O2 -I/Users/joelr/temp/otp-0804/erts/i386- 
apple-darwin8.7.1  -no-cpp-precomp   -DHYBRID -DHAVE_CONFIG_H -Wall - 
Wstrict-prototypes -Wmissing-prototypes -DUSE_THREADS  -D_THREAD_SAFE  
-D_REENTRANT  -Ibeam -Isys/unix -Isys/common -Ii386-apple-darwin8.7.1/ 
opt/hybrid -Ii386-apple-darwin8.7.1 -Izlib -Ihipe -I../include/ 
internal -I../include/internal/i386-apple-darwin8.7.1 -c sys/unix/ 
sys_float.c -o obj/i386-apple-darwin8.7.1/opt/hybrid/sys_float.o
sys/unix/sys_float.c: In function 'skip_sse2_insn':
sys/unix/sys_float.c:337: error: request for member 'ss' in something  
not a structure or union
sys/unix/sys_float.c:431: error: request for member 'ss' in something  
not a structure or union
sys/unix/sys_float.c: In function 'fpe_sig_action':
sys/unix/sys_float.c:490: warning: passing argument 1 of  
'skip_sse2_insn' from incompatible pointer type
make[3]: *** [obj/i386-apple-darwin8.7.1/opt/hybrid/sys_float.o] Error 1
make[2]: *** [opt] Error 2
make[1]: *** [hybrid] Error 2
make: *** [emulator] Error 2

--
http://wagerlabs.com/








More information about the erlang-questions mailing list