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

             Bug #: 14258
           Summary: dlltool syntax error
           Product: binutils
           Version: 2.23 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassig...@sourceware.org
        ReportedBy: vanboxem.ru...@gmail.com
    Classification: Unclassified


Created attachment 6451
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6451
def file that produces a syntax error

The attached file produces a dlltool syntax error:
$ dlltool -l libusbx.a -v --def libusb-1.0.def
dlltool: Processing def file: libusb-1.0.def
dlltool: Syntax error in def file libusb-1.0.def:0
dlltool: Processed def file
dlltool: Processing definitions
dlltool: Processed definitions
dlltool: Creating library file: libusbx.a
dlltool: run: as   -o dmuhh.o dmuhh.s
dlltool: run: as   -o dmuht.o dmuht.s
dlltool: Created lib file

The resulting lib file is missing exports and therefore leads to undefined
references when using it.

This is with dlltool 2.22.52.20120429

Other versions of dlltool:
2.21.53-20110731
2.22 (release)

do not have this behavior and work fine.

-- 
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