2436 – Unexpected OPTLINK termination EIP = 00425303 with /co

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 2436 - Unexpected OPTLINK termination EIP = 00425303 with /co
Summary: Unexpected OPTLINK termination EIP = 00425303 with /co
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: tools (show other issues)
Version: D2
Hardware: x86 Windows
: P2 normal
Assignee: Walter Bright
URL:
Keywords: link-failure, Optlink
: 4808 (view as issue list)
Depends on:
Blocks:
Reported: 2008年10月31日 09:11 UTC by Max Samukha
Modified: 2017年01月10日 01:38 UTC (History)
4 users (show)

See Also:


Attachments
offending obj (322.37 KB, application/octet-stream)
2008年10月31日 09:13 UTC, Max Samukha
Details
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
Description Max Samukha 2008年10月31日 09:11:04 UTC
optlink fails to link an object file compiled with dmd 2.020 with -g or -gc switch.
CL: link test,,,user32+kernel32/co/noi;
Comment 1 Max Samukha 2008年10月31日 09:13:29 UTC
Created attachment 277 [details] 
offending obj
Comment 2 Max Samukha 2008年11月13日 00:55:10 UTC
Probably a duplicate of #1439 or/and #424. I suggest voting for #424 as it already has a couple of votes :)
Comment 3 Walter Bright 2009年02月16日 19:35:47 UTC
I tried linking this obj file, and it linked without complaint, and runs printing "Test".
I suspect the problem may be with multithreading on a multicore system. My system is single core. If you're running multicore, is there a way to use only one core and try it that way?
Comment 4 Max Samukha 2009年02月17日 02:45:51 UTC
It fails on a single core. Are you sure you specified /co for the linker? It fails only with the CodeView stuff turned on. Please try to link it like this: dmd test.obj -g
Comment 5 Don 2010年05月12日 12:36:28 UTC
This is not the same as bug 1439 or bug 424, which have both been fixed.
I can reproduce it by:
> link test.obj /co
(of course it doesn't link, since the runtime library is the wrong version;
but it still crashes).
Comment 6 Walter Bright 2010年09月01日 18:14:17 UTC
I can duplicate the problem, and I know where in optlink it is failing, but I don't know why.
Comment 7 Max Samukha 2010年09月02日 01:54:57 UTC
This test case was created in the days when I was overly enthusiastic about templates, ctfe and stuff. Now I don't have any code that triggers this error. Lowering the severity to normal as nobody else seems to have suffered from this particular bug.
Comment 8 Walter Bright 2011年02月21日 21:01:46 UTC
Fixed Optlink 8.00.9
http://ftp.digitalmars.com/link.8.00.9.zip 
Comment 9 Walter Bright 2011年02月22日 02:18:15 UTC
*** Issue 4808 has been marked as a duplicate of this issue. ***
Comment 10 changlon 2011年02月28日 00:58:50 UTC
http://gool.googlecode.com/files/optlink80011_bug.rar
8.00.11 crash .
Comment 11 Brad Roberts 2011年02月28日 01:06:20 UTC
Please open a new bug unless you have a particularly good reason to believe the crash you're seeing is directly tied to the same cause as this bug. Given that this bug is closed, it's almost a certainty that your issue will be overlooked / lost.
Comment 12 Walter Bright 2011年02月28日 13:26:04 UTC
(In reply to comment #10)
> http://gool.googlecode.com/files/optlink80011_bug.rar
> 8.00.11 crash .
Resubmitted as bugzilla 5670


AltStyle によって変換されたページ (->オリジナル) /