[PATCH v2] elf: Add -z lazy to some more tests

Arsen Arsenović arsen@gentoo.org
Tue Mar 7 09:23:54 GMT 2023


Florian Weimer <fweimer@redhat.com> writes:

> * Arsen Arsenović:
>
>> @@ -1612,6 +1631,7 @@ $(objpfx)multiload.out: $(objpfx)testobj1.so
>>  LDFLAGS-origtest = -rdynamic
>>  $(objpfx)origtest.out: $(objpfx)testobj1.so
>>  
>> +$(objpfx)resolvfail.out: $(objpfx)testobj1.so
>>  ifeq ($(have-thread-library),yes)
>>  $(objpfx)resolvfail: $(shared-thread-library)
>>  endif
>
> Thsis seems unrelated?  I can see why it's needed, but please mention it
> in the commit message at least?

Ah, right.  I forgot about that entirely.

That test uses the testobj6, but doesn't depend on it.  If running the
elf/resolvfail test before make check, it's possible to see:

  FAIL: elf/resolvfail
  original exit status 1
  cannot load testobj1.so: testobj1.so: cannot open shared object file: No such file or directory

... which is fixed by just adding the dependency.  Will split into a new
commit and re-send.
-- 
Arsen Arsenović
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 381 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20230307/37d3066d/attachment.sig>


More information about the Libc-alpha mailing list