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 lto/41552] Undefined references with -flto, dependent on object file ordering



------- Comment #1 from rguenth at gcc dot gnu dot org  2009-10-03 11:26 -------
I obviously reduced into sth with ODR violations.  Fixing them makes the
testcase work ok apart from producing weak symbols for
_ZN6soplex7DVectoraSERKNS_6VectorE where the non-LTO case had no such things.

Note the original sources do not contain ODR violations (at least in the
pieces that are in the reduced testcase).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41552


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