[release] Boost 1.87.0 Beta 2 Release Candidate is available

RC1 had some build issues which have been corrected. Available at: https://archives.boost.io/beta/1.87.0.beta1/source/ The SHA256 checksums are as follows: d24c351fdeaeefa4f25ce5e9365e9d69b86d342570eaac649e3b12f244a6eef7 boost_1_87_0_b1_rc2.7z 98090d258e1d50db30b549072a5db04210350fa7a5ede47d2c71a78af6724e55 boost_1_87_0_b1_rc2.zip 85075e27e6f866cbe3a00f1d5a57e801ce313119dcfd8327babf554c84af9ec3 boost_1_87_0_b1_rc2.tar.bz2 48e51ddfb67eace9181be87f2f25a06dace5e0eb4a84ab803ebfcd8d98e4aab1 boost_1_87_0_b1_rc2.tar.gz As always, the release managers would appreciate it if you download the candidate of your choice and give building it a try. Please report both success and failure, and anything else that is noteworthy. -- The Release Managers

Mostly looks good for Windows/Visual Studio. The one exception is that the math library doesn't build under msvc-14.0, but this was warned ahead of time. I guess it is time to drop support for that from the binaries, I worry that there are still a lot of users there though. toolset arch compile Link Execute msvc-14.0 32 ERROR X X msvc-14.0 64 ERROR X X msvc-14.1 32 X X X msvc-14.1 64 X X X msvc-14.2 32 X X X msvc-14.2 64 X X X msvc-14.3 32 X X X msvc-14.3 64 X X X Compile means that the b2 command completed without errors Link means that visual studio was able to link a sample executable to a library (libboost_thread-vcXXX-mt[-gd]-1_XX.lib) generated Execute means that the linked program executed without errors. https://gist.github.com/teeks99/bea04c546558e87855b846335bc3fd5a On Fri, Nov 8, 2024 at 5:50 PM Marshall Clow via Boost < boost@lists.boost.org> wrote:
RC1 had some build issues which have been corrected.
Available at: https://archives.boost.io/beta/1.87.0.beta1/source/
The SHA256 checksums are as follows:
d24c351fdeaeefa4f25ce5e9365e9d69b86d342570eaac649e3b12f244a6eef7 boost_1_87_0_b1_rc2.7z 98090d258e1d50db30b549072a5db04210350fa7a5ede47d2c71a78af6724e55 boost_1_87_0_b1_rc2.zip 85075e27e6f866cbe3a00f1d5a57e801ce313119dcfd8327babf554c84af9ec3 boost_1_87_0_b1_rc2.tar.bz2 48e51ddfb67eace9181be87f2f25a06dace5e0eb4a84ab803ebfcd8d98e4aab1 boost_1_87_0_b1_rc2.tar.gz
As always, the release managers would appreciate it if you download the candidate of your choice and give building it a try. Please report both success and failure, and anything else that is noteworthy.
-- The Release Managers
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

On Nov 8, 2024, at 3:50 PM, Marshall Clow <mclow.lists@gmail.com> wrote:
As always, the release managers would appreciate it if you download the candidate of your choice and give building it a try. Please report both success and failure, and anything else that is noteworthy.
I have built the libraries on x86 on Mac OS Sonoma 14.7.1 (23H222) using 'Apple clang version 16.0.0 (clang-1600.0.26.4)’ All the libraries built successfully on C++11/14/17/20/23/2c — Marshall

El 09/11/2024 a las 0:50, Marshall Clow via Boost escribió:
RC1 had some build issues which have been corrected.
Available at: https://archives.boost.io/beta/1.87.0.beta1/source/
The SHA256 checksums are as follows:
d24c351fdeaeefa4f25ce5e9365e9d69b86d342570eaac649e3b12f244a6eef7 boost_1_87_0_b1_rc2.7z 98090d258e1d50db30b549072a5db04210350fa7a5ede47d2c71a78af6724e55 boost_1_87_0_b1_rc2.zip 85075e27e6f866cbe3a00f1d5a57e801ce313119dcfd8327babf554c84af9ec3 boost_1_87_0_b1_rc2.tar.bz2 48e51ddfb67eace9181be87f2f25a06dace5e0eb4a84ab803ebfcd8d98e4aab1 boost_1_87_0_b1_rc2.tar.gz
As always, the release managers would appreciate it if you download the candidate of your choice and give building it a try. Please report both success and failure, and anything else that is noteworthy.
Built and installed libraries using Ubuntu 24.04 on WSL with gcc-10, gcc-11, gcc-12, gcc-13 and gcc-14 toolsets. I get an error during the configuration checks for all tolsets though: error: No best alternative for /mnt/c/Data/Libs/boost_1_87_0/libs/mpi/build/boost_mpi with <abi>sysv <address-model>64 <architecture>x86 <asynch-exceptions>off <binary-format>elf <boost.beast.allow-deprecated>on <boost.beast.separate-compilation>on <context-impl>fcontext <coverage>off <debug-symbols>off <exception-handling>on <extern-c-nothrow>off <inlining>full <known-warnings>hide <link>shared <optimization>speed <os>LINUX <pch>on <preserve-test-targets>on <profiling>off <python-debugging>off <rtti>on <runtime-debugging>off <runtime-link>shared <stdlib>native <strip>off <target-os>linux <testing.execute>on <threadapi>pthread <threading>multi <toolset-gcc:version>11 <toolset>gcc <variant>release <vectorize>off <visibility>hidden <warnings-as-errors>off <warnings>on <x-deduced-platform>x86_64 I think it's a warning or something that can be ignored, compilation and installation continues until the very end... Best, Ion

