Boost C++ Libraries: Ticket #6996: smart_pointer causes build failure on AIX gcc 4.7 https://svn.boost.org/trac10/ticket/6996 <p> When using gcc 4.7 with AIX, the sp_counted_base.hpp logic falls through to the sp_counted_base_gcc_ppc.hpp header which seems to be specifically for PPC Linux. When using gcc on AIX the system as is used, which does not support the syntax included in this file. </p> <p> The reason for this seems to be the fact that in gcc 4.7 the <span class="underline">powerpc</span> define has been added to the built-in defines. This means the conditions are now matched for using the gcc ppc version of the fix. </p> <p> I think the define needs to be enhanced either with a check for GNU Assembler being used or the _AIX is not defined. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6996 Trac 1.4.3 crispin.boylan@… Fri, 14 Sep 2012 18:25:43 GMT attachment set https://svn.boost.org/trac10/ticket/6996 https://svn.boost.org/trac10/ticket/6996 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost_1_51_0-aix_gcc.patch</span> </li> </ul> <p> Patch to compile on aix with gcc 4.7 </p> Ticket Peter Dimov Wed, 31 Oct 2012 20:16:58 GMT <link>https://svn.boost.org/trac10/ticket/6996#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6996#comment:1</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/81126" title="Do not use sp_counted_base_gcc_ppc on AIX. Refs #6996.">[81126]</a>) Do not use sp_counted_base_gcc_ppc on AIX. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6996" title="#6996: Bugs: smart_pointer causes build failure on AIX gcc 4.7 (closed: fixed)">#6996</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Peter Dimov</dc:creator> <pubDate>Wed, 14 Nov 2012 11:53:10 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/6996#comment:2 https://svn.boost.org/trac10/ticket/6996#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> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/81332" title="Merged [81126] from trunk. Fixes #6996.">[81332]</a>) Merged <a class="changeset" href="https://svn.boost.org/trac10/changeset/81126" title="Do not use sp_counted_base_gcc_ppc on AIX. Refs #6996.">[81126]</a> from trunk. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6996" title="#6996: Bugs: smart_pointer causes build failure on AIX gcc 4.7 (closed: fixed)">#6996</a>. </p> Ticket