Web lists-archives.com

Re: [Breakage] 2.22.0-rc1 - t0211-trace2-perf.sh

On Tue, May 21, 2019 at 6:51 PM Ævar Arnfjörð Bjarmason
<avarab@xxxxxxxxx> wrote:
> But the real bug looks like the trace2 code unconditionally depending on
> pthreads, even though NonStop has 'NO_PTHREADS = UnfortunatelyYes'
> defined.
> That's why we get this th%d:unknown stuff, the trace2/tr2_tls.c code
> using pthreads is failing with whatever pthread-bizarro NonStop has.
> That seems easy enough to "fix", just always fake up "main" if we don't
> have pthreads, but perhaps Jeff H. has another opinion on it...

That's not NonStop. thread-utils.h (re)defines pthread_getspecific()
to return NULL when NO_PTHREADS, which triggers this I think.