[racket-dev] Compile racket without native compare-and-swap support?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon Apr 28 15:13:48 EDT 2014

Sorry --- I now see that `--enable-pthread` is forced for OpenBSD. I
think it should be on by default, but not actually forced, so I've made
that repair.

More to the point, I've pushed a repair so that CAS is attempted only
when futures or places are enabled.

At Mon, 28 Apr 2014 20:45:35 +0200, Juan Francisco Cantero Hurtado wrote:
> On 04/28/14 20:08, Matthew Flatt wrote:
> > I think `--enable-pthread` is triggering the attempt to use CAS. Can
> > you leave that one out?
> 
> I tried without enable-pthread. I see the same problem 
> http://juanfra.info/bl/racket-2014/racket-6.0-2.log
> 
> >
> > At Mon, 28 Apr 2014 19:59:10 +0200, Juan Francisco Cantero Hurtado wrote:
> >> On 04/28/14 01:03, Matthew Flatt wrote:
> >>> At Mon, 28 Apr 2014 00:58:48 +0200, Juan Francisco Cantero Hurtado wrote:
> >>>> I'm trying to compile Racket 6.0 on OpenBSD/hppa but the compilation
> >>>> fails because there is not support for CAS on OpenBSD/hppa. Is it
> >>>> possible compile racket on platforms without atomic CAS?.
> >>>
> >>> Does it help to use
> >>>
> >>>    --disable-places --disable-futures
> >>>
> >>> as arguments to `configure`?
> >>
> >> No, I use always both arguments because we don't have support for tls on
> >> OpenBSD. Here is the log of the build:
> >> http://juanfra.info/bl/racket-2014/racket-6.0.log
> 
> 
> 
> _________________________
>   Racket Developers list:
>   http://lists.racket-lang.org/dev

Posted on the dev mailing list.