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: Fri, 21 Nov 2014 10:28:17 +0200 Message-ID: <83wq6p3qla.fsf@gnu.org> References: <87fvdfrl4p.fsf@telefonica.net> <83k32q7wkl.fsf@gnu.org> <87bno2swxp.fsf@wanadoo.es> <83egsy7d2x.fsf@gnu.org> <87siheqzq9.fsf@wanadoo.es> <83389d7t89.fsf@gnu.org> <87a93lrgct.fsf@wanadoo.es> <83mw7l6bjc.fsf@gnu.org> <87389dragi.fsf@wanadoo.es> <83egsx60um.fsf@gnu.org> <87y4r5pgae.fsf@wanadoo.es> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1416558568 31931 80.91.229.3 (21 Nov 2014 08:29:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Nov 2014 08:29:28 +0000 (UTC) Cc: 19111@debbugs.gnu.org To: =?UTF-8?Q?=C3=93scar?= Fuentes Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 21 09:29:21 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 1Xrjaf-00031S-MK for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Nov 2014 09:29:17 +0100 Original-Received: from localhost ([::1]:39093 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xrjaf-0007uD-9B for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Nov 2014 03:29:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrjaW-0007tP-As for bug-gnu-emacs@gnu.org; Fri, 21 Nov 2014 03:29:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XrjaQ-0006V8-Ra for bug-gnu-emacs@gnu.org; Fri, 21 Nov 2014 03:29:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrjaQ-0006Ut-PL for bug-gnu-emacs@gnu.org; Fri, 21 Nov 2014 03:29:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XrjaQ-0001i2-CZ for bug-gnu-emacs@gnu.org; Fri, 21 Nov 2014 03:29:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Nov 2014 08:29:02 +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.14165585016516 (code B ref 19111); Fri, 21 Nov 2014 08:29:02 +0000 Original-Received: (at 19111) by debbugs.gnu.org; 21 Nov 2014 08:28:21 +0000 Original-Received: from localhost ([127.0.0.1]:40202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XrjZk-0001h2-SU for submit@debbugs.gnu.org; Fri, 21 Nov 2014 03:28:21 -0500 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:39597) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XrjZi-0001gt-Fy for 19111@debbugs.gnu.org; Fri, 21 Nov 2014 03:28:19 -0500 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NFD00G00QUGX800@mtaout27.012.net.il> for 19111@debbugs.gnu.org; Fri, 21 Nov 2014 10:23:41 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NFD00CM1RBH3L60@mtaout27.012.net.il>; Fri, 21 Nov 2014 10:23:41 +0200 (IST) In-reply-to: <87y4r5pgae.fsf@wanadoo.es> 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:96356 > From: Óscar Fuentes > Cc: 19111@debbugs.gnu.org, Dani Moncayo > Date: Fri, 21 Nov 2014 01:07:37 +0100 > > Eli Zaretskii writes: > > > If the user sets the triplet, it should be obeyed. If it's incorrect, > > that's the user's problem. > > > >> I understand your concern: `configure' can use the triplet anywhere and > >> hence it is important that it is correct. > > > > Yes, exactly. > > > > Could you propose a patch along these lines? > > Something like this, perhaps? (It should also work for Dani's Cygwin > case.) Yes, thanks. > + t=${t#Target: } Is this portable to Unix shells? If not, perhaps use the 'eval' trick here. > + if test "x$t" = "x"; then > + AC_MSG_ERROR([Impossible to determine $cc compiler target. > +Please explicitly provide --target]) I would replace this with a warning and go with $canonical as it was determined before. Otherwise, I think this is good to go in, but please wait for a couple of days to let others comment if they want.