<div class="gmail_quote">On Fri, Aug 12, 2011 at 19:19, Matthew Flatt <span dir="ltr"><<a href="mailto:mflatt@cs.utah.edu" target="_blank">mflatt@cs.utah.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The problem seems to be that __sync_bool_compare_and_swap() is<br>
available only when the compiler knows that its generating code for<br>
i486 or up, and it's not available when compiling for i386.<br>
<br>
The Racket headers files try to use C pre-processor tests to decide<br>
whether to use __sync_bool_compare_and_swap(), but a `configure' test<br>
will be more reliable. I'll push that change.<br>
<br>
Meanwhile, the workarounds are either to add something like<br>
"-march=i486" to CFLAGS or change "mzrt.h" at line 89 to `#if 1'.</blockquote><div><br></div><div><br></div><div>I confirm that both workarounds work. I compiled and installed in-place twice, once with each workaround, just to check.</div>
<div><br></div><div>Thanks a lot! Now I have racket running at Webfaction :D</div><div><br></div><div>[]'s</div><div><br></div><div>Rodolfo Carvalho</div></div>