[Issue 14828] [REG2.067] duplicate symbol __ModuleInfoZ depending on ordering of files passed to dmd

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jul 31 04:43:08 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14828

Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |link-failure, pull
           Hardware|x86                         |All
            Summary|duplicate symbol            |[REG2.067] duplicate symbol
                   |__ModuleInfoZ depending on  |__ModuleInfoZ depending on
                   |ordering of files passed to |ordering of files passed to
                   |dmd                         |dmd
                 OS|Mac OS X                    |All

--- Comment #15 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to Kenji Hara from comment #12)
> The essential fix I think is: when the lib file is compiled, the helper
> functions
> (__array, etc) of non-root modules (e.g. stdio) should be separated their
> own obj file.

Implemented.

https://github.com/D-Programming-Language/dmd/pull/4851

--


More information about the Digitalmars-d-bugs mailing list