Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 May 2020 15:49:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 236344] [toolchain] gcc-built shared library crashes in static object constructors when dynamically loaded
Message-ID:  <bug-236344-29464-YhBbFnbxsX@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236344-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-236344-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=3D236344

Fernando Apestegu=C3=ADa <fernape@FreeBSD.org> changed:

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

--- Comment #1 from Fernando Apestegu=C3=ADa <fernape@FreeBSD.org> ---
Any updates on this?

cad/openvsp doesn't build with clang anymore due to bug #230888.

It builds with gcc but it then segfaults with similar 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=A00x0000000801a273e6 in __dynamic_cast () from
/usr/local/lib/gcc9/libstdc++.so.6
#2 =C2=A00x0000000801aa9e8e in bool std::has_facet<std::ctype<char> >(std::=
locale
const&) () from /usr/local/lib/gcc9/libstdc++.so.6
#3 =C2=A00x0000000801a9bbd4 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=A00x0000000801a9c070 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=A00x0000000801a3b463 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=A00x00007fffffffc828 in ?? ()
#9 =C2=A00x0000000801975800 in ?? ()
#10 0x0000000000000000 in ?? ()

--=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-236344-29464-YhBbFnbxsX>