Jump to page: 1 2
Thread overview
[D-runtime] druntime commit, revision 494
Jan 09, 2011
dsource.org
Jan 09, 2011
Brad Roberts
Jan 09, 2011
Don Clugston
Jan 09, 2011
Brad Roberts
Jan 09, 2011
Walter Bright
Jan 09, 2011
Jonathan M Davis
Jan 10, 2011
Brad Roberts
Jan 10, 2011
Jonathan M Davis
Jan 10, 2011
Brad Roberts
Jan 10, 2011
Jonathan M Davis
Jan 10, 2011
Sean Kelly
January 09, 2011
druntime commit, revision 494


user: Don Clugston

msg:
Removed usage of Phobos in druntime, which is causing the Windows build to break. As far as I can tell, the error message will only occur on PCs *earlier* than the AT !!!!
So it's not worth trying to make a nice error message.

http://www.dsource.org/projects/druntime/changeset/494

paths changed:
U   trunk/src/core/time.d

January 09, 2011
On 1/9/2011 11:52 AM, dsource.org wrote:
> druntime commit, revision 494
> 
> 
> user: Don Clugston
> 
> msg:
> Removed usage of Phobos in druntime, which is causing the Windows build to break. As far as I can tell, the error message will only occur on PCs *earlier* than the AT !!!!
> So it's not worth trying to make a nice error message.
> 
> http://www.dsource.org/projects/druntime/changeset/494
> 
> paths changed:
> U   trunk/src/core/time.d
> 

Considering that D requires 32bit or better hardware, that rules the AT out as a valid platform. :)
January 09, 2011
On 9 January 2011 21:02, Brad Roberts <braddr at puremagic.com> wrote:
> On 1/9/2011 11:52 AM, dsource.org wrote:
>> druntime commit, revision 494
>>
>>
>> user: Don Clugston
>>
>> msg:
>> Removed usage of Phobos in druntime, which is causing the Windows build to break. As far as I can tell, the error message will only occur on PCs *earlier* than the AT !!!!
>> So it's not worth trying to make a nice error message.
>>
>> http://www.dsource.org/projects/druntime/changeset/494
>>
>> paths changed:
>> U ? trunk/src/core/time.d
>>
>
> Considering that D requires 32bit or better hardware, that rules the AT out as a valid platform. :)

Indeed.
Microsoft's docs (even for Windows7) say "it returns 0 if it's
unsupported by the hardware".  But it's hard to believe that any such
hardware exists.
January 09, 2011
On 1/9/2011 12:09 PM, Don Clugston wrote:
> On 9 January 2011 21:02, Brad Roberts <braddr at puremagic.com> wrote:
>> On 1/9/2011 11:52 AM, dsource.org wrote:
>>> druntime commit, revision 494
>>>
>>>
>>> user: Don Clugston
>>>
>>> msg:
>>> Removed usage of Phobos in druntime, which is causing the Windows build to break. As far as I can tell, the error message will only occur on PCs *earlier* than the AT !!!!
>>> So it's not worth trying to make a nice error message.
>>>
>>> http://www.dsource.org/projects/druntime/changeset/494
>>>
>>> paths changed:
>>> U   trunk/src/core/time.d
>>>
>>
>> Considering that D requires 32bit or better hardware, that rules the AT out as a valid platform. :)
> 
> Indeed.
> Microsoft's docs (even for Windows7) say "it returns 0 if it's
> unsupported by the hardware".  But it's hard to believe that any such
> hardware exists.

Oh, I'm sure Walter has some in his basement still. :)
January 09, 2011

Brad Roberts wrote:
> On 1/9/2011 12:09 PM, Don Clugston wrote:
> 
>> On 9 January 2011 21:02, Brad Roberts <braddr at puremagic.com> wrote:
>> 
>>> On 1/9/2011 11:52 AM, dsource.org wrote:
>>> 
>>>> druntime commit, revision 494
>>>>
>>>>
>>>> user: Don Clugston
>>>>
>>>> msg:
>>>> Removed usage of Phobos in druntime, which is causing the Windows build to break. As far as I can tell, the error message will only occur on PCs *earlier* than the AT !!!!
>>>> So it's not worth trying to make a nice error message.
>>>>
>>>> http://www.dsource.org/projects/druntime/changeset/494
>>>>
>>>> paths changed:
>>>> U   trunk/src/core/time.d
>>>>
>>>> 
>>> Considering that D requires 32bit or better hardware, that rules the AT out as a
>>> valid platform. :)
>>> 
>> Indeed.
>> Microsoft's docs (even for Windows7) say "it returns 0 if it's
>> unsupported by the hardware".  But it's hard to believe that any such
>> hardware exists.
>> 
>
> Oh, I'm sure Walter has some in his basement still. :)
>
> 

