[Bug 292067] [exp-run] Against llvm-21-update branch on GitHub

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 29 May 2026 23:03:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292067

--- Comment #126 from commit-hook@FreeBSD.org ---
A commit in branch stable/15 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=0b4a69f36f8bc84fa358155260c1ff3f0ce041d7

commit 0b4a69f36f8bc84fa358155260c1ff3f0ce041d7
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2026-03-12 13:24:01 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2026-05-29 22:57:33 +0000

    Merge commit c1d26c3c2510 from llvm git (by Nikolas Klauser):

      [libc++] Fix iostream size ABI break (#185839)

      In #124103 we changed the size of various iostream objects, which turns
      out to be ABI breaking when compiling non-PIE code.

      This ABI break is safe to fix, since for any programs allocating more
      memory for the iostream objects, the remaining bytes are simply unused
      now.

      Fixes #185724

    This fixes the ABI break that causes programs that use the standard
    streams to terminate in various interesting ways, usually by throwing an
    unexpected std::bad_cast exception.

    PR:             292067
    MFC after:      1 month

    (cherry picked from commit 4fc1fdd206c3db60ca521e3966f31044c7711398)

 contrib/llvm-project/libcxx/src/iostream.cpp | 93 +++++++++++++++++-----------
 1 file changed, 56 insertions(+), 37 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.