DMD 2.063 produces broken binaries

Gary Willoughby dev at kalekold.net
Tue Jun 4 15:47:46 PDT 2013


On Tuesday, 4 June 2013 at 18:03:53 UTC, Jerry wrote:
> Hi folks,
>
> I've downloaded the current dmd 2.063 zip and tried it out.  
> This is
> Ubuntu 12.10 x86_64.  Every program I compile segfaults when I 
> try to
> run it.  As a simple example:
>
> jlquinn at wyvern:~/re/test$ cat junk.d
> import std.stdio;
> void main() {
>   writeln("Hi");
> }
> jlquinn at wyvern:~/re/test$ /home/jlquinn/dmd2/linux/bin64/dmd 
> junk.d
> jlquinn at wyvern:~/re/test$ ./junk
> Segmentation fault (core dumped)
>
> The gdb backtrace is somewhere in __libc_start_main, before 
> main() is
> run.
>
> I assume I'm not in the majority, but I literally can't compile 
> and run
> anything.
>
> Any help would be appreciated
> Thanks
> Jerry

Try compiling with the -v -w flags for more verbose output. It 
may be an installation problem.


More information about the Digitalmars-d mailing list