Yup. Haven't powered it up in 20 years.

I have all my early machines except for my first 386 box that I gave away, and a D1000 laptop I also gave away.
January 09, 2011
On Sunday 09 January 2011 11:52:09 dsource.org wrote:
> druntime commit, revision 494
> 
> 
> user: Don Clugston
> 
> msg:
> Removed usage of Phobos in druntime, which is causing the Windows build to
> break. As far as I can tell, the error message will only occur on PCs
> *earlier* than the AT !!!! So it's not worth trying to make a nice error
> message.

Sorry about that. I'm not sure if it was me or SHOO who added that check, but I didn't catch the fact that it was using std when I moved it out of std.datetime. Shame on me.

I think that pretty much all of the cases where something like that might fail is checked though, even if it really shouldn't ever happen.

- Jonathan M Davis
January 09, 2011
On 1/9/2011 2:49 PM, Jonathan M Davis wrote:
> On Sunday 09 January 2011 11:52:09 dsource.org wrote:
>> druntime commit, revision 494
>>
>>
>> user: Don Clugston
>>
>> msg:
>> Removed usage of Phobos in druntime, which is causing the Windows build to
>> break. As far as I can tell, the error message will only occur on PCs
>> *earlier* than the AT !!!! So it's not worth trying to make a nice error
>> message.
> 
> Sorry about that. I'm not sure if it was me or SHOO who added that check, but I didn't catch the fact that it was using std when I moved it out of std.datetime. Shame on me.
> 
> I think that pretty much all of the cases where something like that might fail is checked though, even if it really shouldn't ever happen.
> 
> - Jonathan M Davis

There's still at least one core.time related failure that needs to be investigated and fixed.  Win32 is failing on one of the unit tests:

core.exception.AssertError at core.time(1504): unittest failure

http://d.puremagic.com/test-results/test_data.ghtml?dataid=37612

January 09, 2011
On Sunday 09 January 2011 16:17:29 Brad Roberts wrote:
> On 1/9/2011 2:49 PM, Jonathan M Davis wrote:
> > On Sunday 09 January 2011 11:52:09 dsource.org wrote:
> >> druntime commit, revision 494
> >> 
> >> 
> >> user: Don Clugston
> >> 
> >> msg:
> >> Removed usage of Phobos in druntime, which is causing the Windows build
> >> to break. As far as I can tell, the error message will only occur on
> >> PCs *earlier* than the AT !!!! So it's not worth trying to make a nice
> >> error message.
> > 
> > Sorry about that. I'm not sure if it was me or SHOO who added that check, but I didn't catch the fact that it was using std when I moved it out of std.datetime. Shame on me.
> > 
> > I think that pretty much all of the cases where something like that might fail is checked though, even if it really shouldn't ever happen.
> > 
> > - Jonathan M Davis
> 
> There's still at least one core.time related failure that needs to be investigated and fixed.  Win32 is failing on one of the unit tests:
> 
> core.exception.AssertError at core.time(1504): unittest failure
> 
> http://d.puremagic.com/test-results/test_data.ghtml?dataid=37612

Bleh. Whatever the system clocks ticks per second are on that system, it's apparently not managing to hold 10_000_000 hnsecs accurately. I suppose that the asserts on 1504 and 1506 will have to be made to use <= instead of ==, at least for the moment. I expect that that would fix them. Still, this variance in precision and the fact that Windows doesn't appear to have anything approaching a round or consistent (across systems anyway) number of ticks per second is definitely annoying when it comes to crafting appropriate tests.

