digitalmars.D.bugs - [Issue 19503] New: lld: Native PDB Error: The entry already exists.
- d-bugmail puremagic.com (43/43) Dec 19 2018 https://issues.dlang.org/show_bug.cgi?id=19503
https://issues.dlang.org/show_bug.cgi?id=19503 Issue ID: 19503 Summary: lld: Native PDB Error: The entry already exists. The specified module already exists Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: andre s-e-a-p.de Created attachment 1720 --> https://issues.dlang.org/attachment.cgi?id=1720&action=edit testcase Execute "dub test --arch x86_64" for attached example. LLD linker will fail with: C:\Users\pc\Desktop\testcase>dub test --arch x86_64 Running custom 'unittest' configuration. Performing "unittest" build using C:\D\dmd2\windows\bin\dmd.exe for x86_64. d-unit 0.9.0: target for configuration "library" is up to date. testcase ~master: building configuration "unittest"... Linking... Native PDB Error: The entry already exists. The specified module already exists Error: linker exited with status 1 C:\D\dmd2\windows\bin\dmd.exe failed with exit code 1. Very often also NOLOGO error is shown: C:\Users\pc\Desktop\testcase>dub test --arch x86_64 Running custom 'unittest' configuration. Performing "unittest" build using C:\D\dmd2\windows\bin\dmd.exe for x86_64. d-unit 0.9.0: target for configuration "library" is up to date. testcase ~master: building configuration "unittest"... Linking... Error: module `NOLOGO` is in file '\NOLOGO.d' which cannot be read import path[0] = C:\D\dmd2\windows\bin\..\..\src\phobos import path[1] = C:\D\dmd2\windows\bin\..\..\src\druntime\import Error: linker exited with status 1 C:\D\dmd2\windows\bin\dmd.exe failed with exit code 1. DMD32 D Compiler v2.084.0-beta.1 --
Dec 19 2018