[PATCH] Makerules: run test-container helper through the built loader

Adhemerval Zanella Netto adhemerval.zanella@linaro.org
Thu Jul 2 12:12:42 GMT 2026



On 02/07/26 03:39, Florian Weimer wrote:
> * Adhemerval Zanella:
> 
>> The tests-container rule launches support/test-container, which is always
>> dynamically linked, through $(test-via-rtld-prefix).  That prefix is empty
>> for tests listed in tests-static/xtests-static, so for a static container
>> test the helper ran under the system loader/libc instead of the newly
>> built one.
> 
> Why not use $(rtld-prefix) directly?  I think we already do this in
> other places.
This what this patch doe, but only when $(build-hardcoded-path-in-tests) is not
defined (since in this case we already have the DT_RPATH set for test-container).
Or did you mean something else?


More information about the Libc-alpha mailing list