public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Cannot resolve __cxa_pure_virtual in ports of gcc11/12/13
@ 2023-04-14 12:47 Kalamatee
  2023-04-15  3:58 ` Steve Thompson
  0 siblings, 1 reply; 2+ messages in thread
From: Kalamatee @ 2023-04-14 12:47 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 708 bytes --]

Hi,

As the subject states - With gcc versions upto 10, we had no problem
resolving __cxa_pure_virtual from libsupc++ - but with gcc11 onwards we
cannot seem to resolve it from there? I can add an object file with the
symbol in and it is resolved fine, and the symbol appears to be in
libsupc++?

kalam@EVO64:~/builds/pc-x86_64-gcc13-clean$
bin/linux-x86_64/tools/crosstools/x86_64-aros-nm
bin/linux-x86_64/tools/crosstools/lib/gcc/x86_64-aros/13.0.1/libsupc++.a |
grep "pure_virtual"
                 w __cxa_pure_virtual
0000000000000000 T __cxa_pure_virtual
kalam@EVO64:~/builds/pc-x86_64-gcc13-clean$

Does someone have an idea why this may be/where to look - or how to resolve
it?

Yours,
Nick Andrews.

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

* Re: Cannot resolve __cxa_pure_virtual in ports of gcc11/12/13
  2023-04-14 12:47 Cannot resolve __cxa_pure_virtual in ports of gcc11/12/13 Kalamatee
@ 2023-04-15  3:58 ` Steve Thompson
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Thompson @ 2023-04-15  3:58 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 242 bytes --]

I'm experiencing something similar.  At link-time I'm not getting dladdr
from libdl.so.  The symbol is in libdl.a, but I can't verify libdl.so as it
is striped.  It is at least defined in dlfcn.h.  Compiling with -static
doesn't work either.

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

end of thread, other threads:[~2023-04-15  3:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-14 12:47 Cannot resolve __cxa_pure_virtual in ports of gcc11/12/13 Kalamatee
2023-04-15  3:58 ` Steve Thompson

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).