public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* GCC10 in sysroot: libstdc++ symbols
@ 2021-03-11 17:29 Oleg Smolsky
  2021-03-11 18:01 ` Florian Weimer
  2021-03-11 19:23 ` Jonathan Wakely
  0 siblings, 2 replies; 5+ messages in thread
From: Oleg Smolsky @ 2021-03-11 17:29 UTC (permalink / raw)
  To: gcc-help

Hello! I'm testing a Linux/Linux GCC10 cross-compiler (configured with a 
sysroot + glibc 2.33) and hitting a linking issue. One of the OSS 
packages I had built before with a simple bootstrapped GCC10 is looking 
for this symbol:

     undefined symbol: _ZSt15__once_callable, version GLIBCXX_3.4.11

This symbol does not exist in the new libstdc++, and yet I see it in the 
old one:

$ nm /opt/gcc-10/lib64/libstdc++.so.6 | grep callable
0000000000000018 B _ZSt15__once_callable

Clearly the new build is not quite the same as the old one... but which 
one is correct for Linux/x86-64? And what controls this variance? It 
looks like glibc does not have a flag to control TLS any more...

I would appreciate any hints!

Thanks in advance,
Oleg.


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

end of thread, other threads:[~2021-03-12 20:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-11 17:29 GCC10 in sysroot: libstdc++ symbols Oleg Smolsky
2021-03-11 18:01 ` Florian Weimer
2021-03-11 20:12   ` [EXTERNAL] " Oleg Smolsky
2021-03-12 20:39     ` Oleg Smolsky
2021-03-11 19:23 ` Jonathan Wakely

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