Simple boost fix for sparc64
Hello, boost people, This is a small, simple patch to make boost compile properly on NetBSD/sparc64, at very least, and on SPARC and UltraSPARC in general. Here's a failure example: https://ftp.ziaspace.com/pub/pkgsrc/reports/9.0_2021Q2/sparc64/boost-libs-1.... Thanks very much, John Klos --- libs/predef/include/boost/predef/architecture/sparc.h.orig 2021-09-27 16:03:19.965761565 +0000 +++ libs/predef/include/boost/predef/architecture/sparc.h 2021-09-27 16:11:18.084758689 +0000 @@ -34,10 +34,10 @@ #if defined(__sparc__) || defined(__sparc) # undef BOOST_ARCH_SPARC -# if !defined(BOOST_ARCH_SPARC) && (defined(__sparcv9) || defined(__sparc_v9__) +# if !defined(BOOST_ARCH_SPARC) && (defined(__sparcv9) || defined(__sparc_v9__)) # define BOOST_ARCH_SPARC BOOST_VERSION_NUMBER(9,0,0) # endif -# if !defined(BOOST_ARCH_SPARC) && (defined(__sparcv8) || defined(__sparc_v8__) +# if !defined(BOOST_ARCH_SPARC) && (defined(__sparcv8) || defined(__sparc_v8__)) # define BOOST_ARCH_SPARC BOOST_VERSION_NUMBER(8,0,0) # endif # if !defined(BOOST_ARCH_SPARC)
On 9/27/21 8:00 PM, John Klos via Boost wrote:
Hello, boost people,
This is a small, simple patch to make boost compile properly on NetBSD/sparc64, at very least, and on SPARC and UltraSPARC in general.
Here's a failure example:
https://ftp.ziaspace.com/pub/pkgsrc/reports/9.0_2021Q2/sparc64/boost-libs-1....
Seems like it's already fixed: https://github.com/boostorg/predef/commit/1be0e4a2d8db15a405f64a6f65507b87c1...
participants (2)
-
Andrey Semashev
-
John Klos