This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/69079] New: shared library does not load for variable initializations with important code


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]