Boost C++ Libraries: Ticket #9423: Sparc build fail due to no Endianness https://svn.boost.org/trac10/ticket/9423 <p> When building boost 1.55.0 on Sparc the following errors occur throughout the compilation. </p> <pre class="wiki">./boost/predef/architecture/sparc.h:40:37: error: operator '&amp;&amp;' has no right operand In file included from ./boost/math/special_functions/sign.hpp:18, from ./boost/lexical_cast.hpp:167, from ./boost/graph/graphml.hpp:16, from libs/graph/src/graphml.cpp:17: ./boost/math/special_functions/detail/fp_traits.hpp:472: error: invalid application of 'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE&lt;false&gt;' ./boost/math/special_functions/detail/fp_traits.hpp: In static member function 'static void boost::math::detail::fp_traits_non_native&lt;long double, boost::math::detail::extended_double_precision&gt;::get_bits(long double, boost::uint32_t&amp;)': ./boost/math/special_functions/detail/fp_traits.hpp:457: error: 'offset_' was not declared in this scope ./boost/math/special_functions/detail/fp_traits.hpp: In static member function 'static void boost::math::detail::fp_traits_non_native&lt;long double, boost::math::detail::extended_double_precision&gt;::set_bits(long double&amp;, boost::uint32_t)': ./boost/math/special_functions/detail/fp_traits.hpp:462: error: 'offset_' was not declared in this scope </pre><p> It seems that the endian.h files were changed since 1.54, and in that transition sparc was forgotten about. I was able to solve the compilation issue with the attached patch. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9423 Trac 1.4.3 jared.szechy@… Fri, 22 Nov 2013 15:25:59 GMT attachment set https://svn.boost.org/trac10/ticket/9423 https://svn.boost.org/trac10/ticket/9423 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">002-sparc_fix.patch</span> </li> </ul> <p> 1.55.0 sparc build patch </p> Ticket anonymous Fri, 22 Nov 2013 21:31:41 GMT component changed; owner set https://svn.boost.org/trac10/ticket/9423#comment:1 https://svn.boost.org/trac10/ticket/9423#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">René Rivera</span> </li> <li><strong>component</strong> <span class="trac-field-old">Building Boost</span> → <span class="trac-field-new">predef</span> </li> </ul> Ticket anonymous Wed, 22 Jan 2014 17:46:20 GMT <link>https://svn.boost.org/trac10/ticket/9423#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9423#comment:2</guid> <description> <p> This does not appear to have been fixed yet? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>René Rivera</dc:creator> <pubDate>Tue, 11 Feb 2014 18:15:13 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/9423#comment:3 https://svn.boost.org/trac10/ticket/9423#comment:3 <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> Ticket jared.szechy@… Tue, 11 Feb 2014 18:27:23 GMT <link>https://svn.boost.org/trac10/ticket/9423#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9423#comment:4</guid> <description> <p> Am I missing something? How as this been fixed? </p> </description> <category>Ticket</category> </item> <item> <author>jared.szechy@…</author> <pubDate>Tue, 11 Feb 2014 18:35:15 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/9423#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9423#comment:5</guid> <description> <p> My apologies, I didn't realize the source in now on github. </p> </description> <category>Ticket</category> </item> </channel> </rss>