[Bug 221423] gcc std::locale(LocaleName) crashes instead of throwing an exception

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 30 May 2022 05:32:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221423

--- Comment #37 from Gerald Pfeifer <gerald@FreeBSD.org> ---
(In reply to Konstantin Belousov from comment #21)
> Ideally, because gcc project takes backward ABI compatibility quite
> seriously, only gcc<highest version> file from libdata/ldconfig
> directory should be applied.

Agreed.

> I have no idea how to do that idiomatically.

What SUSE does with SUSE Linux Enterprise and openSUSE is to split the
compiler itself and this run-time into different packages.

The run-time then will be updated to a newer version somewhat regularly,
which works due to the focus on backwards compatibility by the upstream 
GCC project, the system compiler usually left in place (and still working
with the new run-time), and additional compiler versions added (and also
working with the new run-time.


In the context of FreeBSD, and ports, that would mean all GCC ports
sharing one run-time package coming from the latest stable version.

(Not something our packaging system supports very naturally.)

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