[Bug 273000] lang/gcc12: Assertion '!this->empty()' failed on arm64

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 07 Aug 2023 15:11:03 UTC

            Bug ID: 273000
           Summary: lang/gcc12: Assertion '!this->empty()' failed on arm64
           Product: Ports & Packages
           Version: Latest
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: salvadore@freebsd.org
          Reporter: marcel@herrbischoff.com
             Flags: maintainer-feedback?(salvadore@freebsd.org)
          Assignee: salvadore@freebsd.org

While attempting to start the sysutils/btop port installed from a binary
package, on a Raspberry Pi 3 running 13.2-RELEASE, the application immediately
aborts with the following error:

/usr/local/lib/gcc12/include/c++/bits/stl_deque.h:1484: std::deque<_Tp,
_Alloc>::const_reference std::deque<_Tp, _Alloc>::back() const [with _Tp = long
long int; _Alloc = std::allocator<long long int>; const_reference = const long
long int&]: Assertion '!this->empty()' failed.
Abort trap (core dumped)

The port requires GCC due to libstdc++. On amd64 it runs as expected. After
checking back with the port maintainer, this appears to be a GCC bug.

You are receiving this mail because:
You are the assignee for the bug.