From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Joachim Newsgroups: gmane.emacs.bugs Subject: bug#5655: incorrect paths for crt1.o, crtn.o, etc. Date: Tue, 27 Apr 2010 21:27:27 +0200 Message-ID: <87r5m0elwg.fsf@turtle.gmx.de> References: <20100301232258.GM7587@ohnopublishing.net> <987hntoa6t.fsf@fencepost.gnu.org> <87iq7dcsp6.fsf@turtle.gmx.de> <877hntcq6x.fsf@turtle.gmx.de> <3wtyqw2433.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1272398216 26320 80.91.229.12 (27 Apr 2010 19:56:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 27 Apr 2010 19:56:56 +0000 (UTC) Cc: Dan Nicolaescu , 5655@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 27 21:56:51 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 1O6qtV-0005hy-SL for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Apr 2010 21:56:41 +0200 Original-Received: from localhost ([127.0.0.1]:38215 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6qtP-0000ND-RM for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Apr 2010 15:56:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O6qsj-0000Aq-V3 for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2010 15:55:46 -0400 Original-Received: from [140.186.70.92] (port=42113 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6qsg-00008V-5I for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2010 15:55:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O6qsd-0006jn-6U for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2010 15:55:40 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42830) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6qsd-0006ji-4u for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2010 15:55:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1O6qRu-00025e-4n; Tue, 27 Apr 2010 15:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sven Joachim 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 19:28: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.12723964668026 (code B ref 5655); Tue, 27 Apr 2010 19:28:02 +0000 Original-Received: (at 5655) by debbugs.gnu.org; 27 Apr 2010 19:27:46 +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 1O6qRd-00025P-Lt for submit@debbugs.gnu.org; Tue, 27 Apr 2010 15:27:45 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1O6qRb-00025H-CE for 5655@debbugs.gnu.org; Tue, 27 Apr 2010 15:27:44 -0400 Original-Received: (qmail invoked by alias); 27 Apr 2010 19:27:33 -0000 Original-Received: from p548628BE.dip.t-dialin.net (EHLO turtle.gmx.de) [84.134.40.190] by mail.gmx.net (mp053) with SMTP; 27 Apr 2010 21:27:33 +0200 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX1/SUwtyiMrSd4UjAri8UkAEmq9SPl1wRI1GtpBIre kResQIfN8upwWz Original-Received: by turtle.gmx.de (Postfix, from userid 1000) id 67BB13F579; Tue, 27 Apr 2010 21:27:28 +0200 (CEST) In-Reply-To: <3wtyqw2433.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 27 Apr 2010 13:33:04 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.96 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.46999999999999997 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 27 Apr 2010 15:28: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:36572 Archived-At: On 2010-04-27 19:33 +0200, Glenn Morris wrote: > The following patch might make things behave like they used to, could > you try it out? You will need to run autoconf. Does not seem to work at all. > > *** 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) Okay, configure picks this up: checking whether i386 is declared... yes > *** 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 ---- This part does not apply cleanly, and after I removed the corresponding lines manually things broke badly because BITS_PER_LONG got #defined to 64 etc. Sven