bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/12633] New: Crash with dlltool geneated import *.libs in M


From: ceztko at gmail dot com
Subject: [Bug binutils/12633] New: Crash with dlltool geneated import *.libs in MSVC++ Release target (Debug OK)
Date: Sat, 2 Apr 2011 16:45:22 +0000

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

           Summary: Crash with dlltool geneated import *.libs in MSVC++
                    Release target (Debug OK)
           Product: binutils
           Version: 2.20
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: address@hidden
        ReportedBy: address@hidden


I having a crash with import *.libs generated by dlltool and used in
MSVC++ 2008 SP1, 32 bit compilation, Release target. The crash is a
page fault that triggers during DLL_PROCESS_ATTACH. I can reproduce
always and other users[1] have noticed the problem.

I have prepared a simple MSVC 2008 project[2] that manifests the
problem with libav* (ffmpeg) libs generated with dlltool (don't care
wrong references to libtool). It uses MSVC *default* settings for Release
target. To reproduce:

1) Decompress;
2) Goto src directory, open the solution;
3) Select Release, compile, run --> crash;
4) Select Debug, compile, run --> OK.

Version here is GNU dlltool (GNU Binutils) 2.20.51.20100410

Follows the command used for *.libs generation:

SLIB_EXTRA_CMD=-'$(DLLTOOL) -m $(LIBTARGET) -d $$(@:$(SLIBSUF)=.def)
-l $(SUBDIR)$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib) -D
$(SLIBNAME_WITH_MAJOR)'

Please, ask me if you need more info. Sorry if this has been reported earlier.

[1]
http://ffmpeg.arrozcru.org/forum/viewtopic.php?f=15&t=1711&st=0&sk=t&sd=a&start=15#p5998
[2] http://robotics.dei.unipd.it/~fpretto/test-libtool-libs.zip

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