[PATCH] elf/tests: Make thrlock and noload depend on libm

Siddhesh Poyarekar siddhesh@sourceware.org
Wed Jul 7 17:22:00 GMT 2021


On 7/7/21 10:36 PM, Florian Weimer via Libc-alpha wrote:
> * Siddhesh Poyarekar via Libc-alpha:
> 
>> Both tests try to dlopen libm.so at runtime, so make them depend on it
>> to avoid running before libm.so is built.
> 
> Can that really happen in the current build system?

I don't the exact sequence of events, but I did run into this a few 
minutes ago, which is how I realized there was a missing dependency. 
The tests failed with "file too short", which was probably them racing 
with the static linker linking libm.so.

Siddhesh


More information about the Libc-alpha mailing list