From unknown Fri Jul 11 01:13:13 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#5655 <5655@debbugs.gnu.org> To: bug#5655 <5655@debbugs.gnu.org> Subject: Status: 23.1; incorrect paths for crt1.o, crtn.o, etc. Reply-To: bug#5655 <5655@debbugs.gnu.org> Date: Fri, 11 Jul 2025 08:13:13 +0000 retitle 5655 23.1; incorrect paths for crt1.o, crtn.o, etc. reassign 5655 emacs submitter 5655 Nathan Phillip Brink severity 5655 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 27 23:57:54 2010 Received: (at submit) by debbugs.gnu.org; 28 Feb 2010 04:57:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NlbE2-0004DS-55 for submit@debbugs.gnu.org; Sat, 27 Feb 2010 23:57:54 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nlan8-0003sM-QG for submit@debbugs.gnu.org; Sat, 27 Feb 2010 23:30:09 -0500 Received: from mail.gnu.org ([199.232.76.166]:51740 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nlan5-0004SV-Em for submit@debbugs.gnu.org; Sat, 27 Feb 2010 23:30:03 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nlamz-0003ZW-Qm for submit@debbugs.gnu.org; Sat, 27 Feb 2010 23:30:00 -0500 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO,UNPARSEABLE_RELAY autolearn=ham version=3.1.0 Received: from lists.gnu.org ([199.232.76.165]:33721) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Nlamz-0003ZS-DI for submit@debbugs.gnu.org; Sat, 27 Feb 2010 23:29:57 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nlamz-0000O6-0s for bug-gnu-emacs@gnu.org; Sat, 27 Feb 2010 23:29:57 -0500 Received: from [140.186.70.92] (port=39597 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nlamx-0000N4-DX for bug-gnu-emacs@gnu.org; Sat, 27 Feb 2010 23:29:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nlamw-00024x-8B for bug-gnu-emacs@gnu.org; Sat, 27 Feb 2010 23:29:55 -0500 Received: from smtp.wow.synacor.com ([64.8.70.55]:40934 helo=smtp.mail.wowway.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nlamw-00024t-3I for bug-gnu-emacs@gnu.org; Sat, 27 Feb 2010 23:29:54 -0500 X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=1.1 cv=/Vp6wQ46wMw7T80S5PH4CCw9HlDADkkXN/jgXPiqTG8= c=1 sm=0 a=yu5LmDlNtDQA:10 a=7mOBRU54AAAA:8 a=GBfwpfFLAAAA:8 a=2GPQCZkszJU53eq8-nEA:9 a=94-RenJgbHCHp3kseIAA:7 a=voafKXdjdCPWo-7kNCnoq_9Xra8A:4 a=kgR0B08hapwA:10 a=2j2fwp9Exx-3iMk9:21 a=6-CXJtvMOyfWOoc6:21 a=hprnLgXxSUsH+i6O8iVbXA==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Received: from [69.14.90.165] ([69.14.90.165:58030] helo=ohnopublishing.net) by smtp.mail.wowway.com (envelope-from ) (ecelerity 2.2.2.40 r(29895/29896)) with ESMTP id 6B/22-00786-141F98B4; Sat, 27 Feb 2010 23:29:53 -0500 Received: by ohnopublishing.net (Postfix, from userid 1000) id 5378236D56; Sat, 27 Feb 2010 23:30:52 -0500 (EST) X-DKIM: Sendmail DKIM Filter v2.8.3 ohnopublishing.net 5378236D56 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ohnopublishing.net; s=ohnopublishing.net; t=1267331452; bh=Aoq7SmXRDreINdyOOnjNygqdigQzGLxVCcrNIOidXEQ=; h=From:To:Subject:Message-Id:Date; b=k3C5ukHcam2lJzpZlcSQGxFOpKnTXBPTs0JJ1pEk1yoiJCjahOIQSE+QtOflUxpsz ky55TfrkvHNhl7LK6qCqtGBZR9W7n1acqEz7+07Vy2U46VsH+Dzbgqrl7D0l3eRdi3 xlyhHo8cV1LoV9QSES8f9GomL+yc521H4z54Cm0U= From: Nathan Phillip Brink To: bug-gnu-emacs@gnu.org Subject: 23.1; incorrect paths for crt1.o, crtn.o, etc. Message-Id: <20100228043052.5378236D56@ohnopublishing.net> Date: Sat, 27 Feb 2010 23:30:52 -0500 (EST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 27 Feb 2010 23:57:53 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) https://bugs.gentoo.org/306831 Attempting to build a copy of emacs utilizing the 32-bit ABI available on an amd64 system revealed that emacs has hard-coded paths to files such as crt1.o, crtn.o, etc. in its Makefile.ins. This is also a problem when trying to build emacs on freebsd systems. It would seem to me that an application shouldn't need to link directly against crt*.o. It appears to make the buildsystem quite implementation specific, for example. Perhaps it would be good enough if emacs's autoconf scripts were able to divine the proper location for these crt files. You can see an example of how gentoo's emacs ebuild fixes this for freebsd people at http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/emacs/emacs-23.1-r2.ebuild?view=markup (see the src_prepare() function and the crtbegin.o and crtend.o stuff.) In GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.14.7) of 2009-08-24 on ohnopublishing.net configured using `configure '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--with-sound' '--with-x' '--without-toolkit-scroll-bars' '--without-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--without-xft' '--without-libotf' '--without-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--with-kerberos' '--with-kerberos5' '--with-gpm' '--with-dbus' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-O2 -pipe -march=athlon64 -g -ggdb' 'LDFLAGS=-Wl,--as-needed -Wl,-O1 -Wl,-t -Wl,--enable-new-dtags -Wl,--hash-style=both'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: dired-omit-mode: t display-time-mode: t server-mode: t global-cwarn-mode: t diff-auto-refine-mode: t tooltip-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: ESC [ 3 ~ ESC [ 3 ~ C-x C-s C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f RET ESC [ 3 ~ ESC [ 4 ~ ESC [ 3 ~ ESC [ 4 ~ ESC [ 1 ~ C-f C-f C-f C-f C-f C-f C-f C-f C-f SPC ESC [ 4 ~ C-b C-x C-s C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b ESC [ 4 ~ C-b SPC w h i c h SPC d C-b ESC [ 3 ~ C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b ESC [ 4 ~ C-b C-b C-b C-b C-b C-b C-b ESC [ 3 ~ ESC [ 3 ~ ESC [ 3 ~ ESC [ 3 ~ ESC [ 3 ~ u s i n g SPC d y n a m i c SPC l i n k i n g C-x C-s ESC [ 3 ~ C-p C-p ESC [ 3 ~ SPC C-f C-f RET ESC [ 3 ~ ESC [ 4 ~ C-n C-b RET ESC [ 3 ~ C-x C-s C-n C-n C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-x C-s C-x 5 0 ESC x r e p TAB o TAB r TAB RET Recent messages: Saving file /home/ohnobinki/ohnobinki_overlay/sys-devel/libtool/files/2.2.6b/libtool-2.2.6b-ltdl.m4-no-la.patch... Wrote /home/ohnobinki/ohnobinki_overlay/sys-devel/libtool/files/2.2.6b/libtool-2.2.6b-ltdl.m4-no-la.patch Saving file /home/ohnobinki/ohnobinki_overlay/sys-devel/libtool/files/2.2.6b/libtool-2.2.6b-ltdl.m4-no-la.patch... Wrote /home/ohnobinki/ohnobinki_overlay/sys-devel/libtool/files/2.2.6b/libtool-2.2.6b-ltdl.m4-no-la.patch Saving file /home/ohnobinki/ohnobinki_overlay/sys-devel/libtool/files/2.2.6b/libtool-2.2.6b-ltdl.m4-no-la.patch... Wrote /home/ohnobinki/ohnobinki_overlay/sys-devel/libtool/files/2.2.6b/libtool-2.2.6b-ltdl.m4-no-la.patch (No changes need to be saved) When done with this frame, type M-x delete-frame Making completion list... [2 times] call-interactively: End of buffer [3 times] From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 01 18:24:37 2010 Received: (at 5655) by debbugs.gnu.org; 1 Mar 2010 23:24:37 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NmEyZ-0002Dz-L9 for submit@debbugs.gnu.org; Mon, 01 Mar 2010 18:24:37 -0500 Received: from d14-69-165-90.try.wideopenwest.com ([69.14.90.165] helo=ohnopublishing.net) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NmEw3-0002BN-Mq for 5655@debbugs.gnu.org; Mon, 01 Mar 2010 18:22:02 -0500 Received: by ohnopublishing.net (Postfix, from userid 1000) id 00D3074541; Mon, 1 Mar 2010 18:22:58 -0500 (EST) X-DKIM: Sendmail DKIM Filter v2.8.3 ohnopublishing.net 00D3074541 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ohnopublishing.net; s=ohnopublishing.net; t=1267485779; bh=URAEgfLprVvjLzzSUS4b7wBxwqEhJKvQfVi3389LxLA=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; b=Uva0ry1wUDXw4rrzgJaCPbQs/9EgIxJyvFgnEjAz3suoKtt5IVEhuD/TemA5GJEaF FEGsj0VtJaHOOk9UKv0fMul2WReDXpQNJbfHeaIYAgrae+LVjcMNt4RdebCkKFXJ2Y 6beHMhesb/gYDFHRBHbhgS5NdGhQN/Z/x+bawY+c= Date: Mon, 1 Mar 2010 18:22:58 -0500 From: Nathan Phillip Brink To: 5655@debbugs.gnu.org Subject: crt*.o Message-ID: <20100301232258.GM7587@ohnopublishing.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: 5655 X-Mailman-Approved-At: Mon, 01 Mar 2010 18:24:34 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) On the Gentoo bug, I was notified that the gcc -print-file-name is a hack which shouldn't be used by you. Rather, emacs needs to have provision for locating crt*.o in a different directory than /usr/lib. I suppose that the best thing for starters would be a --with-crt-path ./configure option so that the user may specify his system's libdir (/usr/lib64 and /usr/lib32, in my case). -- ohnobinki Look out for missing apostrophes! From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 23 22:25:04 2010 Received: (at 5655-done) by debbugs.gnu.org; 24 Apr 2010 02:25:04 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5V3I-0001ih-3G for submit@debbugs.gnu.org; Fri, 23 Apr 2010 22:25:04 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5V3E-0001iJ-So for 5655-done@debbugs.gnu.org; Fri, 23 Apr 2010 22:25:02 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1O5V3B-00033x-7S; Fri, 23 Apr 2010 22:24:57 -0400 To: 5655-done@debbugs.gnu.org Subject: Re: bug#5655: incorrect paths for crt1.o, crtn.o, etc. References: <20100301232258.GM7587@ohnopublishing.net> From: Glenn Morris X-Spook: RSA world domination InfoSec hackers SSL security Crowell X-Ran: la/,QM.2_-M|ex1K'k0Q8BDI*r-fDg=SAW82*t)Qth6s11op%bRjI*!c!v|pH\fJv'"&S| X-Hue: magenta X-Debbugs-No-Ack: yes X-Attribution: GM Date: Fri, 23 Apr 2010 22:24:57 -0400 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: 5655-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) I have added a --with-crt-dir configure option to the trunk. (It is only used by amdx86-64 and ibms390x GNU/Linux builds.) From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 24 15:26:14 2010 Received: (at 5655) by debbugs.gnu.org; 24 Apr 2010 19:26:14 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5kzV-00024k-8e for submit@debbugs.gnu.org; Sat, 24 Apr 2010 15:26:13 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5kzT-00024d-Uk for 5655@debbugs.gnu.org; Sat, 24 Apr 2010 15:26:12 -0400 Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1O5kzS-0002Zr-6C; Sat, 24 Apr 2010 15:26:10 -0400 To: 5655@debbugs.gnu.org Subject: Re: bug#5655: incorrect paths for crt1.o, crtn.o, etc. References: <20100301232258.GM7587@ohnopublishing.net> From: Dan Nicolaescu X-Debbugs-No-Ack: yes Date: Sat, 24 Apr 2010 15:26:10 -0400 In-Reply-To: (Glenn Morris's message of "Fri\, 23 Apr 2010 22\:24\:57 -0400") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 5655 Cc: rgm@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) Glenn Morris writes: > I have added a --with-crt-dir configure option to the trunk. > (It is only used by amdx86-64 and ibms390x GNU/Linux builds.) It looks like the FreeBSD code in amdx86-64.h is now the same as the #else code. Can they be unified? From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 24 15:51:41 2010 Received: (at 5655) by debbugs.gnu.org; 24 Apr 2010 19:51:41 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5lO8-0002pB-Hl for submit@debbugs.gnu.org; Sat, 24 Apr 2010 15:51:40 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5lO7-0002p6-8o for 5655@debbugs.gnu.org; Sat, 24 Apr 2010 15:51:39 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1O5lO4-0003LF-I9; Sat, 24 Apr 2010 15:51:36 -0400 To: Dan Nicolaescu Subject: Re: bug#5655: incorrect paths for crt1.o, crtn.o, etc. References: <20100301232258.GM7587@ohnopublishing.net> From: Glenn Morris X-Spook: SRI cracking passwd [Hello to all my friends and fans in X-Ran: -m,$~9b+PS<"(7xvCKU1 (Dan Nicolaescu's message of "Sat\, 24 Apr 2010 15\:26\:10 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: 5655 Cc: 5655@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Dan Nicolaescu wrote: > It looks like the FreeBSD code in amdx86-64.h is now the same as the > #else code. Can they be unified? Yes, I think you are right, well spotted. I did so. From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 25 17:19:15 2010 Received: (at 5655) by debbugs.gnu.org; 25 Apr 2010 21:19:16 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O69ER-000087-7K for submit@debbugs.gnu.org; Sun, 25 Apr 2010 17:19:15 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O69EP-000082-OX for 5655@debbugs.gnu.org; Sun, 25 Apr 2010 17:19:14 -0400 Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1O69EL-0004xf-Ro; Sun, 25 Apr 2010 17:19:09 -0400 To: Glenn Morris Subject: Re: bug#5655: incorrect paths for crt1.o, crtn.o, etc. References: <20100301232258.GM7587@ohnopublishing.net> From: Dan Nicolaescu X-Debbugs-No-Ack: yes Date: Sun, 25 Apr 2010 17:19:09 -0400 In-Reply-To: (Glenn Morris's message of "Sat\, 24 Apr 2010 15\:51\:36 -0400") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 5655 Cc: 5655@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) Glenn Morris writes: > Dan Nicolaescu wrote: > >> It looks like the FreeBSD code in amdx86-64.h is now the same as the >> #else code. Can they be unified? > > Yes, I think you are right, well spotted. I did so. Thanks One more thing: can src/s/gnu-linux.h be changed to use $(CRT_DIR), that would avoid the need to special case GNU_LINUX in the src/m/* files... From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 26 12:36:41 2010 Received: (at 5655) by debbugs.gnu.org; 26 Apr 2010 16:36:41 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6RIW-0000qu-D8 for submit@debbugs.gnu.org; Mon, 26 Apr 2010 12:36:40 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6RIV-0000qp-1C for 5655@debbugs.gnu.org; Mon, 26 Apr 2010 12:36:39 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1O6RIQ-00021h-Ed; Mon, 26 Apr 2010 12:36:34 -0400 To: Dan Nicolaescu Subject: Re: bug#5655: incorrect paths for crt1.o, crtn.o, etc. References: <20100301232258.GM7587@ohnopublishing.net> From: Glenn Morris X-Spook: Uzbekistan Ft. Meade emc Albanian strategic Bosnia Osama X-Ran: w:l+yZS#{m$&P6`]~tq6V@_fkU<58m;RC'H!-*bHF?WO~hhTc@v+`p&r7.e_x~cm/RN+pS X-Hue: blue X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 26 Apr 2010 12:36:34 -0400 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: 5655 Cc: 5655@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Dan Nicolaescu wrote: > One more thing: can src/s/gnu-linux.h be changed to use $(CRT_DIR), > that would avoid the need to special case GNU_LINUX in the src/m/* files... Sorry, I don't understand the proposal; but CRT_DIR == /usr/lib in the majority of cases. It can only be different on x86_64-*-linux-gnu* or s390x-*-linux-gnu* systems. So you should feel free to replace /usr/lib by $CRT_DIR anywhere else basically. It would be nice to move all the crt*.o logic entirely to configure (and so make the --with-crt-dir option work the same on all platforms), but I don't know how to replicate the logic of m/sparc.h and m/macppc.h in configure.in. From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 26 13:16:58 2010 Received: (at 5655) by debbugs.gnu.org; 26 Apr 2010 17:16:58 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6RvV-0001iR-LP for submit@debbugs.gnu.org; Mon, 26 Apr 2010 13:16:57 -0400 Received: from mail-out.m-online.net ([212.18.0.9]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6RvT-0001iH-A7 for 5655@debbugs.gnu.org; Mon, 26 Apr 2010 13:16:56 -0400 Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id 4CCC11C156FC; Mon, 26 Apr 2010 19:16:50 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 0F6A690141; Mon, 26 Apr 2010 19:16:50 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.3.149]) by localhost (dynscan1.mnet-online.de [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id 2v2cy9mnF-eU; Mon, 26 Apr 2010 19:16:49 +0200 (CEST) Received: from igel.home (ppp-88-217-126-225.dynamic.mnet-online.de [88.217.126.225]) by mail.mnet-online.de (Postfix) with ESMTP; Mon, 26 Apr 2010 19:16:49 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 04F8ECA297; Mon, 26 Apr 2010 19:16:48 +0200 (CEST) From: Andreas Schwab To: Glenn Morris Subject: Re: bug#5655: incorrect paths for crt1.o, crtn.o, etc. References: <20100301232258.GM7587@ohnopublishing.net> X-Yow: How's the wife? Is she at home enjoying capitalism? Date: Mon, 26 Apr 2010 19:16:48 +0200 In-Reply-To: (Glenn Morris's message of "Mon, 26 Apr 2010 12:36:34 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.96 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 5655 Cc: Dan Nicolaescu , 5655@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Glenn Morris writes: > Sorry, I don't understand the proposal; but CRT_DIR == /usr/lib in the > majority of cases. It can only be different on x86_64-*-linux-gnu* or > s390x-*-linux-gnu* systems. Or sparc64-* or ppc64-*. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 26 13:26:23 2010 Received: (at 5655) by debbugs.gnu.org; 26 Apr 2010 17:26:24 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6S4c-0001nB-VM for submit@debbugs.gnu.org; Mon, 26 Apr 2010 13:26:23 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6S4c-0001n5-AG for 5655@debbugs.gnu.org; Mon, 26 Apr 2010 13:26:22 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1O6S4X-0003rC-K7; Mon, 26 Apr 2010 13:26:17 -0400 To: Andreas Schwab Subject: Re: bug#5655: incorrect paths for crt1.o, crtn.o, etc. References: <20100301232258.GM7587@ohnopublishing.net> From: Glenn Morris X-Spook: Adriatic csim Montenegro lynch Roswell CipherTAC-2000 X-Ran: a7/3XA@ZPnS1kzKB8-}f`2aJh,Fn}1fW,E$a3e_(IdN">vc#2xSyN[nWu(oq;38n]_Dv:" X-Hue: black X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 26 Apr 2010 13:26:17 -0400 In-Reply-To: (Andreas Schwab's message of "Mon\, 26 Apr 2010 19\:16\:48 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: 5655 Cc: Dan Nicolaescu , 5655@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Andreas Schwab wrote: >> Sorry, I don't understand the proposal; but CRT_DIR == /usr/lib in the >> majority of cases. It can only be different on x86_64-*-linux-gnu* or >> s390x-*-linux-gnu* systems. > > Or sparc64-* or ppc64-*. How can CRT_DIR be different from /usr/lib on these systems, given the test of $canonical configure does? From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 26 13:33:17 2010 Received: (at 5655) by debbugs.gnu.org; 26 Apr 2010 17:33:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6SBJ-0001qz-EG for submit@debbugs.gnu.org; Mon, 26 Apr 2010 13:33:17 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6SBH-0001qu-OJ for 5655@debbugs.gnu.org; Mon, 26 Apr 2010 13:33:16 -0400 Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1O6SBD-00047k-1H; Mon, 26 Apr 2010 13:33:11 -0400 To: Glenn Morris Subject: Re: bug#5655: incorrect paths for crt1.o, crtn.o, etc. References: <20100301232258.GM7587@ohnopublishing.net> From: Dan Nicolaescu Date: Mon, 26 Apr 2010 13:33:10 -0400 In-Reply-To: (Glenn Morris's message of "Mon\, 26 Apr 2010 12\:36\:34 -0400") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 5655 Cc: 5655@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) Glenn Morris writes: > Dan Nicolaescu wrote: > >> One more thing: can src/s/gnu-linux.h be changed to use $(CRT_DIR), >> that would avoid the need to special case GNU_LINUX in the src/m/* files... > > Sorry, I don't understand the proposal; but CRT_DIR == /usr/lib in the > majority of cases. It can only be different on x86_64-*-linux-gnu* or > s390x-*-linux-gnu* systems. So you should feel free to replace > /usr/lib by $CRT_DIR anywhere else basically. What I am saying is that if src/s/gnu-linux.h would use $(CRT_DIR) then src/m/amdx86-64.h would not need special casing for GNU_LINUX. > It would be nice to move all the crt*.o logic entirely to configure > (and so make the --with-crt-dir option work the same on all > platforms), but I don't know how to replicate the logic of m/sparc.h > and m/macppc.h in configure.in. ${canonical} should be sparc64-* for the 64 bit case, versul sparc-* for the 32 bit one. Same for powerpc. Alternatively, less clean, but maybe easier to do: the same trick used for c_switch_machine could be used for LIB_STANDARD/START_FILES. From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 26 13:33:48 2010 Received: (at 5655) by debbugs.gnu.org; 26 Apr 2010 17:33:48 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6SBn-0001rG-MK for submit@debbugs.gnu.org; Mon, 26 Apr 2010 13:33:47 -0400 Received: from mail-out.m-online.net ([212.18.0.9]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6SBl-0001r9-Kf for 5655@debbugs.gnu.org; Mon, 26 Apr 2010 13:33:46 -0400 Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id 05C051C1582A; Mon, 26 Apr 2010 19:33:40 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id E2D249001A; Mon, 26 Apr 2010 19:33:40 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.3.149]) by localhost (dynscan1.mnet-online.de [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id l8f088KmD8wS; Mon, 26 Apr 2010 19:33:40 +0200 (CEST) Received: from igel.home (ppp-88-217-126-225.dynamic.mnet-online.de [88.217.126.225]) by mail.mnet-online.de (Postfix) with ESMTP; Mon, 26 Apr 2010 19:33:40 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id D9BC0CA297; Mon, 26 Apr 2010 19:33:39 +0200 (CEST) From: Andreas Schwab To: Glenn Morris Subject: Re: bug#5655: incorrect paths for crt1.o, crtn.o, etc. References: <20100301232258.GM7587@ohnopublishing.net> X-Yow: But was he mature enough last night at the lesbian masquerade? Date: Mon, 26 Apr 2010 19:33:39 +0200 In-Reply-To: (Glenn Morris's message of "Mon, 26 Apr 2010 13:26:17 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.96 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 5655 Cc: Dan Nicolaescu , 5655@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Glenn Morris writes: > Andreas Schwab wrote: > >>> Sorry, I don't understand the proposal; but CRT_DIR == /usr/lib in the >>> majority of cases. It can only be different on x86_64-*-linux-gnu* or >>> s390x-*-linux-gnu* systems. >> >> Or sparc64-* or ppc64-*. > > How can CRT_DIR be different from /usr/lib on these systems, given the > test of $canonical configure does? Not CRT_DIR, but the location of crt0.o. Sorry for being unclear. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 26 23:18:08 2010 Received: (at 5655) by debbugs.gnu.org; 27 Apr 2010 03:18:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6bJH-0006UT-TX for submit@debbugs.gnu.org; Mon, 26 Apr 2010 23:18:08 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6bJG-0006UA-5Y for 5655@debbugs.gnu.org; Mon, 26 Apr 2010 23:18:06 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1O6bJC-0003Dy-L8; Mon, 26 Apr 2010 23:18:02 -0400 To: Dan Nicolaescu Subject: Re: bug#5655: incorrect paths for crt1.o, crtn.o, etc. References: <20100301232258.GM7587@ohnopublishing.net> From: Glenn Morris X-Spook: Verisign Noriega underground red noise Ron Brown Albright X-Ran: jYy34%;"0Iyw6J>Lww@C=QdQ[}0+pd+87t=+_409^A/6!/,.Xy;P`@H\qvI!'TVUe%S{8& X-Hue: black X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 26 Apr 2010 23:18:02 -0400 Message-ID: <987hntoa6t.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: 5655 Cc: 5655@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Dan Nicolaescu wrote: > src/s/gnu-linux.h > would use $(CRT_DIR) > then src/m/amdx86-64.h would not need special casing for GNU_LINUX. [...] > ${canonical} should be sparc64-* for the 64 bit case, versul sparc-* > for the 32 bit one. Same for powerpc. See the latest version, it certainly looks much simpler now. I hope I understood all this correctly and haven't broken anything; especially the else branch of src/m/amdx86-64.h. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 27 02:31:25 2010 Received: (at 5655) by debbugs.gnu.org; 27 Apr 2010 06:31:26 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6eKL-0007pG-B5 for submit@debbugs.gnu.org; Tue, 27 Apr 2010 02:31:25 -0400 Received: from mail.gmx.net ([213.165.64.20]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1O6eKH-0007pB-U4 for 5655@debbugs.gnu.org; Tue, 27 Apr 2010 02:31:23 -0400 Received: (qmail invoked by alias); 27 Apr 2010 06:31:17 -0000 Received: from p548628BE.dip.t-dialin.net (EHLO turtle.gmx.de) [84.134.40.190] by mail.gmx.net (mp009) with SMTP; 27 Apr 2010 08:31:17 +0200 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX1+F3zx82OeFGzQcLrKqwcAHna5lIvYIo4GpQ0P3tB Tm1/Cfpq94wT/v Received: by turtle.gmx.de (Postfix, from userid 1000) id 6E04E3F45E; Tue, 27 Apr 2010 08:31:17 +0200 (CEST) From: Sven Joachim To: Glenn Morris Subject: Re: bug#5655: incorrect paths for crt1.o, crtn.o, etc. References: <20100301232258.GM7587@ohnopublishing.net> <987hntoa6t.fsf@fencepost.gnu.org> Date: Tue, 27 Apr 2010 08:31:17 +0200 In-Reply-To: <987hntoa6t.fsf@fencepost.gnu.org> (Glenn Morris's message of "Mon, 26 Apr 2010 23:18:02 -0400") Message-ID: <87iq7dcsp6.fsf@turtle.gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.96 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.53000000000000003 X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 5655 Cc: Dan Nicolaescu , 5655@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.0 (---) On 2010-04-27 05:18 +0200, Glenn Morris wrote: > Dan Nicolaescu wrote: > >> src/s/gnu-linux.h >> would use $(CRT_DIR) >> then src/m/amdx86-64.h would not need special casing for GNU_LINUX. > [...] >> ${canonical} should be sparc64-* for the 64 bit case, versul sparc-* >> for the 32 bit one. Same for powerpc. > > See the latest version, it certainly looks much simpler now. I hope I > understood all this correctly and haven't broken anything; especially > the else branch of src/m/amdx86-64.h. Alas, my combination of a 64-bit kernel and 32-bit userland on x86 is broken now: ,---- | % /.configure && make | [...] | /usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib64/crt1.o' is incompatible with i386 output | /usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib64/crti.o' is incompatible with i386 output | /usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib64/crtn.o' is incompatible with i386 output | /usr/bin/ld: final link failed: Invalid operation | collect2: ld returned 1 exit status | make[1]: *** [temacs] Error 1 `---- Sven From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 27 02:51:12 2010 Received: (at 5655) by debbugs.gnu.org; 27 Apr 2010 06:51:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6edU-0007zE-1g for submit@debbugs.gnu.org; Tue, 27 Apr 2010 02:51:12 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6edS-0007z9-2a for 5655@debbugs.gnu.org; Tue, 27 Apr 2010 02:51:10 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1O6edM-0000yg-Rs; Tue, 27 Apr 2010 02:51:04 -0400 To: Sven Joachim Subject: Re: bug#5655: incorrect paths for crt1.o, crtn.o, etc. References: <20100301232258.GM7587@ohnopublishing.net> <987hntoa6t.fsf@fencepost.gnu.org> <87iq7dcsp6.fsf@turtle.gmx.de> From: Glenn Morris X-Spook: AMEMB Ft. Bragg cypherpunk CDMA David John Oates lock X-Ran: >AE_j_TxXAkt?8m2{xCo5_UA;O)DAx>;^\l1|iJamkV>l(CFV%OE'!;6s~2CT+lxSh5P=k X-Hue: yellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 27 Apr 2010 02:51:04 -0400 In-Reply-To: <87iq7dcsp6.fsf@turtle.gmx.de> (Sven Joachim's message of "Tue\, 27 Apr 2010 08\:31\:17 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: 5655 Cc: Dan Nicolaescu , 5655@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) Sven Joachim wrote: > Alas, my combination of a 64-bit kernel and 32-bit userland on x86 is > broken now: > > ,---- > | % /.configure && make > | [...] > | /usr/bin/ld: i386:x86-64 architecture of input file `/usr/lib64/crt1.o' is incompatible with i386 output Sorry about that. Can you try to debug it? It's not obvious to me why that should happen. What is $canonical on your system? (In the meantime, you can work round it by passing --with-crt-dir=usr/lib ) From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 27 03:04:18 2010 Received: (at 5655) by debbugs.gnu.org; 27 Apr 2010 07:04:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6eq9-00085C-9S for submit@debbugs.gnu.org; Tue, 27 Apr 2010 03:04:17 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6eq7-000856-Ie for 5655@debbugs.gnu.org; Tue, 27 Apr 2010 03:04:15 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1O6eq3-0001el-Rp; Tue, 27 Apr 2010 03:04:11 -0400 To: Sven Joachim Subject: Re: bug#5655: incorrect paths for crt1.o, crtn.o, etc. References: <20100301232258.GM7587@ohnopublishing.net> <987hntoa6t.fsf@fencepost.gnu.org> <87iq7dcsp6.fsf@turtle.gmx.de> From: Glenn Morris X-Spook: Crowell corporate security industrial espionage Abu X-Ran: rG??|Mcav]TQy}VS}_y=3yJoC"7Hh@>gnXH`aQ7NnR#8B+L{<$K?@:229'^(v`&^3&Gk5> X-Hue: white X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 27 Apr 2010 03:04:11 -0400 In-Reply-To: (Glenn Morris's message of "Tue\, 27 Apr 2010 02\:51\:04 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: 5655 Cc: Dan Nicolaescu , 5655@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Glenn Morris wrote: > Sorry about that. Can you try to debug it? It's not obvious to me why > that should happen. What is $canonical on your system? I guess it is this comment in src/m/amdx86-64.h. It seems to me that the right fix is to set $canonical correctly on such a system to i386-*-linux-gnu* rather than x86_64-*-linux-gnu*. /* 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. */ From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 27 03:12:01 2010 Received: (at 5655) by debbugs.gnu.org; 27 Apr 2010 07:12:02 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6exc-00088i-Qq for submit@debbugs.gnu.org; Tue, 27 Apr 2010 03:12:01 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6exb-00088c-Af for 5655@debbugs.gnu.org; Tue, 27 Apr 2010 03:11:59 -0400 Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1O6exW-0001us-Pb; Tue, 27 Apr 2010 03:11:54 -0400 To: Glenn Morris Subject: Re: bug#5655: incorrect paths for crt1.o, crtn.o, etc. References: <20100301232258.GM7587@ohnopublishing.net> <987hntoa6t.fsf@fencepost.gnu.org> <87iq7dcsp6.fsf@turtle.gmx.de> From: Dan Nicolaescu Date: Tue, 27 Apr 2010 03:11:54 -0400 In-Reply-To: (Glenn Morris's message of "Tue\, 27 Apr 2010 03\:04\:11 -0400") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 5655 Cc: 5655@debbugs.gnu.org, Sven Joachim X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) Glenn Morris writes: > Glenn Morris wrote: > >> Sorry about that. Can you try to debug it? It's not obvious to me why >> that should happen. What is $canonical on your system? > > I guess it is this comment in src/m/amdx86-64.h. It seems to me that > the right fix is to set $canonical correctly on such a system to > i386-*-linux-gnu* rather than x86_64-*-linux-gnu*. Agreed, IMHO this is an ugly hack. Sven, what does ./config.guess output on your machine? It's doubtful that emacs is the only program that has to deal with this situation, it would be interesting to know what the usual practice is... > /* 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. */ From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 27 03:25:34 2010 Received: (at 5655) by debbugs.gnu.org; 27 Apr 2010 07:25:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6fAk-0008FV-C0 for submit@debbugs.gnu.org; Tue, 27 Apr 2010 03:25:34 -0400 Received: from mail.gmx.net ([213.165.64.20]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1O6fAh-0008FK-85 for 5655@debbugs.gnu.org; Tue, 27 Apr 2010 03:25:32 -0400 Received: (qmail invoked by alias); 27 Apr 2010 07:25:27 -0000 Received: from p548628BE.dip.t-dialin.net (EHLO turtle.gmx.de) [84.134.40.190] by mail.gmx.net (mp039) with SMTP; 27 Apr 2010 09:25:27 +0200 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX1/LDz51spnLV23JfCsaE1YGpTT3kR61PjgztVGULx QN7RfEdOJgjtHE Received: by turtle.gmx.de (Postfix, from userid 1000) id B14B63F45E; Tue, 27 Apr 2010 09:25:26 +0200 (CEST) From: Sven Joachim To: Glenn Morris Subject: Re: bug#5655: incorrect paths for crt1.o, crtn.o, etc. References: <20100301232258.GM7587@ohnopublishing.net> <987hntoa6t.fsf@fencepost.gnu.org> <87iq7dcsp6.fsf@turtle.gmx.de> Date: Tue, 27 Apr 2010 09:25:26 +0200 In-Reply-To: (Glenn Morris's message of "Tue, 27 Apr 2010 03:04:11 -0400") Message-ID: <877hntcq6x.fsf@turtle.gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.96 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.62 X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 5655 Cc: Dan Nicolaescu , 5655@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.0 (---) On 2010-04-27 09:04 +0200, Glenn Morris wrote: > Glenn Morris wrote: > >> Sorry about that. Can you try to debug it? It's not obvious to me why >> that should happen. What is $canonical on your system? x86_64-unknown-linux-gnu > I guess it is this comment in src/m/amdx86-64.h. It seems to me that > the right fix is to set $canonical correctly on such a system to > i386-*-linux-gnu* rather than x86_64-*-linux-gnu*. This is a general autoconf problem, it uses "uname -m" which does not describe the system adequately. > /* 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. */ Well, "./configure --build=i486-pc-linux-gnu" works, I can live with that for now. Thanks for tackling this problem, previously it had not been possible to build a 64-bit Emacs with CC="gcc -m64", but now it is (using various --without-foo options because the only available 64-bit libraries are libc and ncurses). Sven From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 27 03:49:57 2010 Received: (at 5655) by debbugs.gnu.org; 27 Apr 2010 07:49:57 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6fYL-0008R2-L2 for submit@debbugs.gnu.org; Tue, 27 Apr 2010 03:49:57 -0400 Received: from mail.gmx.net ([213.165.64.20]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1O6fYJ-0008Qx-GD for 5655@debbugs.gnu.org; Tue, 27 Apr 2010 03:49:56 -0400 Received: (qmail invoked by alias); 27 Apr 2010 07:49:51 -0000 Received: from p548628BE.dip.t-dialin.net (EHLO turtle.gmx.de) [84.134.40.190] by mail.gmx.net (mp048) with SMTP; 27 Apr 2010 09:49:51 +0200 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX1/amjVWysTaJo1TllQVIMpGfvw1wAeJvmf9MEcYzL AQ7eBrd7sITU7h Received: by turtle.gmx.de (Postfix, from userid 1000) id 1DAEB3F45E; Tue, 27 Apr 2010 09:49:52 +0200 (CEST) From: Sven Joachim To: Dan Nicolaescu Subject: Re: bug#5655: incorrect paths for crt1.o, crtn.o, etc. References: <20100301232258.GM7587@ohnopublishing.net> <987hntoa6t.fsf@fencepost.gnu.org> <87iq7dcsp6.fsf@turtle.gmx.de> Date: Tue, 27 Apr 2010 09:49:51 +0200 In-Reply-To: (Dan Nicolaescu's message of "Tue, 27 Apr 2010 03:11:54 -0400") Message-ID: <87zl0pbahs.fsf@turtle.gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.96 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.64000000000000001 X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 5655 Cc: Glenn Morris , 5655@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) On 2010-04-27 09:11 +0200, Dan Nicolaescu wrote: > Glenn Morris writes: > >> I guess it is this comment in src/m/amdx86-64.h. It seems to me that >> the right fix is to set $canonical correctly on such a system to >> i386-*-linux-gnu* rather than x86_64-*-linux-gnu*. > > Agreed, IMHO this is an ugly hack. > > Sven, what does > ./config.guess > output on your machine? x86_64-unknown-linux-gnu > It's doubtful that emacs is the only program that has to deal with > this situation, it would be interesting to know what the usual > practice is... My experience is that nobody really cares. Most programs build fine despite the wrong guessed build system type, and for the ones that don't you have to specify the --build option or run the whole build process under linux32. In Debian there is dpkg-architecture which prints correct values that you can feed as --build and --host arguments, but I am not aware of a general solution. Sven From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 27 13:33:13 2010 Received: (at 5655) by debbugs.gnu.org; 27 Apr 2010 17:33:13 +0000 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 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 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 To: Sven Joachim Subject: Re: bug#5655: incorrect paths for crt1.o, crtn.o, etc. References: <20100301232258.GM7587@ohnopublishing.net> <987hntoa6t.fsf@fencepost.gnu.org> <87iq7dcsp6.fsf@turtle.gmx.de> <877hntcq6x.fsf@turtle.gmx.de> From: Glenn Morris 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") Message-ID: <3wtyqw2433.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: 5655 Cc: Dan Nicolaescu , 5655@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.1 (-----) 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 ---- From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 27 15:27:45 2010 Received: (at 5655) by debbugs.gnu.org; 27 Apr 2010 19:27:46 +0000 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 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 Received: (qmail invoked by alias); 27 Apr 2010 19:27:33 -0000 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 Received: by turtle.gmx.de (Postfix, from userid 1000) id 67BB13F579; Tue, 27 Apr 2010 21:27:28 +0200 (CEST) From: Sven Joachim To: Glenn Morris Subject: Re: bug#5655: incorrect paths for crt1.o, crtn.o, etc. 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> Date: Tue, 27 Apr 2010 21:27:27 +0200 In-Reply-To: <3wtyqw2433.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 27 Apr 2010 13:33:04 -0400") Message-ID: <87r5m0elwg.fsf@turtle.gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.96 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.46999999999999997 X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 5655 Cc: Dan Nicolaescu , 5655@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 27 15:32:23 2010 Received: (at 5655) by debbugs.gnu.org; 27 Apr 2010 19:32:23 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6qW6-000281-UK for submit@debbugs.gnu.org; Tue, 27 Apr 2010 15:32:23 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6qW5-00027w-B7 for 5655@debbugs.gnu.org; Tue, 27 Apr 2010 15:32:21 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1O6qW0-0003yT-Ux; Tue, 27 Apr 2010 15:32:16 -0400 To: Sven Joachim Subject: Re: bug#5655: incorrect paths for crt1.o, crtn.o, etc. 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> <87r5m0elwg.fsf@turtle.gmx.de> From: Glenn Morris X-Spook: cryptographic Ortega Adriatic Comirex subversive ISEC X-Ran: yaL+e|9`N*Maq%:n(,sM4P9S,t,D@7EmV~1%vpew$JE.8@J))JT]$\sZC(sNXh|$x@{yMi X-Hue: white X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 27 Apr 2010 15:32:16 -0400 In-Reply-To: <87r5m0elwg.fsf@turtle.gmx.de> (Sven Joachim's message of "Tue\, 27 Apr 2010 21\:27\:27 +0200") Message-ID: <3nljc8wv27.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: 5655 Cc: Dan Nicolaescu , 5655@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.1 (-----) Sven Joachim wrote: > Does not seem to work at all. Sorry, the configure.in part was missing a line (machfile): *** configure.in 2010-04-27 08:09:01 +0000 --- configure.in 2010-04-27 19:29:48 +0000 *************** *** 761,766 **** --- 761,779 ---- 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]) + if test "$ac_cv_have_decl_i386" = "yes"; then + machine=intel386 + machfile="m/${machine}.h" + fi + 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) From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 27 15:59:15 2010 Received: (at 5655) by debbugs.gnu.org; 27 Apr 2010 19:59:16 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6qw7-0002L7-4F for submit@debbugs.gnu.org; Tue, 27 Apr 2010 15:59:15 -0400 Received: from mail.gmx.net ([213.165.64.20]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1O6qw4-0002L1-9m for 5655@debbugs.gnu.org; Tue, 27 Apr 2010 15:59:13 -0400 Received: (qmail invoked by alias); 27 Apr 2010 19:59:07 -0000 Received: from p548628BE.dip.t-dialin.net (EHLO turtle.gmx.de) [84.134.40.190] by mail.gmx.net (mp047) with SMTP; 27 Apr 2010 21:59:07 +0200 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX18UWocEpu0UGghVpAJo04sRBamybhUUlqeh2Hlovd sL6x4Hyx0MAH8X Received: by turtle.gmx.de (Postfix, from userid 1000) id 4CD9B3F579; Tue, 27 Apr 2010 21:59:03 +0200 (CEST) From: Sven Joachim To: Glenn Morris Subject: Re: bug#5655: incorrect paths for crt1.o, crtn.o, etc. 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> <87r5m0elwg.fsf@turtle.gmx.de> <3nljc8wv27.fsf@fencepost.gnu.org> Date: Tue, 27 Apr 2010 21:59:03 +0200 In-Reply-To: <3nljc8wv27.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 27 Apr 2010 15:32:16 -0400") Message-ID: <87eii0ekfs.fsf@turtle.gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.96 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.66000000000000003 X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 5655 Cc: Dan Nicolaescu , 5655@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) On 2010-04-27 21:32 +0200, Glenn Morris wrote: > Sorry, the configure.in part was missing a line (machfile): That's better, but unfortunately it does not fix the problem described in <87iq7dcsp6.fsf@turtle.gmx.de>. Sven From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 27 16:17:32 2010 Received: (at 5655) by debbugs.gnu.org; 27 Apr 2010 20:17:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6rDo-0002UT-Ba for submit@debbugs.gnu.org; Tue, 27 Apr 2010 16:17:32 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6rDl-0002UN-TC for 5655@debbugs.gnu.org; Tue, 27 Apr 2010 16:17:30 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1O6rDh-0005g8-F4; Tue, 27 Apr 2010 16:17:25 -0400 To: Sven Joachim Subject: Re: bug#5655: incorrect paths for crt1.o, crtn.o, etc. 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> <87r5m0elwg.fsf@turtle.gmx.de> <3nljc8wv27.fsf@fencepost.gnu.org> <87eii0ekfs.fsf@turtle.gmx.de> From: Glenn Morris X-Spook: embassy BROMURE Putin New World Order Jiang Zemin class X-Ran: EggJ<5kZy_J2JROk:pvu.`QOt"B-ENLjngwyh~vf]-zkw7V+],P[aT*E%ejAm)Yi&l{n$7 X-Hue: green X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 27 Apr 2010 16:17:25 -0400 In-Reply-To: <87eii0ekfs.fsf@turtle.gmx.de> (Sven Joachim's message of "Tue\, 27 Apr 2010 21\:59\:03 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: 5655 Cc: Dan Nicolaescu , 5655@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.1 (-----) Sven Joachim wrote: > That's better, but unfortunately it does not fix the problem described > in <87iq7dcsp6.fsf@turtle.gmx.de>. Painfully inching towards a solution. *** configure.in 2010-04-27 08:09:01 +0000 --- configure.in 2010-04-27 20:14:42 +0000 *************** *** 761,766 **** --- 761,780 ---- 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]) + if test "$ac_cv_have_decl_i386" = "yes"; then + canonical=`echo "$canonical" | sed -e 's/^amd64/i386/' -e 's/^x86_64/i386/'` + machine=intel386 + machfile="m/${machine}.h" + fi + 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) From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 28 01:49:12 2010 Received: (at 5655) by debbugs.gnu.org; 28 Apr 2010 05:49:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O7091-0007uN-Sh for submit@debbugs.gnu.org; Wed, 28 Apr 2010 01:49:12 -0400 Received: from mail.gmx.net ([213.165.64.20]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1O7090-0007uH-B0 for 5655@debbugs.gnu.org; Wed, 28 Apr 2010 01:49:11 -0400 Received: (qmail invoked by alias); 28 Apr 2010 05:49:06 -0000 Received: from p54862A82.dip.t-dialin.net (EHLO turtle.gmx.de) [84.134.42.130] by mail.gmx.net (mp043) with SMTP; 28 Apr 2010 07:49:06 +0200 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX1+tsPBI2dWthGw+4LbTlpZwToG36ZHrEuON55YNn7 W4SErO1vmfj8Kn Received: by turtle.gmx.de (Postfix, from userid 1000) id 2E7233F57C; Wed, 28 Apr 2010 07:49:05 +0200 (CEST) From: Sven Joachim To: Glenn Morris Subject: Re: bug#5655: incorrect paths for crt1.o, crtn.o, etc. 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> <87r5m0elwg.fsf@turtle.gmx.de> <3nljc8wv27.fsf@fencepost.gnu.org> <87eii0ekfs.fsf@turtle.gmx.de> Date: Wed, 28 Apr 2010 07:49:05 +0200 In-Reply-To: (Glenn Morris's message of "Tue, 27 Apr 2010 16:17:25 -0400") Message-ID: <874oiwktym.fsf@turtle.gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.96 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.47999999999999998 X-Spam-Score: -1.8 (-) X-Debbugs-Envelope-To: 5655 Cc: Dan Nicolaescu , 5655@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.8 (-) On 2010-04-27 22:17 +0200, Glenn Morris wrote: > Painfully inching towards a solution. > > *** configure.in 2010-04-27 08:09:01 +0000 > --- configure.in 2010-04-27 20:14:42 +0000 > *************** > *** 761,766 **** > --- 761,780 ---- > 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]) > + if test "$ac_cv_have_decl_i386" = "yes"; then > + canonical=`echo "$canonical" | sed -e 's/^amd64/i386/' -e 's/^x86_64/i386/'` > + machine=intel386 > + machfile="m/${machine}.h" > + fi > + 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) Thanks, this works. Sven From unknown Fri Jul 11 01:13:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 26 May 2010 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator