From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nathan Phillip Brink Newsgroups: gmane.emacs.bugs Subject: bug#5655: 23.1; incorrect paths for crt1.o, crtn.o, etc. Date: Sat, 27 Feb 2010 23:30:52 -0500 (EST) Message-ID: <20100228043052.5378236D56@ohnopublishing.net> NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1267368724 23684 80.91.229.12 (28 Feb 2010 14:52:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 28 Feb 2010 14:52:04 +0000 (UTC) To: 5655@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 28 15:51:59 2010 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 1NlkUq-0002i7-Tw for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Feb 2010 15:51:59 +0100 Original-Received: from localhost ([127.0.0.1]:59028 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NlkUm-0003XO-HW for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Feb 2010 09:51:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nlbcm-00059b-8Z for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2010 00:23:28 -0500 Original-Received: from [140.186.70.92] (port=47347 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nlbcl-00059T-8T for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2010 00:23:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nlbck-0005fd-AE for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2010 00:23:27 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42834) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nlbck-0005fZ-79 for bug-gnu-emacs@gnu.org; Sun, 28 Feb 2010 00:23:26 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NlbEA-0004Dk-4q; Sat, 27 Feb 2010 23:58:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Nathan Phillip Brink Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Feb 2010 04:58:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: report 5655 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.126733307516213 (code B ref -1); Sun, 28 Feb 2010 04:58:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Feb 2010 04:57:55 +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 1NlbE2-0004DS-55 for submit@debbugs.gnu.org; Sat, 27 Feb 2010 23:57:54 -0500 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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= 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-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 Resent-Date: Sat, 27 Feb 2010 23:58:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Sun, 28 Feb 2010 09:51:22 -0500 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:35353 Archived-At: 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]