Boost C++ Libraries: Ticket #10994: Using boost::atomic for 128-bit type results in build error with GCC 4.4 https://svn.boost.org/trac10/ticket/10994 <p> When using boost::atomic with 128-bit type it results into a build error with GCC 4.4. </p> <p> With GCC 4.6 it works fine. With 64-bit type it works fine. </p> <p> Minimal example: </p> <p> <strong>main.cpp</strong>: </p> <pre class="wiki">#include &lt;boost/atomic.hpp&gt; int main() { boost::atomic&lt;__int128_t&gt; variable(0); variable.load(); } </pre><p> <strong>Build command</strong>: </p> <pre class="wiki">g++-4.4 -O3 -mcx16 main.cpp -Iboost_1_57_0/ </pre><p> <strong>Error output</strong>: </p> <pre class="wiki">boost_1_57_0/boost/atomic/detail/ops_gcc_x86_dcas.hpp: In function ‘int main()’: boost_1_57_0/boost/atomic/detail/ops_gcc_x86_dcas.hpp:261: error: impossible constraint in ‘asm’ </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10994 Trac 1.4.3 Martin Srom <srom.martin@…> Wed, 04 Feb 2015 10:40:53 GMT attachment set https://svn.boost.org/trac10/ticket/10994 https://svn.boost.org/trac10/ticket/10994 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">main.cpp</span> </li> </ul> Ticket Andrey Semashev Thu, 14 May 2015 09:03:04 GMT cc set https://svn.boost.org/trac10/ticket/10994#comment:1 https://svn.boost.org/trac10/ticket/10994#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">Andrey.Semashev@…</span> added </li> </ul> Ticket Andrey Semashev Mon, 17 Aug 2015 20:28:41 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/10994#comment:2 https://svn.boost.org/trac10/ticket/10994#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed in <a class="ext-link" href="https://github.com/boostorg/atomic/commit/ff91811c1a2f87748fb36cecfe9da1dc7a596bce"><span class="icon">​</span>https://github.com/boostorg/atomic/commit/ff91811c1a2f87748fb36cecfe9da1dc7a596bce</a>. </p> Ticket