www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 5767] New: Optlink crash

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5767

           Summary: Optlink crash
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optlink
        AssignedTo: nobody puremagic.com
        ReportedBy: andrej.mitrovich gmail.com



15:08:43 PDT ---
Using: OPTLINK (R) for Win32  Release 8.00.11

No test case yet.
If I comment out just one call to writefln(), then the linker won't crash.
Otherwise it crashes with:

---------------------------
Unexpected OPTLINK Termination at EIP=00000000
---------------------------
EAX=00000001 EBX=00000034 ECX=00000000 EDX=0000003C 
ESI=00441BD0 EDI=02540008 EBP=0012FFF0 ESP=0012FF8C 
First=00402000
---------------------------

The project has about 20 files divided into libraries, about 6000 lines. So
here's what I'll do: If I can successfully compile my project with GDC, then I
won't bother even with Optlink. Otherwise I'll do what I can to make a simple
test case.

Have I mentioned how much I hate Optlink?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 22 2011
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5767


changlon <changlon gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |changlon gmail.com



There is a optlink 8.00.12, you may want try it .

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 22 2011
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5767




18:25:01 PDT ---
Nope, same results. On the other hand it looks like I'll be able to use GDC.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 22 2011
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5767


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME



22:18:36 PDT ---
Well I've refactored my packages and it now builds again. It took me a few
hours.. Lesson of the day: Keep it simple stupid? :s

I'm closing this down since I can't reproduce anymore. Until next time,
Optlink.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 22 2011