[Issue 18510] New: [Beta 2.079] lld-link.exe fails to open obj file in subpath
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Feb 23 18:42:42 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18510
Issue ID: 18510
Summary: [Beta 2.079] lld-link.exe fails to open obj file in
subpath
Product: D
Version: D2
Hardware: All
OS: Windows
Status: NEW
Severity: major
Priority: P2
Component: installer
Assignee: nobody at puremagic.com
Reporter: code at dawg.eu
CC: r.sagitario at gmx.de
C:\>C:\D\dmd2\windows\bin\dmd.exe -ofdub.exe sub\dub.obj -m32mscoff -v
predefs DigitalMars Windows LittleEndian D_Version2 all D_InlineAsm
D_InlineAs
m_X86 X86 Win32 CRuntime_Microsoft assert D_HardFloat
binary C:\D\dmd2\windows\bin\dmd.exe
version v2.079.0-beta.1
config C:\D\dmd2\windows\bin\sc.ini
DFLAGS -IC:\D\dmd2\windows\bin\..\..\src\phobos
-IC:\D\dmd2\windows\bin\..\..\src\druntime\import
C:\D\dmd2\windows\bin\lld-link.exe /NOLOGO "sub\dub" /OUT:"dub.exe" /OPT:NOICF
C:\D\dmd2\windows\bin\lld-link.exe: error: could not open sub\dub: no such file
or directory
C:\D\dmd2\windows\bin\lld-link.exe: warning: /machine is not specified. x64 is
assumed
error: entry point must be defined
Error: linker exited with status 1
----
Weirdly the .obj suffix is stripped from the command line, might be a leftover
from optlink.
--
More information about the Digitalmars-d-bugs
mailing list