Latest 64 bit test stuff on sourceware
Teemu Nätkinniemi
tnatkinn@gmail.com
Mon Feb 18 15:21:00 GMT 2013
On 18.2.2013 17:02, Corinna Vinschen wrote:
> On Feb 18 09:09, Ken Brown wrote:
>> On 2/18/2013 7:12 AM, Corinna Vinschen wrote:
>>> On Feb 16 22:47, Ken Brown wrote:
>>>> On 2/16/2013 5:17 PM, Peter Rosin wrote:
>>>>> 3. The config.status scripts generated by the configure scrips
>>>>> I have tested are not working (all Makefiles end up empty), but
>>>>> I suspect that's some issue between autoconf and dash. So far it
>>>>> has worked to run ./config.status from plain old non-64-cygwin
>>>>> between configure and make.
>>>>
>>>> I made a first attempt to build emacs. I had the same problem as
>>>> Peter with all Makefiles being empty. In addition, the configure
>>>> test for mktime (attached) fails; CPU usage spins up to 25% (one
>>>> core), and the program has to be killed from the Task Manager.
>>>>
>>>> Ken
>>>
>>> Oh well. I don't know how to "fix" this, other than by ripping out
>>> the entire localtime/mktime implementation and replacing it with
>>> something new.
>>>
>>> The reason here is the testcase itself:
>>> [...]
>>> So what it does is calling localtime with a time_t value set to
>>> time_t_max. That's 0x7fffffff on i686, which manages to do the job in
>>> less than 60 seconds. On 64 bit, time_t_max is 0x7fffffffffffffff.
>>> That's roughly 2^32 times bigger than the 32 bit value, but the 64 bit
>>> CPU isn't 2^32 times faster, unfortunately.
>>
>> OK. But is there something else going on in addition to that? In
>> my tests, the program doesn't terminate after 60 seconds. Moreover,
>> it doesn't respond to `kill -9'; I have to kill it from the Task
>> Manager.
>
> It's running in an endless loop within an internal function. That
> defeats any signals.
How about Darwin's implementation of localtime? Would that work with Cygwin?
http://opensource.apple.com/source/Libc/Libc-825.25/stdtime/FreeBSD/localtime.c
More information about the Cygwin-developers
mailing list