From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#5518: >=emacs-23.1 fails to build on ARM EABI under GNU/Linux Date: Thu, 18 Feb 2010 04:01:33 -0500 Message-ID: <874ole534i.fsf@stupidchicken.com> References: <4B69CFC0.4060504@gentoo.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1266485022 12359 80.91.229.12 (18 Feb 2010 09:23:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Feb 2010 09:23:42 +0000 (UTC) Cc: 5518@debbugs.gnu.org To: =?UTF-8?Q?Ra=C3=BAl?= Porcel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 18 10:23:34 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 1Ni2bX-0001FR-6M for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Feb 2010 10:23:34 +0100 Original-Received: from localhost ([127.0.0.1]:42794 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ni2bQ-0004rt-Ha for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Feb 2010 04:23:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ni2bD-0004oL-N6 for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2010 04:23:07 -0500 Original-Received: from [140.186.70.92] (port=36631 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ni2bA-0004m9-4b for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2010 04:23:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ni2ax-0008Eb-CW for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2010 04:22:52 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57839) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ni2ax-0008ER-9p for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2010 04:22:51 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Ni2Go-0005lx-BI; Thu, 18 Feb 2010 04:02:02 -0500 X-Loop: bug-gnu-emacs@gnu.org In-Reply-To: <4B69CFC0.4060504@gentoo.org> Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Feb 2010 09:02:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5518 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: patch Original-Received: via spool by 5518-submit@debbugs.gnu.org id=B5518.126648370322175 (code B ref 5518); Thu, 18 Feb 2010 09:02:02 +0000 Original-Received: (at 5518) by debbugs.gnu.org; 18 Feb 2010 09:01:43 +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 1Ni2GV-0005lc-7w for submit@debbugs.gnu.org; Thu, 18 Feb 2010 04:01:43 -0500 Original-Received: from pantheon-po33.its.yale.edu ([130.132.50.94]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ni2GR-0005lR-Ut for 5518@debbugs.gnu.org; Thu, 18 Feb 2010 04:01:42 -0500 Original-Received: from furry (bb116-15-4-208.singnet.com.sg [116.15.4.208]) (authenticated bits=0) by pantheon-po33.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o1I91YY1031049 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 18 Feb 2010 04:01:36 -0500 Original-Received: by furry (Postfix, from userid 1000) id 534C1C05D; Thu, 18 Feb 2010 04:01:33 -0500 (EST) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 18 Feb 2010 04:02:02 -0500 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:35158 Archived-At: > On an armv5tel system with either Debian or Gentoo GNU/Linux, >=emacs-23 > fails to build. I've tried with bzr trunk too. > > For some reason, it doesn't fail if some dependencies are available on > the system(i believe they are X-related). But AFAIK emacs doesn't need > those if we aren't building X support. Besides on ARM OABI it compiles fine. > > The patch available at > http://gnutoo.homelinux.org/open_embedded/recipes/emacs/files/nostdlib-unwind.patch > fixes this problem. Please note that i didn't do the patch. Does this alternative patch work for you? *** src/m/arm.h 2010-01-13 08:35:10 +0000 --- src/m/arm.h 2010-02-18 09:00:22 +0000 *************** *** 36,40 **** --- 36,45 ---- #define NO_REMAP + #ifdef GNU_LINUX + #define LINKER $(CC) -nostdlib -lgcc_s + #endif + + /* arch-tag: 07856f0c-f0c8-4bd8-99af-0b7fa1e5ee42 (do not change this comment) */