Opened 8 years ago

Closed 7 years ago

#10148 closed Bugs (fixed)

Can't build on Solaris SPARC

Reported by: brian.groose@… Owned by: René Rivera
Milestone: To Be Determined Component: predef USE GITHUB
Version: Boost 1.55.0 Severity: Problem
Keywords: solaris, sparc Cc:

Description

I'm using g++ 3.4.3 on SPARC and the following changes were required to allow it to build the subset of boost that I use:

--- boost/predef/other/endian.h +++ boost/predef/other/endian.h @@ -144,7 +144,8 @@

BOOST_ARCH_PARISK BOOST_ARCH_SYS370 BOOST_ARCH_SYS390
  • BOOST_ARCH_Z
+ BOOST_ARCH_Z

+ BOOST_ARCH_SPARC

# undef BOOST_ENDIAN_BIG_BYTE # define BOOST_ENDIAN_BIG_BYTE BOOST_VERSION_NUMBER_AVAILABLE # endif

Because this older g++ doesn't recognize -Wno-variadic-macros, I needed to remove that option from each Jamfile.v2 that specifies it. I wasn't sure how to properly change it to not apply that option for my specific g++ version.

Change History (3)

comment:1 by brian.groose@…, 8 years ago

Well that wasn't formatted too well. Here it is again with formatting.

--- boost/predef/other/endian.h
+++ boost/predef/other/endian.h
@@ -144,7 +144,8 @@
         BOOST_ARCH_PARISK || \
         BOOST_ARCH_SYS370 || \
         BOOST_ARCH_SYS390 || \
-        BOOST_ARCH_Z
+        BOOST_ARCH_Z || \
+        BOOST_ARCH_SPARC
 #       undef BOOST_ENDIAN_BIG_BYTE
 #       define BOOST_ENDIAN_BIG_BYTE BOOST_VERSION_NUMBER_AVAILABLE
 #   endif

comment:2 by viboes, 8 years ago

Component: Building Boostpredef
Owner: set to René Rivera

comment:3 by René Rivera, 7 years ago

Resolution: fixed
Status: newclosed

Already fixed in release version.

Note: See TracTickets for help on using tickets.