[Bug 236344] [toolchain] gcc-built shared library crashes in static object constructors when dynamically loaded

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat May 16 12:51:12 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236344

Dimitry Andric <dim at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dim at FreeBSD.org

--- Comment #6 from Dimitry Andric <dim at FreeBSD.org> ---
I think that what Konstantin means with a minimal test case, is not a huge CAD
port, but one or two .cpp files which can be independently compiled, to show
the issue. That said, this seems like an issue with shared libraries
initializing libstdc++'s iostream constructors twice. I guess the vtable
pointer shows in the description and comment table is NULL? Did any of the
original submitters check that?

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


More information about the freebsd-toolchain mailing list