Thread overview
[Issue 15149] [REG2.068.1] Linker error with separate compilation
[Issue 15149] [2.068.2 regression] Linker error with separate compilation
Oct 04, 2015
Walter Bright
Oct 06, 2015
Kenji Hara
Oct 06, 2015
Kenji Hara
Oct 07, 2015
Kenji Hara
October 04, 2015
https://issues.dlang.org/show_bug.cgi?id=15149

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com

--- Comment #1 from Walter Bright <bugzilla@digitalmars.com> ---
If you compile with -allinst dmd switch, does it work?

--
October 04, 2015
https://issues.dlang.org/show_bug.cgi?id=15149

--- Comment #2 from yazan.dabain@gmail.com ---
It does compile with -allinst as a workaround.

This is a reduction of a project with multiple dependencies built using dub. My current workaround is using `dub --combined` to disable separate compilation.

It is not blocking me but it is a regression.

--
October 06, 2015
https://issues.dlang.org/show_bug.cgi?id=15149

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |link-failure
            Summary|[2.068.2 regression] Linker |[REG2.068.1] Linker error
                   |error with separate         |with separate compilation
                   |compilation                 |
                 OS|Linux                       |All

--- Comment #3 from Kenji Hara <k.hara.pg@gmail.com> ---
Happens from 2.068.1.

The link-failure reproduces with -g switch in win32.

--
October 06, 2015
https://issues.dlang.org/show_bug.cgi?id=15149

--- Comment #4 from Kenji Hara <k.hara.pg@gmail.com> ---
Created attachment 1554
  --> https://issues.dlang.org/attachment.cgi?id=1554&action=edit
Dustmited test case.

--
October 07, 2015
https://issues.dlang.org/show_bug.cgi?id=15149

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #5 from Kenji Hara <k.hara.pg@gmail.com> ---
https://github.com/D-Programming-Language/dmd/pull/5166

--
October 07, 2015
https://issues.dlang.org/show_bug.cgi?id=15149

--- Comment #6 from github-bugzilla@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/1f59030b3af81efe67139ecb0c7d3f6e2312d5a7 fix Issue 15149 - Linker error with separate compilation

https://github.com/D-Programming-Language/dmd/commit/95d076460c87a252edbbcc8d995061391738bd51 Merge pull request #5166 from 9rnsr/fix15149

[REG2.068.1] Issue 15149 - Linker error with separate compilation

--
October 07, 2015
https://issues.dlang.org/show_bug.cgi?id=15149

github-bugzilla@puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--
October 14, 2015
https://issues.dlang.org/show_bug.cgi?id=15149

--- Comment #7 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/1f59030b3af81efe67139ecb0c7d3f6e2312d5a7 fix Issue 15149 - Linker error with separate compilation

https://github.com/D-Programming-Language/dmd/commit/95d076460c87a252edbbcc8d995061391738bd51 Merge pull request #5166 from 9rnsr/fix15149

--