<div>HiPE is not working under Leopard/ppc.</div><div><br class="webkit-block-placeholder"></div>I've patched erts/configure script to force HiPE under ppc Leopard. It didn't help. I've got following errors. Well, that are the same errors as in FPE test program. I can't fix it. Please, help.<div>
<br class="webkit-block-placeholder"></div><div><div>gcc -mdynamic-no-pic -g -O2 -I/Users/gaperton/otp_src_R12B-1/erts/powerpc-apple-darwin9.2.0  -no-cpp-precomp   -DERTS_SMP -DHAVE_CONFIG_H -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT  -Ibeam -Isys/unix -Isys/common -Ipowerpc-apple-darwin9.2.0/opt/smp -Ipowerpc-apple-darwin9.2.0 -Izlib -Ihipe -I../include/internal -I../include/internal/powerpc-apple-darwin9.2.0 -c sys/unix/sys_float.c -o obj/powerpc-apple-darwin9.2.0/opt/smp/sys_float.o</div>
<div>sys/unix/sys_float.c: In function 'fpu_fpe_enable':</div><div>sys/unix/sys_float.c:274: error: storage size of 'state' isn't known</div><div>sys/unix/sys_float.c:274: warning: unused variable 'state'</div><div>sys/unix/sys_float.c: In function 'fpe_sig_action':</div>
<div>sys/unix/sys_float.c:558: error: 'struct __darwin_mcontext' has no member named 'ss'</div><div>sys/unix/sys_float.c:559: error: 'struct __darwin_mcontext' has no member named 'fs'</div><div><br class="webkit-block-placeholder">
</div><br><div><span class="gmail_quote">2008/2/28, Mikael Pettersson <<a href="mailto:mikpe@it.uu.se">mikpe@it.uu.se</a>>:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
Vlad Balin writes:<br>  > Hello,<br>  > I've got a bit different problem with last OTP release on MacOS 10.5 Leopard<br>  > (iMac G5, ppc, 32-bit mode).<br>  ><br>  > I can't build HiPE for some reason. Configure script says that there<br>
  > floating point exceptions are unreliable and this is the reason to disable<br>  > HiPE on ppc. However, I've got no problems with HiPE on MacOS 10.4 on the<br>  > same machine. Is there any specific reasons that HiPE is disabled, or this<br>
  > is bug?<br> <br> <br>The configure script reporting unreliable floating-point exceptions<br> most probably means that the FPE test program couldn't be compiled<br> on OSX 10.5, which in turn is probably because Apple has seen fit to<br>
 make incompatible changes between 10.4 and 10.5.<br> <br> Someone with access to 10.5 will need to update the FPE test program<br> embedded in erts/configure.in to work also on 10.5.<br> </blockquote></div><br> </div>