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

Florian Weimer fweimer@redhat.com
Thu Jul 2 12:29:10 GMT 2026


* Adhemerval Zanella Netto:

> 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).

Okay, make sense.  Let me see if I can do a re-review under this
premise.

Thanks,
Florian



More information about the Libc-alpha mailing list