[Issue 9044] Random "Previous Definition Different" optlink failure (looks like a buffer overflow bug somewhere)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Dec 24 11:31:31 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=9044



--- Comment #9 from Denis Shelomovskij <verylonglogin.reg at gmail.com> 2012-12-24 22:31:26 MSK ---
(In reply to comment #8)
> Please let's not go off-topic.
> 
> I can't recreate the linker failure with git-head. I get the obj, lib, map and
> exe file with no errors.
> 
> This might also be related to Issue 3094, which doesn't have source test-cases
> but only object file test-cases. In 3094 linking fails with optlink but it
> works with Unilink (minus the missing entry function error which is expected as
> none were provided).
> 
> Denis do you know which DMD commit you were on when testing this?

I confirm that test-case links fine with
04cbe5d8a76186d8327c50eb46a02eb5633d7835 but it is only because this is a
"random" failure. Original code (from my hooking project) still fails to link
with the same error. I don't want to reduce my sources every time dmd changes
so you can use e01eb59f842dfe7a5275d96c420691c4a64f57f4 where provided
test-case triggers the bug or find later one using `git bisect`.

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


More information about the Digitalmars-d-bugs mailing list