Skip to content

Most recent macos-15-intel image has C++ linker errors #13816

@randombit

Description

@randombit

Description

The latest image (20260317.0278.1) for macos-15-intel seems to have a problem linking C++ that uses std::promise and possibly also problems with Boost. With that CI image, link are now failing with

  Undefined symbols for architecture x86_64:
    "std::exception_ptr::__from_native_exception_pointer(void*)", referenced from:
        std::__1::promise<Botan::Montgomery_Int>::~promise() in pubkey_rsa.o
        boost::asio::detail::thread_info_base::capture_current_exception() in utils_socket.o
    "___cxa_init_primary_exception", referenced from:
        std::__1::promise<Botan::Montgomery_Int>::~promise() in pubkey_rsa.o
        boost::asio::detail::thread_info_base::capture_current_exception() in utils_socket.o
  ld: symbol(s) not found for architecture x86_64
  clang++: error: linker command failed with exit code 1 (use -v to see invocation)

This includes a case where a PR was built with the old image this morning, passed CI, was merged to master this evening, and the merge to master CI job failed, as it ran on the new image.

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 22.04
  • Ubuntu 24.04
  • Ubuntu Slim
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • macOS 26
  • macOS 26 Arm64
  • Windows Server 2022
  • Windows Server 2025
  • Windows Server 2025 with Visual Studio 2026

Image version and build link

Image: macos-15
Version: 20260317.0278.1

https://github.com/randombit/botan/actions/runs/23268935727/job/67656757750

Is it regression?

https://github.com/randombit/botan/actions/runs/23247050404/job/67578221896

Expected behavior

Code using the C++20 standard library should continue to be able to link

Actual behavior

See linker error above

Repro steps

  1. Fork https://github.com/randombit/botan
  2. Try to run the CI specifically the macos-15-intel jobs

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions