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.
Thanks for you report, I will investigate into it as soon as possible. Could you please share some details about how you and the sysutils/btop port maintainer understood that the bug is in lang/gcc12? Thanks.
Been AFK for some time. Since I'm not competent enough to interpret the error message, I asked the maintainer of the btop port (pkubaj@anongoth.pl). His response: "It kind of looks more like a GCC issue, you could try to create a FreeBSD PR on Bugzilla for GCC first." Hence the bug report here. The Raspberry Pi setup is an actively used machine of mine. If/when you need me to test something, let me know.