public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/94987] New: Missing vtable for std::__future_base::_State_base on libstdc++.a
@ 2020-05-07 17:06 kndevl at outlook dot com
  2020-05-07 17:08 ` [Bug libstdc++/94987] " kndevl at outlook dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: kndevl at outlook dot com @ 2020-05-07 17:06 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94987

            Bug ID: 94987
           Summary: Missing vtable for std::__future_base::_State_base on
                    libstdc++.a
           Product: gcc
           Version: 9.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kndevl at outlook dot com
  Target Milestone: ---

# Ubuntu 18.04 has gcc 5.5.0

$ nm -C `g++ --print-file-name libstdc++.a` | grep 'vtable for
std::__future_base::_State_base'

< empty output >

------------------------------------------------------------
$ nm -CD `g++ --print-file-name libstdc++.so` | grep 'vtable for
std::__future_base::_State_base'

00000000003d3e58 V vtable for std::__future_base::_State_base
------------------------------------------------------------

# Ubuntu 14.04 has gcc 4.8.4

$ nm -C `g++ --print-file-name libstdc++.a` | grep 'vtable for
std::__future_base::_State_base'

nm: compatibility-debug_list-2.o: no symbols
0000000000000000 V vtable for std::__future_base::_State_base

------------------------------------------------------------

$ nm -CD `g++ --print-file-name libstdc++.so` | grep 'vtable for
std::__future_base::_State_base'

00000000002eb880 V vtable for std::__future_base::_State_base

------------------------------------------------------------

I built a static library on 4.8.4 and tried using it on 5.5.0 with static
libstdc++. This library depends on the missing symbol and does not compile on
newer libstdc++.a. I tried this on gcc 9.3.0 too and the libstdc++.a does not
have this symbol. Dynamic linking with libstdc++.so works fine.

I keep track of breaking ABI changes from
https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html and I could not find
anything related to this. Is this a breaking change? If so, where do I keep
myself updated on these?

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-05-08 10:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-07 17:06 [Bug libstdc++/94987] New: Missing vtable for std::__future_base::_State_base on libstdc++.a kndevl at outlook dot com
2020-05-07 17:08 ` [Bug libstdc++/94987] " kndevl at outlook dot com
2020-05-07 20:03 ` redi at gcc dot gnu.org
2020-05-08  7:17 ` kndevl at outlook dot com
2020-05-08 10:56 ` redi at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).