Ubuntu 12.04 and DMD 2.060
Alex Rønne Petersen
alex at lycus.org
Mon Aug 6 18:39:58 PDT 2012
On 07-08-2012 02:59, Alex Rønne Petersen wrote:
> On 07-08-2012 02:12, Alex Rønne Petersen wrote:
>> Hi,
>>
>> Has anyone managed to get the 2.060 .deb working on Ubuntu 12.04? On all
>> 12.04 systems I have access to, all D programs consistently segmentation
>> fault in gc_init().
>>
>
> Seems to only occur for 64-bit binaries built with DMD. 32-bit ones work
> fine. Also, it seems to work for people who haven't enabled the
> precise-proposed repository.
>
> (And of course, it worked just fine either way in 11.10.)
>
Digging further, it appears that in src/gc/gc.d:gc_init() in druntime,
the ClassInfo object resulting from GC.classinfo contains bogus data (or
something). It seems to fetch the right object, but ci.init.length is 0
and ci.init.ptr is null.
Anyone have any ideas?
--
Alex Rønne Petersen
alex at lycus.org
http://lycus.org
More information about the Digitalmars-d
mailing list