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

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 07 Apr 2022 16:57:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221423

Konstantin Belousov <kib@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kib@FreeBSD.org

--- Comment #21 from Konstantin Belousov <kib@FreeBSD.org> ---
It is not platform-specific.  The magic is in
/usr/local/libdata/ldconfig/gcc<version>
and somewhat randomly depends on the order of directorires as applied by
`for i in ${ldconfig_local_dirs}; do ...` loop in /etc/rc.d/ldconfig script.

Ideally, because gcc project takes backward ABI compatibility quite seriously,
only gcc<highest version> file from libdata/ldconfig directory should be
applied.  I have no idea how to do that idiomatically.

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