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: unassig...@sourceware.org
        ReportedBy: patspi...@gmail.com
    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.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to