Boost C++ Libraries: Ticket #8609: Compile error with PPC https://svn.boost.org/trac10/ticket/8609 <p> I get the error below, compiling on Xcode 2.5 / GCC 4.0 / OS X 10.4.11: </p> <p> /Users/jeantoto/dev/boost_1_53_0/boost/atomic/detail/gcc-ppc.hpp: In member function 'T boost::atomics::detail::base_atomic&lt;T, int, 4u, Sign&gt;::fetch_add(T, boost::memory_order) volatile [with T = long int, bool Sign = true]': /Users/jeantoto/dev/boost_1_53_0/boost/atomic/detail/gcc-ppc.hpp:1204: error: impossible constraint in 'asm' </p> <ol><li>It is on PPC arch only. </li><li>Get the same error with Boost-trunk (gcc-ppc.hpp:1211). </li></ol><pre class="wiki">#include &lt;boost/atomic.hpp&gt; int main( ) { boost::atomic&lt;long&gt; messageCount_(0); messageCount_.fetch_add(1, boost::memory_order_relaxed); } </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8609 Trac 1.4.3 nicolas danet <nicolas.danet@…> Thu, 23 May 2013 06:33:07 GMT attachment set https://svn.boost.org/trac10/ticket/8609 https://svn.boost.org/trac10/ticket/8609 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">jojo.cpp</span> </li> </ul> Ticket nicolas danet <nicolas.danet@…> Thu, 23 May 2013 06:33:13 GMT attachment set https://svn.boost.org/trac10/ticket/8609 https://svn.boost.org/trac10/ticket/8609 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">jojo.2.cpp</span> </li> </ul> Ticket timblechmann Thu, 23 May 2013 07:03:29 GMT <link>https://svn.boost.org/trac10/ticket/8609#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8609#comment:1</guid> <description> <p> the powerpc-linux-gnu-g++-4.8 cross compiler compiles this for me ... gcc-4.0 is outdated and probably not even supported by apple anymore ... i therefore tend to close it as wontfix ... </p> </description> <category>Ticket</category> </item> <item> <author>nicolas danet <nicolas.danet@…></author> <pubDate>Thu, 23 May 2013 09:48:38 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8609#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8609#comment:2</guid> <description> <p> Boost::atomic is announced to compile on "gcc 4.x: i386, x86_64, ppc32, ppc64, armv5, armv6, alpha" so that's why i created this ticket. </p> <p> IMHO this support should be cool, related to the purpose of the component ("It implements the interface as defined by the C++11 standard, but makes this feature available for platforms lacking system/compiler support for this particular C++11 feature") but in other hand it may be lots of work and/or mess for few users. </p> <p> I'm not an expert in assembly and i can not do it myself ; so it's up to you. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>timblechmann</dc:creator> <pubDate>Thu, 23 May 2013 10:07:40 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8609#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8609#comment:3</guid> <description> <p> of course it would be cool, but i neither have the toolchain to test, nor time, nor a personal interest in supporting apple's gcc-4.0 </p> <p> btw, apple's gcc is something else than gcc ... and for me, apple's gcc caused a lot of problems in the past ... </p> </description> <category>Ticket</category> </item> <item> <author>nicolas danet <nicolas.danet@…></author> <pubDate>Thu, 23 May 2013 11:09:57 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8609#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8609#comment:4</guid> <description> <p> Thanks for infos ; I'm newbie in programming and i was not aware of the apple specific implementation of GCC. Sure it is not a very attractive to support an old powerpc-apple-darwin8-g++-4.0.1 and you are certainly right to close this ticket as wontfix. Anyway thanks for replies. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Andrey Semashev</dc:creator> <pubDate>Sun, 23 Mar 2014 11:55:18 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8609#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8609#comment:5</guid> <description> <p> Should this be closed as wontfix? </p> </description> <category>Ticket</category> </item> <item> <author>nicolas.danet@…</author> <pubDate>Sun, 23 Mar 2014 13:02:51 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8609#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8609#comment:6</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/8609#comment:5" title="Comment 5">andysem</a>: </p> <blockquote class="citation"> <p> Should this be closed as wontfix? </p> </blockquote> <p> I think so. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Andrey Semashev</dc:creator> <pubDate>Sun, 23 Mar 2014 14:00:03 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/8609#comment:7 https://svn.boost.org/trac10/ticket/8609#comment:7 <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">wontfix</span> </li> </ul> Ticket