Even with gcc 4.1, it's not available if the target architecture is i386. See also
http://lists.racket-lang.org/users/archive/2011-August/047188.html That message suggests some workarounds, and I think v5.1.3 should build if you disable futures and places. The problem is fixed in the current version. At Fri, 02 Sep 2011 07:57:29 -0600, Kevin Tew wrote: > __sync_bool_compare_and_swap is compiler builtin intrinsic only present in > gcc > versions>= 4.1. > I'd guess you have gcc 4.0 on the system. > > You might want to try Linux i386 (Fedora 12) > > Kevin > > On 09/02/2011 07:40 AM, Stephen Bloch wrote: > > On Sep 2, 2011, at 9:18 AM, Matthias Felleisen wrote: > > > >> Does 5.1.3 not work? > > > > Within 5.1.3, there are several pre-built binaries: > > Linux i386 (Fedora 12) > > Linux i386 (Ubuntu jaunty) > > Linux x86_64 (Debian lenny) > > Linux x86_64 (Debian squeeze) > > Linux x86_64 (Fedora 14) > > I don't know which (if any) of those should work on my system. > > > > So I tried "Unix source", did the usual "mkdir build; cd build; > ../configure; make" and got > > > > ... > > make ../racket3m > > make[4]: Entering directory `.../src/build/racket/gc2' > > cd ..; gcc -o racket3m gc2/main.o libracket3m.a -pthread -ldl -lm -ldl > -lm -rdynamic > > libracket3m.a(symbol.o)(.text+0x65e): In function `make_a_symbol': > > ../../../racket/gc2/../src/mzrt.h:132: undefined reference to > `__sync_bool_compare_and_swap' > > collect2: ld returned 1 exit status > > make[4]: *** [../racket3m] Error 1 > > > > > > Stephen Bloch > > sbl...@adelphi.edu > > > > > > _________________________________________________ > > For list-related administrative tasks: > > http://lists.racket-lang.org/listinfo/users > > _________________________________________________ > For list-related administrative tasks: > http://lists.racket-lang.org/listinfo/users _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users