Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Apr 2022 16:33:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 221423] gcc std::locale(LocaleName) crashes instead of throwing an exception
Message-ID:  <bug-221423-29464-3OpIVZwtGC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-221423-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-221423-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221423

--- Comment #19 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Mark Millard from comment #17)

Back to aarch64:

# g++11 -Wl,-rpath=3D/usr/local/lib/gcc11 locale_failure_test.cpp
# ./a.out
# ldd a.out
a.out:
        libstdc++.so.6 =3D> /usr/local/lib/gcc11/libstdc++.so.6 (0x83400000)
        libm.so.5 =3D> /lib/libm.so.5 (0x81a6f000)
        libgcc_s.so.1 =3D> /usr/local/lib/gcc11/libgcc_s.so.1 (0x8265c000)
        libc.so.7 =3D> /lib/libc.so.7 (0x83fbe000)

So use of -Wl,-rpath=3D/usr/local/lib/gcc11 makes things coherent in
my aarch64 context.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221423-29464-3OpIVZwtGC>