DMD 2.063 produces broken binaries
Rob T
alanb at ucora.com
Tue Jun 4 13:31:59 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
Is this a clean install?
I'm using Debian, and had to fully remove the prev version before
installing the newer version otherwise I got linking issues. I
did however use the deb package, not the zip.
There's some discussion in another thread about doing proper deb
packaging, so I think the DMD devs know about these problems, at
least in the general sense.
--rt
More information about the Digitalmars-d
mailing list