[Issue 14828] duplicate symbol __ModuleInfoZ depending on ordering of files passed to dmd
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Jul 30 02:16:53 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14828
--- Comment #7 from Kenji Hara <k.hara.pg at gmail.com> ---
Created attachment 1534
--> https://issues.dlang.org/attachment.cgi?id=1534&action=edit
Win32 reduced case without Phobos dependency
(In reply to Kenji Hara from comment #4)
> Equivalent link failure happens in win32/64.
> But the regression version is not same:
>
> With 2.064, 2.065, 2.066.0, 2.066.1
> --> no problem happens
>
> With 2.067.0, 2.067.1, 2.068.0-beta1, 2.068.0-beta2, git-head
> --> duplicated symbol error happens with 'make all1_order_flipped'
In win32, the attached reduced case fails from 2.067. It was introduced in:
> commit 679929fa2da120db76d91303efd2316370970d1e
> Merge: 430bdba 706aa61
> Author: Andrei Alexandrescu <andrei at erdani.com>
> Date: Wed Jan 28 08:44:07 2015 -0800
>
> Merge pull request #4354 from 9rnsr/fix14044
>
> [REG2.066] Issue 14044 - dmd generates spurious functions in object file created from empty module
However, I don't understand why the change introduced the bug...
Furthermore, I'm not sure that's really same with the original issue, because
it happens from 2.068-beta2 in OSX.
--
More information about the Digitalmars-d-bugs
mailing list