From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#5655: incorrect paths for crt1.o, crtn.o, etc. Date: Tue, 27 Apr 2010 13:33:04 -0400 Message-ID: <3wtyqw2433.fsf@fencepost.gnu.org> References: <20100301232258.GM7587@ohnopublishing.net> <987hntoa6t.fsf@fencepost.gnu.org> <87iq7dcsp6.fsf@turtle.gmx.de> <877hntcq6x.fsf@turtle.gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1272391020 28836 80.91.229.12 (27 Apr 2010 17:57:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 27 Apr 2010 17:57:00 +0000 (UTC) Cc: Dan Nicolaescu , 5655@debbugs.gnu.org To: Sven Joachim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 27 19:56:52 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O6p1d-00040M-GK for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Apr 2010 19:56:49 +0200 Original-Received: from localhost ([127.0.0.1]:44327 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6p1d-0002IM-3J for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Apr 2010 13:56:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O6p0Z-0001wJ-Dc for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2010 13:55:43 -0400 Original-Received: from [140.186.70.92] (port=55849 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6p0X-0001ve-Mn for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2010 13:55:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O6p0V-0008F9-U4 for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2010 13:55:41 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58332) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6p0V-0008F5-Qz for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2010 13:55:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1O6ofa-00017z-8H; Tue, 27 Apr 2010 13:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Apr 2010 17:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5655 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 5655-submit@debbugs.gnu.org id=B5655.12723895934318 (code B ref 5655); Tue, 27 Apr 2010 17:34:02 +0000 Original-Received: (at 5655) by debbugs.gnu.org; 27 Apr 2010 17:33:13 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6oem-00017b-TH for submit@debbugs.gnu.org; Tue, 27 Apr 2010 13:33:13 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6oek-00017V-A4 for 5655@debbugs.gnu.org; Tue, 27 Apr 2010 13:33:11 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1O6oef-0007Ln-2G; Tue, 27 Apr 2010 13:33:05 -0400 X-Spook: AVIP Venezuela AMW clones AMEMB 9/11 Treasury bomb X-Ran: m'}xfx#rj[L?2U_1=A]3<$5%q4$M& (Sven Joachim's message of "Tue\, 27 Apr 2010 09\:25\:26 +0200") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 27 Apr 2010 13:34:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36570 Archived-At: Sven Joachim wrote: > Well, "./configure --build=i486-pc-linux-gnu" works, I can live with > that for now. I'm not sure if that isn't the right solution. It seems this is an old autoconf issue, but I can't see that there is a standard solution. Eg http://lists.gnu.org/archive/html/autoconf/2005-05/msg00004.html The following patch might make things behave like they used to, could you try it out? You will need to run autoconf. *** configure.in 2010-04-27 08:09:01 +0000 --- configure.in 2010-04-27 17:22:23 +0000 *************** *** 761,766 **** --- 761,776 ---- if test "x$RANLIB" = x; then AC_PROG_RANLIB fi + + ## Although we're running on an amd64 kernel, we're actually compiling for + ## the x86 architecture. The user should probably have provided an + ## explicit --build to `configure', but if everything else than the kernel + ## is running in i386 mode, we can help them out. + if test "$machine" = "amdx86-64"; then + AC_CHECK_DECL([i386]) + test "$ac_cv_have_decl_i386" = "yes" && machine=intel386 + fi + AC_PATH_PROG(INSTALL_INFO, install-info) AC_PATH_PROG(INSTALL_INFO, install-info,, /usr/sbin) AC_PATH_PROG(INSTALL_INFO, install-info,:, /sbin) *** src/m/amdx86-64.h 2010-04-27 03:14:14 +0000 --- src/m/amdx86-64.h 2010-04-27 17:27:11 +0000 *************** *** 17,31 **** You should have received a copy of the GNU General Public License along with GNU Emacs. If not, see . */ - #ifdef i386 - /* Although we're running on an amd64 kernel, we're actually compiling for - the x86 architecture. The user should probably have provided an - explicit --build to `configure', but if everything else than the kernel - is running in i386 mode, then the bug is really ours: we should have - guessed better. */ - #include "m/intel386.h" - #else - /* The following line tells the configuration script what sort of operating system this machine is likely to run. USUAL-OPSYS="linux" */ --- 17,22 ---- *************** *** 90,96 **** #define LIB_STANDARD -lgcc -lc -lgcc $(CRT_DIR)/crtn.o #endif /* SOLARIS2 */ - #endif /* !i386 */ /* arch-tag: 8a5e001d-e12e-4692-a3a6-0b15ba271c6e (do not change this comment) */ --- 81,86 ----