master now at 2.070, merge-2.071 branch created
Joakim via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Sun May 1 14:54:46 PDT 2016
On Sunday, 1 May 2016 at 08:01:42 UTC, Rainer Schuetze wrote:
>
>
> On 30.04.2016 20:14, Rainer Schuetze wrote:
>>
>>
>> On 30.04.2016 19:52, Joakim wrote:
>>> On Saturday, 30 April 2016 at 16:06:13 UTC, Rainer Schuetze
>>> wrote:
>>>>
>>>>
>>>> On 30.04.2016 17:48, Joakim wrote:
>>>>> [...]
>>>>
>>>> Yes, these are the same failures. I have only investigated
>>>> std.datetime a bit, though.
>>>
>>> Alright, I'm not going nuts: if I swap in the
>>> libdruntime-ldc.a from the
>>> beta1 release, all three modules pass. Now to find out why
>>> the official
>>> beta1 druntime is different from the one I'm compiling,
>>> despite using
>>> the same source...
>>
>> I just noticed that the std.datetime problem disappears when
>> disabling
>> the garbage collection. My guess is that TLS is not scanned
>> correctly.
>>
>
> I think I have figured this out: TLS of the main thread is
> scanned misaligned if the size of TLS is not a multiple of the
> pointer size:
> https://github.com/ldc-developers/druntime/commit/740c1bb86b36725cf2d671a7ac8f77de692899be
Yeah, that fixes the phobos tests for me, guess it should be
uncommented in getTLSRange below, still two unrelated failures in
the dmd test suite. I don't know how using druntime from the
beta1 binary release didn't show this issue though.
More information about the digitalmars-d-ldc
mailing list