This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/69079] New: shared library does not load for variable initializations with important code
- From: "ddsherstennikov at ya dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 29 Dec 2015 14:31:51 +0000
- Subject: [Bug c++/69079] New: shared library does not load for variable initializations with important code
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69079
Bug ID: 69079
Summary: shared library does not load for variable
initializations with important code
Product: gcc
Version: 5.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ddsherstennikov at ya dot ru
Target Milestone: ---
WTR:
https://github.com/ddsherstennikov/training/tree/master/Test/C%2B%2B/gcc_5.3_static_template_init_bug
gcc 5.3, cmake
In main.cpp compare with and without load_lib*() lines.
Description:
Lib loading behavior changed between 5.1 and 5.3. Have to force load so/dlls
via dummy method calls now. Not transparent and not expected behavior. Hope for
an insight and/or a fix.
Similar:
issue BUG_ID 4342.