[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#5518: >=emacs-23.1 fails to build on ARM EABI under GNU/Linux

From: Chong Yidong
Subject: bug#5518: >=emacs-23.1 fails to build on ARM EABI under GNU/Linux
Date: Thu, 18 Feb 2010 04:01:33 -0500

> 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) */

reply via email to

[Prev in Thread] Current Thread [Next in Thread]