Bug 8290 – DMD git-master segfaults if outputfile exists as directory

Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-06-24T01:15:00Z
Last change time
2017-03-30T14:45:02Z
Assigned to
nobody
Creator
tobias

Comments

Comment #0 by tobias — 2012-06-24T01:15:35Z
mkdir test && dmd test.d will segfault. DMD 2.59 quits with linker error: /usr/bin/ld: cannot open output file test: Is a directory collect2: error: ld returned 1 exit status --- errorlevel 1
Comment #1 by yebblies — 2013-11-26T08:47:17Z
Can anyone reproduce?
Comment #2 by hsteoh — 2014-09-11T19:06:37Z
Don't see the problem here (Linux/x86_64, git HEAD): ------ $ mkdir test $ dmd test.d /usr/bin/ld: cannot open output file test: Is a directory collect2: error: ld returned 1 exit status --- errorlevel 1 $ ------
Comment #3 by mk — 2017-03-30T14:45:02Z
Not reproducible.