[Issue 19510] New: [2.084 REG] random and spurious error about a missing NOLOGO.d file

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Dec 23 18:25:07 UTC 2018


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 at puremagic.com
          Reporter: b2.temp at 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

--


More information about the Digitalmars-d-bugs mailing list