On 5/30/2021 2:11 AM, Theo Buehler wrote:
>> Here is an updated diff rolling in an official fix instead of the hack
>> I had put in for a crashing issue I ran into with b2 on OpenBSD.
> On sparc64 the build is broken due to mismatched parentheses. With this
> additional patch, it builds:
Thanks. I see this was commited upstream 9 days ago.
> Index: patches/patch-boost_predef_architecture_sparc_h
> ===================================================================
> RCS file: patches/patch-boost_predef_architecture_sparc_h
> diff -N patches/patch-boost_predef_architecture_sparc_h
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ patches/patch-boost_predef_architecture_sparc_h 30 May 2021 06:08:12 -0000
> @@ -0,0 +1,20 @@
> +$OpenBSD$
> +
> +Fix build on sparc64
> +
> +Index: boost/predef/architecture/sparc.h
> +--- boost/predef/architecture/sparc.h.orig
> ++++ boost/predef/architecture/sparc.h
> +@@ -34,10 +34,10 @@ http://en.wikipedia.org/wiki/SPARC[SPARC] architecture
> +
> + #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)
No comments:
Post a Comment