public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug dynamic-link/17353] New: ldd no longer works with non-executable .so files
@ 2014-09-05 22:40 brooks at gcc dot gnu.org
  2014-09-10 12:26 ` [Bug dynamic-link/17353] " fweimer at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: brooks at gcc dot gnu.org @ 2014-09-05 22:40 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17353

            Bug ID: 17353
           Summary: ldd no longer works with non-executable .so files
           Product: glibc
           Version: 2.18
            Status: NEW
          Severity: normal
          Priority: P2
         Component: dynamic-link
          Assignee: unassigned at sourceware dot org
          Reporter: brooks at gcc dot gnu.org

I am not sure if this is a glibc regression from 2.15 to 2.18, or a glibc vs.
eglibc difference, since my two points of comparison are system tools on Ubuntu
12.04 and 14.04.  With that said, consider this .so file that doesn't have the
executable bit set:

$ ls python2.7/lib-dynload/pyexpat.so -l
-rw-r--r-- 1 root root 286314 Jul 11 12:12 python2.7/lib-dynload/pyexpat.so

$ ${eglibc215}/bin/ldd python2.7/lib-dynload/pyexpat.so
        linux-vdso.so.1 =>  (0x00007fff1e3b7000)
[and so on]

$ ${glibc218}/bin/ldd python2.7/lib-dynload/pyexpat.so
ldd: warning: you do not have execution permission for
`python2.7/lib-dynload/pyexpat.so'
ldd: line 117: python2.7/lib-dynload/pyexpat.so: Permission denied

The warning seems reasonable, but failing to track down the linkages for the
library because of the missing executable bit seems like an unnecessary error,
since (a) it used to work, and (b) the library is otherwise entirely functional
without the execute bit set.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-09-11  7:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-05 22:40 [Bug dynamic-link/17353] New: ldd no longer works with non-executable .so files brooks at gcc dot gnu.org
2014-09-10 12:26 ` [Bug dynamic-link/17353] " fweimer at redhat dot com
2014-09-11  0:09 ` brooks at gcc dot gnu.org
2014-09-11  0:10 ` brooks at gcc dot gnu.org
2014-09-11  7:26 ` brooks at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).