On Sun, Oct 29, 2023 at 08:13:43AM -0400, Brad Smith wrote:
> On Sun, Oct 29, 2023 at 10:52:39AM +0000, Stuart Henderson wrote:
> > Doesn't hurt but we probably don't need #ifdef around SYS_getrandom tbh.
> >
> > Has anyone looked at updating boost recently? It would be a good time in our
> > release cycle and I can do an i386 bulk if anyone has a diff handy.
> >
> > --
> > Sent from a phone, apologies for poor formatting.
>
> The existing Boost::Context diffs do not apply as is, there were some changes there.
> Someone more familiar with this neeeds to look at what needs to be done for i386.
>
> https://github.com/boostorg/context/commit/2f0b5034b72cbb858849bd744ffb06df04521e5a
This one is a bit surprising. PowerDNS Recursor has been compiled with
-fstack-protector for ages, and has no issues with the existing
(patched to conform to out calling conventions) context switch
assembly in boost 1.80 on i386.
I'm setting up a i386 VM to check things further. I imagine we might
be able to take the easy way and continue to use the asm from the 1.80
port in boost 1.83.
-Otto
>
> https://github.com/boostorg/context/commit/e286649f08a6312ba3d88aa3eafa179ec3eab163
> https://github.com/boostorg/context/commit/0eb42637058741bef2456e0fb165e02d47670c8a
>
>
> Index: Makefile
> ===================================================================
> RCS file: /home/cvs/ports/devel/boost/Makefile,v
> diff -u -p -u -p -r1.136 Makefile
> --- Makefile 28 Oct 2023 14:03:31 -0000 1.136
> +++ Makefile 29 Oct 2023 10:56:23 -0000
> @@ -8,17 +8,16 @@ COMMENT-md= machine-dependent libraries
> # if updating >=1.81.0 review ports using boost_context that have USE_NOBTCFI
> # set and see if it can be removed (definite problems seen with pdns_recursor);
> # sqlite3 /usr/local/share/sqlports "select * from wantlib where value like 'boost_context%'"
> -VERSION= 1.80.0
> -EPOCH = 0
> +VERSION= 1.83.0
> DISTNAME= boost_${VERSION:S/./_/g}
> PKGNAME= boost-${VERSION}
> -REVISION-main= 3
> +EPOCH= 0
> CATEGORIES= devel
> SITES= https://boostorg.jfrog.io/artifactory/main/release/${VERSION}/source/
> EXTRACT_SUFX= .tar.bz2
> FIX_EXTRACT_PERMISSIONS = Yes
>
> -SO_VERSION= 21.0
> +SO_VERSION= 22.0
> BOOST_LIBS= boost_atomic-mt \
> boost_chrono-mt boost_chrono \
> boost_container-mt boost_container \
> @@ -53,6 +52,7 @@ BOOST_LIBS= boost_atomic-mt \
> boost_timer-mt boost_timer \
> boost_type_erasure-mt boost_type_erasure \
> boost_unit_test_framework-mt boost_unit_test_framework \
> + boost_url-mt boost_url \
> boost_wserialization-mt boost_wserialization \
> boost_wave-mt boost_wave
>
> Index: distinfo
> ===================================================================
> RCS file: /home/cvs/ports/devel/boost/distinfo,v
> diff -u -p -u -p -r1.21 distinfo
> --- distinfo 29 Aug 2022 17:28:18 -0000 1.21
> +++ distinfo 29 Oct 2023 10:57:07 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (boost_1_80_0.tar.bz2) = HhlWXYLkO8WSCaFo9ayJnTukcdVcdhDGd9TM8snFAMA=
> -SIZE (boost_1_80_0.tar.bz2) = 115869904
> +SHA256 (boost_1_83_0.tar.bz2) = ZHjt/i8zBRJ8/+jK9z6gF2xTdp9L8Vhb4jfrMHmMO44=
> +SIZE (boost_1_83_0.tar.bz2) = 122892751
> Index: patches/patch-Jamroot
> ===================================================================
> RCS file: /home/cvs/ports/devel/boost/patches/patch-Jamroot,v
> diff -u -p -u -p -r1.18 patch-Jamroot
> --- patches/patch-Jamroot 29 Aug 2022 17:28:18 -0000 1.18
> +++ patches/patch-Jamroot 8 Aug 2023 00:39:33 -0000
> @@ -3,7 +3,7 @@ Index: Jamroot
> +++ Jamroot
> @@ -146,11 +146,12 @@ import tools/boost\_install/boost-install ;
> path-constant BOOST_ROOT : . ;
> - constant BOOST_VERSION : 1.80.0 ;
> + constant BOOST_VERSION : 1.83.0 ;
> constant BOOST_JAMROOT_MODULE : $(__name__) ;
> +constant SO_VERSION : ${SO_VERSION} ;
>
> Index: patches/patch-boost_config_stdlib_libcpp_hpp
> ===================================================================
> RCS file: patches/patch-boost_config_stdlib_libcpp_hpp
> diff -N patches/patch-boost_config_stdlib_libcpp_hpp
> --- patches/patch-boost_config_stdlib_libcpp_hpp 13 Nov 2022 11:42:23 -0000 1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,20 +0,0 @@
> -The std lib unary/binary_function base classes are deprecated/removed from libcpp15.
> -https://github.com/boostorg/container_hash/issues/24
> -
> -Index: boost/config/stdlib/libcpp.hpp
> ---- boost/config/stdlib/libcpp.hpp.orig
> -+++ boost/config/stdlib/libcpp.hpp
> -@@ -168,4 +168,13 @@
> - # define BOOST_NO_CXX14_HDR_SHARED_MUTEX
> -
No comments:
Post a Comment