the loader tries to access ld.so.nohwcap before loading any library
Bug #56849 reported by
Kyle Smith
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glibc (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: libc6
Any time a library is loaded the loader tries to access /etc/ld.so.nohwcap before opening the library. Shouldn't this result be cached instead of doing it potentially hundreds of times? Or is this a side effect of using strace?
Steps to reproduce: strace any executable and the log should have plenty of entries lke this (assuming ld.so.nohwcap exists, otherwise it returns ENOENT):
access(
open("/
...
Changed in glibc: | |
importance: | Untriaged → Wishlist |
Changed in glibc (Ubuntu): | |
status: | Invalid → Confirmed |
To post a comment you must log in.
>> Or is this a side effect of using strace?
Nope, it's documented at the bottom of the ld.so manpage.
I just came across this after stracing a program I wrote and wondering where all these calls were coming from. I feel like excising that code from ld.so actually ;p