digitalmars.D.bugs - [Issue 19510] New: [2.084 REG] random and spurious error about a
- d-bugmail puremagic.com (28/32) Dec 23 2018 https://issues.dlang.org/show_bug.cgi?id=19510
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: nobody puremagic.com Reporter: b2.temp 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 errorError: 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 1Test 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 --
Dec 23 2018