Jonathan Wakely
Jonathan Wakely
> Is it as simple as generating a header of symvers for libstdc++ versions? No, that won't work. In libstdc++ there is only one version of a given symbol, so...
It creates bigger executables, and not all features of the new GCC are available when using that linkage model, and not everybody needs to be compatible with old, frozen ABIs.
Old glibc versions don't have new features. If you want to call a new function like `pthread_cond_clockwait` then you have to link to the new glibc that provides the definition...
I'll see if I can test it on powerpc64.
on POWER8 running CentOS 7.9: ``` $ test/fib ; test/trap ; test/break ; test/break-c++ Trace/breakpoint trap (core dumped) Trace/breakpoint trap (core dumped) Trace/breakpoint trap (core dumped) Trace/breakpoint trap (core dumped)...
`__noinline__` is not a macro in libstdc++, it's an attribute name i.e. effectively a keyword. It's used as `__attribute__((__noinline__))` which has been valid in GCC for many many years. GCC...
Oh cool, I had no idea this was already doable! I'll send a PR now. Thanks.
#185 fixes this
#185 would still fix it.
Probably fixed by #185