X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Date: Sat, 27 Jun 2015 19:32:18 +0300 From: "Eli Zaretskii (eliz AT gnu DOT org)" Subject: Re: Problem with configure mktime() tests In-reply-to: X-012-Sender: halo1 AT inter DOT net DOT il To: djgpp AT delorie DOT com Message-id: <83a8vl6rjh.fsf@gnu.org> References: <558D3944 DOT 4070604 AT iki DOT fi> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Sat, 27 Jun 2015 18:57:15 +0300 > From: "Ozkan Sezer (sezeroz AT gmail DOT com)" > > On 6/26/15, Andris Pavenis (andris DOT pavenis AT iki DOT fi) wrote: > > Noticed that mktime() tests run from bash-2.05b configure script fails: > > - goes into infinite loop when regenerated with autoconf-2.59 and gets > > interrupted after 60 seconds due to use of alarm() in the test > > - fail also when generated by autoconf-2.68 > > > > See test program in attachment (configure generated by autoconf-2.68). > > Actual failing part of the test is > > spring_forward_gap() > > > > Andris > > AFAICS, our code is based on tzcode-2013d, whereas the mainstream > is at 2015e. History at https://github.com/eggert/tz/ lists many fixes > for undefined behaviors etc. maybe helps?? It's worth trying the latest version. But it might not fix this specific problem, since DJGPP is one of a very few platforms whose time_t is an unsigned data type.