D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 19868 - Segmentation Fault Everytime
Summary: Segmentation Fault Everytime
Status: RESOLVED DUPLICATE of issue 19116
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86 Linux
: P1 blocker
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-13 16:39 UTC by Unlimiter
Modified: 2019-05-21 08:18 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Unlimiter 2019-05-13 16:39:13 UTC
I have installed dmd (dmd_2.086.0-0_i386.deb) from https://dlang.org/download.html.
When I compile any '.d' file with dmd, no matter what it contains (even an empty file with an empty main function), and run the output file, it says "Segmentation fault (core dumped)".

Things work fine with gdc, however I don't like passing every imported file to it. With dmd, I just pass "-i", and it knows what file to link.

What do I do to make dmd produce good binaries.
Comment 1 Suleyman Sahmi (سليمان السهمي) 2019-05-21 08:18:26 UTC

*** This issue has been marked as a duplicate of issue 19116 ***