[PATCH 09/11] elf: Add glibc-hwcaps subdirectory support to ld.so cache processing

Florian Weimer fweimer@redhat.com
Wed Dec 2 12:16:05 GMT 2020


* Adhemerval Zanella via Libc-alpha:

>> +  /* Remove the second override again, without running ldconfig.
>> +     Ideally, this would revert to implementation 2.  However, in the
>> +     current implementation, the cache returns exactly one file name
>> +     which does not exist after unlinking, so the dlopen fails.  */
>> +  xunlink ("/glibc-test/lib/glibc-hwcaps/prepend3/" SONAME);
>> +  TEST_VERIFY (dlopen (SONAME, RTLD_NOW) == NULL);
>> +  run_ldconfig ();
>> +  system("/sbin/ldconfig -p");
>
> I think this might a leftover of debugging.

Thanks, I've removed the ldconfig -p invocation.

Florian
-- 
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill



More information about the Libc-alpha mailing list