On Fri, 3 Aug 2018, Martin Liška wrote: > I'm attaching current patch, so any comment is welcomed.
Please consider passing -Wl,-z,now when linking the new shared library: gcov has a few thread-local variables that may be accessed in async-signal context, and Glibc has bugs related to lazy binding and/or allocation (not sure which exactly) of TLS symbols. Lazy binding doesn't buy anything for gcov, and that would be a cheap way to avoid a regression. On the other hand, it's not gcov's responsibility to work around long-standing bugs in Glibc, so I don't insist. Alexander