- Jonathan M Davis
January 10, 2011
On 1/9/2011 6:27 PM, Jonathan M Davis wrote:
> On Sunday 09 January 2011 16:17:29 Brad Roberts wrote:
>> On 1/9/2011 2:49 PM, Jonathan M Davis wrote:
>>> On Sunday 09 January 2011 11:52:09 dsource.org wrote:
>>>> druntime commit, revision 494
>>>>
>>>>
>>>> user: Don Clugston
>>>>
>>>> msg:
>>>> Removed usage of Phobos in druntime, which is causing the Windows build
>>>> to break. As far as I can tell, the error message will only occur on
>>>> PCs *earlier* than the AT !!!! So it's not worth trying to make a nice
>>>> error message.
>>>
>>> Sorry about that. I'm not sure if it was me or SHOO who added that check, but I didn't catch the fact that it was using std when I moved it out of std.datetime. Shame on me.
>>>
>>> I think that pretty much all of the cases where something like that might fail is checked though, even if it really shouldn't ever happen.
>>>
>>> - Jonathan M Davis
>>
>> There's still at least one core.time related failure that needs to be investigated and fixed.  Win32 is failing on one of the unit tests:
>>
>> core.exception.AssertError at core.time(1504): unittest failure
>>
>> http://d.puremagic.com/test-results/test_data.ghtml?dataid=37612
> 
> Bleh. Whatever the system clocks ticks per second are on that system, it's apparently not managing to hold 10_000_000 hnsecs accurately. I suppose that the asserts on 1504 and 1506 will have to be made to use <= instead of ==, at least for the moment. I expect that that would fix them. Still, this variance in precision and the fact that Windows doesn't appear to have anything approaching a round or consistent (across systems anyway) number of ticks per second is definitely annoying when it comes to crafting appropriate tests.
> 
> - Jonathan M Davis

I'd be surprised if it was unique to that box.  Add printfs if you need to gather data from it's test runs.  But I'd really like to come home from work tonight to a fully green set of testers.  It's been broken in one way or another since friday.
January 10, 2011
On Monday, January 10, 2011 10:06:31 Brad Roberts wrote:
> On 1/9/2011 6:27 PM, Jonathan M Davis wrote:
> > On Sunday 09 January 2011 16:17:29 Brad Roberts wrote:
> >> On 1/9/2011 2:49 PM, Jonathan M Davis wrote:
> >>> On Sunday 09 January 2011 11:52:09 dsource.org wrote:
> >>>> druntime commit, revision 494
> >>>> 
> >>>> 
> >>>> user: Don Clugston
> >>>> 
> >>>> msg:
> >>>> Removed usage of Phobos in druntime, which is causing the Windows
> >>>> build to break. As far as I can tell, the error message will only
> >>>> occur on PCs *earlier* than the AT !!!! So it's not worth trying to
> >>>> make a nice error message.
> >>> 
> >>> Sorry about that. I'm not sure if it was me or SHOO who added that check, but I didn't catch the fact that it was using std when I moved it out of std.datetime. Shame on me.
> >>> 
> >>> I think that pretty much all of the cases where something like that might fail is checked though, even if it really shouldn't ever happen.
> >>> 
> >>> - Jonathan M Davis
> >> 
> >> There's still at least one core.time related failure that needs to be investigated and fixed.  Win32 is failing on one of the unit tests:
> >> 
> >> core.exception.AssertError at core.time(1504): unittest failure
> >> 
> >> http://d.puremagic.com/test-results/test_data.ghtml?dataid=37612
> > 
> > Bleh. Whatever the system clocks ticks per second are on that system, it's apparently not managing to hold 10_000_000 hnsecs accurately. I suppose that the asserts on 1504 and 1506 will have to be made to use <= instead of ==, at least for the moment. I expect that that would fix them. Still, this variance in precision and the fact that Windows doesn't appear to have anything approaching a round or consistent (across systems anyway) number of ticks per second is definitely annoying when it comes to crafting appropriate tests.
> > 
> > - Jonathan M Davis
> 
> I'd be surprised if it was unique to that box.  Add printfs if you need to gather data from it's test runs.  But I'd really like to come home from work tonight to a fully green set of testers.  It's been broken in one way or another since friday.

Oh, I'm not saying that it's unique to that box, rather that it appears that it varies from box to box. I haven't seen the problem in wine, for instance, even though I get a really weird number for ticksPerSec. I can't readily test it in Windows itself at the moment, however. I'd fix it myself, but I don't have commit access at the moment. I asked Sean to give me commit access, and he agreed, but last time I checked, he hadn't done it yet. As far as I'm concerned though, if you want to just comment out the asserts on lines 1504 and 1506 of time.d for the moment, that's fine. The functionality should be fine. I just need to figure out how to write more robust tests to replace them.

- Jonathan M Davis
« First   ‹ Prev
1 2