Re: [Boost-bugs] [Boost C++ Libraries] #9877: freelist test crashes on Linux/GCC/release/x86

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9877: freelist test crashes on Linux/GCC/release/x86
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-04-23 11:43:51


#9877: freelist test crashes on Linux/GCC/release/x86
--------------------------------------+--------------------------
  Reporter: gjasny@… | Owner: timblechmann
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: lockfree
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------+--------------------------

Comment (by gjasny@…):

 Hello Tim,

 it looks indeed more like a compiler bug. As far as I can see the
 queue::initialize function does not work properly. For a brand new queue
 the _head and _tail values must be identical. With GCC 4.4 this is not the
 case. I tried to introduce some memory fences but this did not change
 anything. Adding some logging code makes the bug go away.

 Unfortunately we're stuck with GCC 4.4.7 because it is the default
 compiler in Redhat EL6. But maybe with EL7 around the corner we should
 strive for an early migration.

 Boost 1.55.0 still declares GCC 4.4.7 as a primary compiler. But in the
 dashboard I see only one Ubuntu system with 4.4.7 and I suspect it builds
 the 64 bit variant only.

 Is there anything I could try to convince GCC to produce the proper code?

 Thanks,
 Gregor

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9877#comment:5>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC