bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/13962] New: Misleading error message when linking a librar


From: patspiper at gmail dot com
Subject: [Bug binutils/13962] New: Misleading error message when linking a library with an empty library
Date: Sun, 08 Apr 2012 20:50:41 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=13962

             Bug #: 13962
           Summary: Misleading error message when linking a library with
                    an empty library
           Product: binutils
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: address@hidden
        ReportedBy: address@hidden
    Classification: Unclassified


Created attachment 6331
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6331
libshareda.so and sharedb.c files

libshareda.so does not export any symbol. It was compiled with a different
compiler as gcc always exports _init and _fini symbols.

libsharedb is linked against libshareda.so:

gcc -shared -o libsharedb.so sharedb.c libshareda.so

The resulting (misleading) message is:
libshareda.so: could not read symbols: Memory exhausted

libshareda.so and sharedb.c are attached.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]