On 09.11.24 00:50, Marshall Clow via Boost wrote:
As always, the release managers would appreciate it if you download the candidate of your choice and give building it a try. Please report both success and failure, and anything else that is noteworthy.
I think I found a problem with the stl_interfaces library. In boost/stl_interfaces/config.hpp: #if (defined(__cpp_explicit_this_parameter) || \ (defined(_MSC_VER) && _MSC_VER >= 1941) || \ (defined(BOOST_CLANG_VERSION) && BOOST_CLANG_VERSION >= 190000)) && \ BOOST_STL_INTERFACES_USE_CONCEPTS && \ !defined(BOOST_STL_INTERFACES_DISABLE_DEDUCED_THIS) #define BOOST_STL_INTERFACES_USE_DEDUCED_THIS 1 #else #define BOOST_STL_INTERFACES_USE_DEDUCED_THIS 0 #endif In other words BOOST_STL_INTERFACES_USE_DEDUCED_THIS is set to 1 on any sufficiently modern clang, even if __cpp_explicit_this_parameter is not defined - such as when explicitly compiling with -std=gnu++20. I only discovered this when compiling with Emscripten, since I usually use gcc for desktop targets. -- Rainer Deyke - rainerd@eldwood.com

сб, 9 нояб. 2024 г. в 02:50, Marshall Clow via Boost <boost@lists.boost.org>:
RC1 had some build issues which have been corrected.
I've repeated my experiment from the last release cycle and did some cross-builds of the beta. I've successfully built and installed most of the libraries using Mingw-w64 11.0.1 (gcc-13, win32 threading model, address-model 32, 64, C++ 11,14,17,20,23). Again, I had to disable Python, as I didn't have libpython targeting this configuration. Setting boost.stacktrace.from_exception=off from the CLI doesn't work at the moment. This is because Stacktrace needs to define its custom b2 features in its root build.jam (just like e.g. Context). So, I had to disable Stacktrace. I also had to disable Process because of a build error: ./boost/process/v2/detail/process_handle_windows.hpp:311:45: error: ‘default_completion_token_t’ was not declared in this scope; did you mean ‘boost::asio::default_completion_token_t’? 311 | auto async_wait(WaitHandler &&handler = default_completion_token_t<executor_type>()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | boost::asio::default_completion_token_t This is due to a simple typo. Nevertheless, I had to disable Process too. Similarly, I've built and installed most of the same libraries using GCC 13 targeting arm-linux-gnueabi (C++ 11,14,17,20,23). As the last time I had to disable Context, as assembler sources were rejected by the assembler. For posterity, here's an example of errors I've got: gcc.compile.asm bin.v2/libs/context/build/gcc-13_arm/release/abi-aapcs/address-model-64/architecture-arm/threading-multi/visibility-hidden/asm/jump_arm64_aapcs_elf_gas.o jump_arm64_aapcs_elf_gas.S: Assembler messages: jump_arm64_aapcs_elf_gas.S:65: Error: bad instruction `stp d8,d9,[sp,#0x00]' jump_arm64_aapcs_elf_gas.S:66: Error: bad instruction `stp d10,d11,[sp,#0x10]' jump_arm64_aapcs_elf_gas.S:67: Error: bad instruction `stp d12,d13,[sp,#0x20]' jump_arm64_aapcs_elf_gas.S:68: Error: bad instruction `stp d14,d15,[sp,#0x30]' jump_arm64_aapcs_elf_gas.S:71: Error: bad instruction `stp x19,x20,[sp,#0x40]' jump_arm64_aapcs_elf_gas.S:72: Error: bad instruction `stp x21,x22,[sp,#0x50]' jump_arm64_aapcs_elf_gas.S:73: Error: bad instruction `stp x23,x24,[sp,#0x60]' jump_arm64_aapcs_elf_gas.S:74: Error: bad instruction `stp x25,x26,[sp,#0x70]' jump_arm64_aapcs_elf_gas.S:75: Error: bad instruction `stp x27,x28,[sp,#0x80]' jump_arm64_aapcs_elf_gas.S:76: Error: bad instruction `stp x29,x30,[sp,#0x90]' jump_arm64_aapcs_elf_gas.S:79: Error: ARM register expected -- `str x30,[sp,#0xa0]' jump_arm64_aapcs_elf_gas.S:82: Error: ARM register expected -- `mov x4,sp' jump_arm64_aapcs_elf_gas.S:85: Error: immediate expression requires a # prefix -- `mov sp,x0' jump_arm64_aapcs_elf_gas.S:88: Error: bad instruction `ldp d8,d9,[sp,#0x00]' jump_arm64_aapcs_elf_gas.S:89: Error: bad instruction `ldp d10,d11,[sp,#0x10]' jump_arm64_aapcs_elf_gas.S:90: Error: bad instruction `ldp d12,d13,[sp,#0x20]' jump_arm64_aapcs_elf_gas.S:91: Error: bad instruction `ldp d14,d15,[sp,#0x30]' jump_arm64_aapcs_elf_gas.S:94: Error: bad instruction `ldp x19,x20,[sp,#0x40]' jump_arm64_aapcs_elf_gas.S:95: Error: bad instruction `ldp x21,x22,[sp,#0x50]' jump_arm64_aapcs_elf_gas.S:96: Error: bad instruction `ldp x23,x24,[sp,#0x60]' jump_arm64_aapcs_elf_gas.S:97: Error: bad instruction `ldp x25,x26,[sp,#0x70]' jump_arm64_aapcs_elf_gas.S:98: Error: bad instruction `ldp x27,x28,[sp,#0x80]' jump_arm64_aapcs_elf_gas.S:99: Error: bad instruction `ldp x29,x30,[sp,#0x90]' jump_arm64_aapcs_elf_gas.S:104: Error: ARM register expected -- `mov x0,x4' jump_arm64_aapcs_elf_gas.S:107: Error: ARM register expected -- `ldr x4,[sp,#0xa0]' jump_arm64_aapcs_elf_gas.S:112: Error: bad instruction `ret x4' "/usr/bin/arm-linux-gnueabi-g++-13" -x assembler-with-cpp -fPIC -pthread -O3 -finline-functions -Wno-inline -Wall -fvisibility=hidden -DBOOST_ALL_NO_LIB=1 -DBOOST_CONTEXT_DYN_LINK=1 -DBOOST_CONTEXT_NO_LIB=1 -DBOOST_CONTEXT_SOURCE -DBOOST_DISABLE_ASSERTS -DNDEBUG -I"." -I"/home/grisumbras/download/boost_1_87_0/libs/assert/include" -I"/home/grisumbras/download/boost_1_87_0/libs/context/include" -I"/home/grisumbras/download/boost_1_87_0/libs/core/include" -I"/home/grisumbras/download/boost_1_87_0/libs/mp11/include" -I"/home/grisumbras/download/boost_1_87_0/libs/predef/include" -I"/home/grisumbras/download/boost_1_87_0/libs/smart_ptr/include" -I"/home/grisumbras/download/boost_1_87_0/libs/throw_exception/include" -c -o "bin.v2/libs/context/build/gcc-13_arm/release/abi-aapcs/address-model-64/architecture-arm/threading-multi/visibility-hidden/asm/jump_arm64_aapcs_elf_gas.o" "/home/grisumbras/download/boost_1_87_0/libs/context/src/asm/jump_arm64_aapcs_elf_gas.S" Finally, Charconv, Container, Log, Math, Process, Serialization, and Wave generated warnings.

As always, the release managers would appreciate it if you download the candidate of your choice and give building it a try. Please report both success and failure, and anything else that is noteworthy.
-- The Release Managers
I have successfully built the libraries on an M1 Pro Macbook pro running macOS Sequoia 15.1 with Homebrew Clang 19.1.3 and cxxstd=11,14,17,20,23. Matt

RC1 had some build issues which have been corrected.
Available at: https://archives.boost.io/beta/1.87.0.beta1/source/
The SHA256 checksums are as follows:
d24c351fdeaeefa4f25ce5e9365e9d69b86d342570eaac649e3b12f244a6eef7 boost_1_87_0_b1_rc2.7z 98090d258e1d50db30b549072a5db04210350fa7a5ede47d2c71a78af6724e55 boost_1_87_0_b1_rc2.zip 85075e27e6f866cbe3a00f1d5a57e801ce313119dcfd8327babf554c84af9ec3 boost_1_87_0_b1_rc2.tar.bz2 48e51ddfb67eace9181be87f2f25a06dace5e0eb4a84ab803ebfcd8d98e4aab1 boost_1_87_0_b1_rc2.tar.gz
As always, the release managers would appreciate it if you download the candidate of your choice and give building it a try. Please report both success and failure, and anything else that is noteworthy.
I have successfully built the beta under clang-18, cxxstd=23, Ubuntu 22.04, as well as gcc-13, cxxstd=23, variant=release, Alpine Linux 3.20.3 (disabling Boost.Python because the system doesn't have the relevant headers/libraries). I have updated servertech-chat (https://github.com/anarthal/servertech-chat), using Regex, System, Asio, Beast, MySQL, Redis, JSON, URL, Variant2, Describe, MultiIndex and Test. It builds and tests pass. Regards, Ruben.
participants (7)
-
Ion Gaztañaga
-
Marshall Clow
-
Matt Borland
-
Rainer Deyke
-
Ruben Perez
-
Tom Kent
-
Дмитрий Архипов