Boost logo

Boost Users :

Subject: Re: [Boost-users] [Thread] Not able to compile a program with Thread library on ARM
From: Matthew L. Creech (mlcreech_at_[hidden])
Date: 2008-09-24 11:00:56


On Wed, Sep 24, 2008 at 9:53 AM, Rudi Dittrich <rudid_at_[hidden]> wrote:
> Dear all,
>
> I've got the following problem: I want to use the boost threading library provided in version 1.36 on an arm (imx31) based evaluation board with MontaVista linux and g++ version 4.2.0 on it.
> When I try to compile the following example with my arm-g++ compiler
>

I ran into this same problem on ARM. Sounds like you've found the
fix, but FYI: I just made Boost short-circuit the tests for
GCC-specific atomic code on ARM, and use the generic pthreads versions
instead. See the attached patch.

-- 
Matthew L. Creech



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net