digitalmars.D.bugs - [Issue 21326] New: Every single executable built with dmd crashes
- d-bugmail puremagic.com (47/47) Oct 18 2020 https://issues.dlang.org/show_bug.cgi?id=21326
https://issues.dlang.org/show_bug.cgi?id=21326 Issue ID: 21326 Summary: Every single executable built with dmd crashes with a segfault Product: D Version: D2 Hardware: x86 OS: Linux Status: NEW Severity: major Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: agilbrt gmail.com Building and executing even the simplest executable with dmd crashes with a segfault. Steps to reproduce sh> echo "void main() {}" > dud.d sh> dmd dud.d sh> ./dud zsh: segmentation fault (core dumped) ./dud (Note: the core file is never actually dumped.) This also happens when building with dub. sh> dub init dud Package recipe format (sdl/json) [json]: sdl Name [dud]: Description [A minimal D application.]: Author name [Ant]: License [proprietary]: Copyright string [Copyright © 2020, Ant]: Add dependency (leave empty to skip) []: Successfully created an empty project in '/home/ant/dud'. Package successfully created in dud sh> cd dud sh> dub build sh> ./dud zsh: segmentation fault (core dumped) ./dud % dmd --version DMD32 D Compiler v2.094.0 Copyright (C) 1999-2020 by The D Language Foundation, All Rights Reserved written by Walter Bright % dub --version DUB version 1.23.0, built on Sep 22 2020 % uname -a i686 i686 i686 GNU/Linux --
Oct 18 2020