D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 15833 - [REG2.071b] -m32mscoff always fails to link
Summary: [REG2.071b] -m32mscoff always fails to link
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All Windows
: P1 regression
Assignee: No Owner
URL:
Keywords: link-failure, pull
Depends on:
Blocks:
 
Reported: 2016-03-26 06:18 UTC by jiki
Modified: 2016-03-28 13:02 UTC (History)
1 user (show)

See Also:


Attachments
unresolved symbols (11.72 KB, text/plain)
2016-03-26 06:18 UTC, jiki
Details

Note You need to log in before you can comment on or make changes to this issue.
Description jiki 2016-03-26 06:18:49 UTC
Created attachment 1591 [details]
unresolved symbols

dmd -m32mscoff always fails to link in 2.071b1.
It works in 2.070.
And works with -m32 and -m64, too.
Removing the environment variables take no effects.

I suppose this a regression.
Anyone else ... ?


Command:
dmd -m32mscoff test.d

Code:
void main() { }

This code puts a number of unknown symbols and fails.
(such as EnterCriticalSection, VirtualFree, and so on)
See attached file.

Environment:
Windows7 64-bit
VS2015 Community Ed., co-exists with VS2013 Community Ed.
Comment 1 Rainer Schuetze 2016-03-27 20:51:36 UTC
regression introduced by https://github.com/D-Programming-Language/dmd/commit/3eb05cbdd4324417cd4a575fa6c0c15fb045c5c2
Comment 2 Rainer Schuetze 2016-03-27 21:29:27 UTC
https://github.com/D-Programming-Language/dmd/pull/5586