https://issues.dlang.org/show_bug.cgi?id=19510
Issue ID: 19510 Summary: [2.084 REG] random and spurious error about a missing NOLOGO.d file Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: regression Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: b2.t...@gmx.com 1. Go to an empty folder 2. Save the following script in test.bat ``` if not exist "bin" mkdir "bin" echo(module a; void main(){}| dmd -wi -O -release -m64 -Jbin - ``` 3. execute the script many times. You'll randomly get the following error > Error: module `NOLOGO` is in file '\NOLOGO.d' which cannot be read > import path[0] = C:\dev\dmd\dmd2\windows\bin\..\..\src\phobos > import path[1] = C:\dev\dmd\dmd2\windows\bin\..\..\src\druntime\import > Error: linker exited with status 1 Test Environment: - Windows 7 64 bit - DMD 2.084 beta.1 - MS build tools are **not** setup Seems to be an UB due to the way the linker command line is build: https://github.com/dlang/dmd/search?q=NOLOGO&unscoped_q=NOLOGO --