[dmd-internals] [D-Programming-Language/dmd] 679275: fix Issue 14828 - duplicate symbol __ModuleInfoZ
GitHub via dmd-internals
dmd-internals at puremagic.com
Tue Aug 4 13:33:36 PDT 2015
Branch: refs/heads/stable
Home: https://github.com/D-Programming-Language/dmd
Commit: 679275df8615740fcc1b1f8efb064ef0174e9d6d
https://github.com/D-Programming-Language/dmd/commit/679275df8615740fcc1b1f8efb064ef0174e9d6d
Author: Martin Nowak <code at dawg.eu>
Date: 2015-08-04 (Tue, 04 Aug 2015)
Changed paths:
M src/backend.d
M src/glue.c
M src/gluestub.c
M src/mars.c
M src/template.c
A test/runnable/extra-files/lib846.d
A test/runnable/extra-files/main846.d
M test/runnable/ice10857.d
R test/runnable/imports/link846a.d
R test/runnable/link846.d
A test/runnable/link846.sh
Log Message:
-----------
fix Issue 14828 - duplicate symbol __ModuleInfoZ
- always emit __arrayZ/__assertZ/__unittest_failZ helpers (even in release)
to avoid linkage issues when instantiating a template of that module
with different compiler flags
- also fixes Issue 14748 - Removing std.stdio import causes 2x increase in "Hello, world"
same underlying issue, some undefined helper function drag in a different
module which happens to have weak definitions of those helpers
Commit: 2e15e16658a0416003e9fcf9ed7dfcd45e0da844
https://github.com/D-Programming-Language/dmd/commit/2e15e16658a0416003e9fcf9ed7dfcd45e0da844
Author: Walter Bright <walter at walterbright.com>
Date: 2015-08-04 (Tue, 04 Aug 2015)
Changed paths:
M src/backend.d
M src/glue.c
M src/gluestub.c
M src/mars.c
M src/template.c
A test/runnable/extra-files/lib846.d
A test/runnable/extra-files/main846.d
M test/runnable/ice10857.d
R test/runnable/imports/link846a.d
R test/runnable/link846.d
A test/runnable/link846.sh
Log Message:
-----------
Merge pull request #4858 from MartinNowak/fix14828
fix Issue 14828 - duplicate symbol __ModuleInfoZ
Compare: https://github.com/D-Programming-Language/dmd/compare/6be38b76e5ce...2e15e16658a0
More information about the dmd-internals
mailing list