From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sean Sieger Newsgroups: gmane.emacs.devel Subject: Re: windows build failure Date: Fri, 20 Sep 2013 10:24:46 -0400 Message-ID: <87vc1v4lld.fsf@gmail.com> References: <83wqmeocl5.fsf@gnu.org> <83ioxynvpb.fsf@gnu.org> <87zjrae0q7.fsf@gmail.com> <83eh8mnu8h.fsf@gnu.org> <87ob7qdzxj.fsf@gmail.com> <83a9janq2l.fsf@gnu.org> <87bo3oew5i.fsf@gmail.com> <83wqmclwja.fsf@gnu.org> <8761twemxb.fsf@gmail.com> <83txhglke0.fsf@gnu.org> <871u4keezm.fsf@gmail.com> <83pps4kl3s.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1379687109 17630 80.91.229.3 (20 Sep 2013 14:25:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Sep 2013 14:25:09 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 20 16:25:12 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VN1dv-0006xq-OM for ged-emacs-devel@m.gmane.org; Fri, 20 Sep 2013 16:25:11 +0200 Original-Received: from localhost ([::1]:56102 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VN1dv-0004X1-A0 for ged-emacs-devel@m.gmane.org; Fri, 20 Sep 2013 10:25:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VN1dn-0004SP-N9 for emacs-devel@gnu.org; Fri, 20 Sep 2013 10:25:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VN1dh-0001u5-G2 for emacs-devel@gnu.org; Fri, 20 Sep 2013 10:25:03 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:59097) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VN1dh-0001tv-9P for emacs-devel@gnu.org; Fri, 20 Sep 2013 10:24:57 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VN1df-0006SX-5y for emacs-devel@gnu.org; Fri, 20 Sep 2013 16:24:55 +0200 Original-Received: from pool-173-77-30-75.nycmny.east.verizon.net ([173.77.30.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Sep 2013 16:24:55 +0200 Original-Received: from sean.sieger by pool-173-77-30-75.nycmny.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Sep 2013 16:24:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-77-30-75.nycmny.east.verizon.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) Cancel-Lock: sha1:UIDJeiE+dN3PBwC2NtVO14QqWgE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:163514 Archived-At: Eli Zaretskii writes: Yes, that's it, thanks. This happens because MinGW runtime 4.x switched to a 64-bit time_t type by default, but 'struct timeval' defined in winsock2.h and sys/time.h still uses 'long tv_sec'. This causes the gnulib tests to decide we need to replace 'struct timeval' with a Posix-compliant definition, and also replace gettimeofday. This particular problem for Emacs build should now be fixed: I forced the configure script to accept the MinGW definition of 'struct timeval' without testing. And it is, thank you. I built the trunk in place and installed it in /mingw. Btw, the switch to 64-bit time_t (or, more accurately, the corresponding switch to 64-bit time functions) is one of the few changes in MinGW 4.x that cause binary incompatibility with previous versions. So my recommendation not to use MinGW 4.x, especially if you are running Emacs on XP, still stands. Well, I'll see how it goes. I'm gonna try unpacking gtk, libxml2 and gnutls over it next. I stand forewarned.