From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19111: 25.0.50; 32 bits temacs.exe is linked with wrong image-base when built on 64 bit Windows host Date: Sat, 29 Nov 2014 20:31:59 +0200 Message-ID: <83wq6dame8.fsf@gnu.org> References: <87fvdfrl4p.fsf@telefonica.net> <83389d7t89.fsf@gnu.org> <87a93lrgct.fsf@wanadoo.es> <83mw7l6bjc.fsf@gnu.org> <87389dragi.fsf@wanadoo.es> <83egsx60um.fsf@gnu.org> <87y4r5pgae.fsf@wanadoo.es> <87ioi8pg84.fsf@wanadoo.es> <87egswpf9p.fsf@wanadoo.es> <87a93kp3lb.fsf@wanadoo.es> <9hwq6o11ud.fsf@fencepost.gnu.org> <87389cox4u.fsf@wanadoo.es> <87mw7gngw8.fsf@wanadoo.es> <87egsrnguj.fsf@wanadoo.es> <873896onl2.fsf@wanadoo.es> <87y4qyn840.fsf@wanadoo.es> <83zjbeoc40.fsf@gnu.org> <83oarql2k6.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1417286005 24990 80.91.229.3 (29 Nov 2014 18:33:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Nov 2014 18:33:25 +0000 (UTC) Cc: 19111@debbugs.gnu.org To: Dani Moncayo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 29 19:33:18 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1XumpZ-0000jf-Uu for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Nov 2014 19:33:18 +0100 Original-Received: from localhost ([::1]:48456 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XumpZ-0005DF-In for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Nov 2014 13:33:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60585) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XumpR-0005D9-Ol for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2014 13:33:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XumpK-00025Q-7V for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2014 13:33:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52146) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XumpK-00025B-3s for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2014 13:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XumpJ-0000WL-P9 for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2014 13:33:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Nov 2014 18:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19111 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19111-submit@debbugs.gnu.org id=B19111.14172859231930 (code B ref 19111); Sat, 29 Nov 2014 18:33:01 +0000 Original-Received: (at 19111) by debbugs.gnu.org; 29 Nov 2014 18:32:03 +0000 Original-Received: from localhost ([127.0.0.1]:49359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XumoN-0000V3-BN for submit@debbugs.gnu.org; Sat, 29 Nov 2014 13:32:03 -0500 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:48819) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XumoK-0000UZ-Cx for 19111@debbugs.gnu.org; Sat, 29 Nov 2014 13:32:01 -0500 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NFT00K00C73JC00@mtaout28.012.net.il> for 19111@debbugs.gnu.org; Sat, 29 Nov 2014 20:29:30 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NFT00IJOCP6NK30@mtaout28.012.net.il>; Sat, 29 Nov 2014 20:29:30 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:96735 Archived-At: > Date: Sat, 29 Nov 2014 19:22:47 +0100 > From: Dani Moncayo > Cc: 19111@debbugs.gnu.org > > > Why do you think it isn't canonical? > > $host is not guaranteed to be canonical, because its (final) value is > not produced by our AC_CANONICAL_HOST. > > > For that matter, what is your > > definition of "canonical" in this context? > > The value of $host produced by AC_CANONICAL_HOST. That's an arbitrary definition, which I think is unnecessarily restrictive. > > Verification of the canonical configurations is the job of the > > config.sub script. > > IIUC, the job of config.sub is verification/canonization of > configurations supplied explicitly as parameters in the configure > script (--host, --build). I don't think I agree. What is your basis for that assertion? > I think that the "w64" manufacturer reveals that something is not > quite right, because, when no --host and --build are specified, the > canonical configuration should be the one produced by config.guess, Ideally, yes. But that's not really necessary, if the MANUFACTURER part doesn't affect the build (as it is in this case). > > I don't think we need that, since what we have now uses perfectly > > valid canonical configuration types. In any case, if you still are > > unconvinced, the way to fix this is to submit patches for config.sub, > > so that it does this mapping automatically. Its that script's job, > > not ours. > > I agree with the above, after replacing 'config.sub' with > 'config.guess'. config.guess just calls 'uname'. > But in summary: IMO, the right fix for this seems to be in > config.guess, which returns the wrong CPU on certain MSYS environments > (#3 and #4 in my previous mail). I don't object to making such a change in config.guess, but I still think replacing -w64- with -pc- is not really necessary, as the former does no harm, and most probably never will.