Boost logo

Boost :

From: Matt Borland (matt_at_[hidden])
Date: 2024-07-25 13:02:45


> 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 attempted to build the libraries with homebrew LLVM 18.1.8 on an M1 Pro Mac running macOS 14.5, but Boost.Cobalt and Boost.Log both fail to build because of:

Undefined symbols for architecture arm64:
  "std::exception_ptr::__from_native_exception_pointer(void*)", referenced from:
      std::exception_ptr std::make_exception_ptr[abi:ne180100]<boost::system::error_code>(boost::system::error_code) in exception.o
      boost::asio::detail::thread_info_base::capture_current_exception() in main.o
  "___cxa_init_primary_exception", referenced from:
      std::exception_ptr std::make_exception_ptr[abi:ne180100]<boost::system::error_code>(boost::system::error_code) in exception.o
      boost::asio::detail::thread_info_base::capture_current_exception() in main.o
ld: symbol(s) not found for architecture arm64

I have opened an issue against homebrew here: https://github.com/Homebrew/homebrew-core/issues/178435. There are linked LLVM issues, and a comment from a Homebrew maintainer that says a workaround has already been applied to brewed LLVM to fix the LLVM issues.

On the positive homebrew GCC-14 and Xcode provided clang 15.0.0 both successfully build the libraries.

Matt





Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk