From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo 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:25:40 +0100 Message-ID: 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> <83wq6dame8.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1417289189 7783 80.91.229.3 (29 Nov 2014 19:26:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Nov 2014 19:26:29 +0000 (UTC) Cc: 19111@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 29 20:26:22 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 1Xuner-0001t8-Ua for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Nov 2014 20:26:18 +0100 Original-Received: from localhost ([::1]:48583 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xuner-0005vz-Go for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Nov 2014 14:26:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40306) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xunei-0005vd-AL for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2014 14:26:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xunec-0002yG-4U for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2014 14:26:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xunec-0002yC-0j for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2014 14:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xuneb-0001od-Qj for bug-gnu-emacs@gnu.org; Sat, 29 Nov 2014 14:26:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Nov 2014 19:26: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.14172891496957 (code B ref 19111); Sat, 29 Nov 2014 19:26:01 +0000 Original-Received: (at 19111) by debbugs.gnu.org; 29 Nov 2014 19:25:49 +0000 Original-Received: from localhost ([127.0.0.1]:49384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XuneO-0001o9-So for submit@debbugs.gnu.org; Sat, 29 Nov 2014 14:25:49 -0500 Original-Received: from mail-ob0-f174.google.com ([209.85.214.174]:61316) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XuneH-0001nv-M9 for 19111@debbugs.gnu.org; Sat, 29 Nov 2014 14:25:46 -0500 Original-Received: by mail-ob0-f174.google.com with SMTP id m8so6248911obr.19 for <19111@debbugs.gnu.org>; Sat, 29 Nov 2014 11:25:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Kc/qGo25jkvoSA4yJjL29yDCYGTaT+yZDFESMAg0sZk=; b=CBzNcqwmK/AtFX4tywqTLIQ+rffT1R/BQ/UBLCwlY92sdt+iPXN8F3xMvqomNnZz/n IWomO6sO57kiPi3vbvUvOy+A6ehLbPMyMNf1JrHUfd4Xf+dhlG0CGBElYtWzuKPAqKJ8 1a5vIO/ztgt2HsnelkcQl3vBHpD/jNnD3YFKNxrSVsEy0p78iQTwomTI3TVHEOJwz5rq ah4IRWUJvAqpbTRRMpLtBqf4briQV1evQXBD/hCt3JgM9TjHoigBYw+lNnghqW0C5sti X0BTIs85mgmkpvFTUXlkaAXkc07ruQTzZtUDAu11KbExWM6Xo4b+Meji1qUM9B0dng5e yf0Q== X-Received: by 10.60.55.68 with SMTP id q4mr29960409oep.64.1417289141109; Sat, 29 Nov 2014 11:25:41 -0800 (PST) Original-Received: by 10.60.47.84 with HTTP; Sat, 29 Nov 2014 11:25:40 -0800 (PST) In-Reply-To: <83wq6dame8.fsf@gnu.org> 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:96740 Archived-At: >> > 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? My basis is the analysis of my configure script. config.sub is called twice, a. To produce the canonical $build from $build_alias (i.e. the --build parameter), when it is set. b. Likewise, for the canonical $host. >> > 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'. Yes, it is based on uname's output, which seems wrong in certain cases (see my previous mail). >> 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. Well, my proposal is not to replace -w64- with -pc- but to find a better way of fixing the problem reported in this thread. As for the change, as I said, I don't know how to make the change to config.guess, because it's a generated file, and I don't know where it comes from ultimately. -- Dani Moncayo