Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cmake hang solution?



Am Sun, May 01, 2022 at 01:24:01PM -0700 schrieb Chuck Silvers:
> the above patch simply resolves the symbol for the libpthread call to _lwp_park
> while the process is still single-threaded, by calling the _lwp_park to both
> unpark and park itself, which just returns immediately.  after that,
> the libpthread calls to _lwp_park will no longer call into rtld,
> so attempts to unpark libpthread can no longer be lost.

An easier fix might be to just use -z now with a comment about ensuring
that the system calls are not resolved lazily due to the overlap with
rtld.

Joerg


Home | Main Index | Thread Index | Old Index