This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/516] New: dlopen() error message could be improved when loading different elf class


When a ppc application calls dlopen() on a ppc64 DL or vice versa the subsequent
call to dlerror() gives
"cannot open shared object file: No such file or directory"

In a similar situation on a Solaris machine the error is one of
"wrong ELF class: ELFCLASS32"
"wrong ELF class: ELFCLASS64"

Can the glibc dlopen()/dlerror() be changes to give an more helpful message?

-- 
           Summary: dlopen() error message could be improved when loading
                    different elf class
           Product: glibc
           Version: 2.3.3
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: dgm69 at us dot ibm dot com
                CC: glibc-bugs at sources dot redhat dot com
  GCC host triplet: powerpc-linux


http://sources.redhat.com/bugzilla/show_bug.cgi?id=516

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]