On Thu, 06 Nov 2008 11:42:01 +0100, Don <[EMAIL PROTECTED]> wrote: >[EMAIL PROTECTED] wrote: >> http://d.puremagic.com/issues/show_bug.cgi?id=2436 >> >> Summary: Unexpected OPTLINK termination >> Product: D >> Version: 2.020 >> Platform: PC >> OS/Version: Windows >> Status: NEW >> Keywords: link-failure >> Severity: normal >> Priority: P2 >> Component: DMD >> AssignedTo: [EMAIL PROTECTED] >> ReportedBy: [EMAIL PROTECTED] >> >> >> optlink fails to link an object file compiled with dmd 2.020 with -g or -gc >> switch. >> >> CL: link test,,,user32+kernel32/co/noi; >> >> > >I don't think that's an OPTLINK bug -- that obj file seems to be >defective.
Then I think it's both dmd and optlink bug. The former is buggy because it produces invalid object file. The latter cannot gracefully recover from invalid input, so it's buggy as well. >And it's a really complicated obj file! Provide the source >code for the smallest case which reproduces the problem. > Changing/removing seemingly arbitrary stuff makes the error disappear. I don't have a smaller example yet. >Is it the same as #1439?
