Hello,<br><br>Just as a follow-up, I'm trying to install Racket on a lab's computer running "Red Hat Enterprise Linux 5.7", gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-51).<br><br>Racket 5.1.3 unix source still shouts the same error message when trying to compile without workarounds...<br>
At least now I know what to do :)<br><br><br>[]'s<br><br clear="all">Rodolfo Carvalho<br>
<br><br><div class="gmail_quote">On Fri, Aug 12, 2011 at 19:19, Matthew Flatt <span dir="ltr"><<a href="mailto:mflatt@cs.utah.edu">mflatt@cs.utah.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); 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'.<br>
<div><div></div><div class="h5"><br>
At Fri, 12 Aug 2011 16:50:16 -0300, Rodolfo Carvalho wrote:<br>
> Hello,<br>
><br>
> I checked that the version of GCC in the machine is way too old.<br>
> GCC's website tells that GCC 4.4.6 is the oldest maintained release series.<br>
><br>
> So maybe it's better to don't invest any time in "fixing" anything.<br>
> I have a possibility to migrate to a newer server at Webfaction with newer<br>
> GCC.<br>
><br>
> Thanks,<br>
><br>
> Rodolfo Carvalho<br>
><br>
><br>
> On Fri, Aug 12, 2011 at 12:15, Rodolfo Carvalho <<a href="mailto:rhcarvalho@gmail.com">rhcarvalho@gmail.com</a>>wrote:<br>
><br>
> > On Fri, Aug 12, 2011 at 11:06, Matthew Flatt <<a href="mailto:mflatt@cs.utah.edu">mflatt@cs.utah.edu</a>> wrote:<br>
> ><br>
> >> We've made some repairs in that area since 5.1.2, but I don't know if<br>
> >> we've solved the problem that you're seeing. Which version of gcc are<br>
> >> you using?<br>
> >><br>
> >><br>
> > $ gcc --version<br>
> > gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-50)<br>
> ><br>
> ><br>
</div></div><div><div></div><div class="h5">> _________________________________________________<br>
> For list-related administrative tasks:<br>
> <a href="http://lists.racket-lang.org/listinfo/users" target="_blank">http://lists.racket-lang.org/listinfo/users</a><br>
</div></div></blockquote></div><br>