rdmd main.d leads to Segmentation fault
    Timoses 
    timosesu at gmail.com
       
    Sun Jan 28 21:41:39 UTC 2018
    
    
  
On Saturday, 27 January 2018 at 01:23:44 UTC, Fra Mecca wrote:
> On Friday, 26 January 2018 at 22:40:29 UTC, Timoses wrote:
>> Hey,
>>
>> simple hello world crashes with segfault:
>>
>> [...]
>
> Where did you get the D toolchain?
Got it from here:
http://d-apt.sourceforge.net/
with
$ apt-get install dmd-compiler
> Does the same segmentation fault happen with dmd or gdc or ldc? 
> (dmd should be the more probable)
dmd: generated executable also leads to segfault
gdc: works...
ldc: didn't try
$ gdc --version
gdc (Debian 6.3.0-18) 6.3.0 20170516
>
> Can you compile a dub project?
No, leads to executable causing a segfault as well
So, it does compile, but compiled executable with dmd seems to 
cause segfault.
    
    
More information about the Digitalmars-d-learn
mailing list