Date: Mon, 18 May 2020 17:58:42 +0000 From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 246488] gcc-built binary crashes in std::ios_base::Init::Init() Message-ID: <bug-246488-29464-t848NpdaZY@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-246488-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-246488-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=3D246488 --- Comment #5 from Fernando Apestegu=C3=ADa <fernape@FreeBSD.org> --- Removing the CPPFLAGS and still having USE_GCC=3D 9+ builds but segfaults w= ith identical backtrace: Program received signal SIGSEGV, Segmentation fault. 0x0000000802efba18 in vtable for __cxxabiv1::__si_class_type_info () from /lib/libcxxrt.so.1 (gdb) bt #0 =C2=A00x0000000802efba18 in vtable for __cxxabiv1::__si_class_type_info = () from /lib/libcxxrt.so.1 #1 =C2=A00x000000080234f3e6 in __dynamic_cast () from /usr/local/lib/gcc9/libstdc++.so.6 #2 =C2=A00x00000008023d1e8e in bool std::has_facet<std::ctype<char> >(std::= locale const&) () from /usr/local/lib/gcc9/libstdc++.so.6 #3 =C2=A00x00000008023c3bd4 in std::basic_ios<char, std::char_traits<char> >::_M_cache_locale(std::locale const&) () from /usr/local/lib/gcc9/libstdc++.so.6 #4 =C2=A00x00000008023c4070 in std::basic_ios<char, std::char_traits<char> >::init(std::basic_streambuf<char, std::char_traits<char> >*) () =C2=A0 =C2=A0from /usr/local/lib/gcc9/libstdc++.so.6 #5 =C2=A00x0000000802363463 in std::ios_base::Init::Init() () from /usr/local/lib/gcc9/libstdc++.so.6 #6 =C2=A00x000000000049f60d in ?? () #7 =C2=A00x000000080194846e in ?? () from /libexec/ld-elf.so.1 #8 =C2=A00x00007fffffffc818 in ?? () #9 =C2=A00x0000000801975800 in ?? () #10 0x0000000000000000 in ?? () The executable is linked against both libstdc++ and libc++ fernape@beastie:~/FreeBSD-repos/ports/head/cad/openvsp$ ldd /usr/local/bin/= vsp | grep '\+\+' =C2=A0 =C2=A0 =C2=A0 =C2=A0 libstdc++.so.6 =3D> /usr/local/lib/gcc9/libstdc= ++.so.6 (0x8022ab000) =C2=A0 =C2=A0 =C2=A0 =C2=A0 libc++.so.1 =3D> /usr/lib/libc++.so.1 (0x802e0f= 000) --=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-246488-29464-t848NpdaZY>