all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Raúl Porcel" <armin76@gentoo.org>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 5518@debbugs.gnu.org
Subject: bug#5518: >=emacs-23.1 fails to build on ARM EABI under GNU/Linux
Date: Sun, 21 Feb 2010 13:13:58 +0100	[thread overview]
Message-ID: <4B812386.9080008@gentoo.org> (raw)
In-Reply-To: <87k4u7odk0.fsf@stupidchicken.com>

On 02/20/2010 09:30 PM, Chong Yidong wrote:
> Raúl Porcel <armin76@gentoo.org> writes:
> 
>> Right, sorry
>>
>> Tested the one with LIB_GCC and works perfectly.
> 
> Could you check if this slightly modified patch also works correctly?
> 
> Thanks.
> 
> 
> *** src/m/arm.h	2010-01-13 08:35:10 +0000
> --- src/m/arm.h	2010-02-20 20:19:16 +0000
> ***************
> *** 36,40 ****
> --- 36,46 ----
>   
>   #define NO_REMAP
>   
> + /* This seems to be necessary for GNU/Linux (Bug#5518).  */
> + #if defined (GNU_LINUX) && !defined (LIB_GCC)
> + #define LIB_GCC -lgcc_s
> + #endif
> + 
> + 
>   /* arch-tag: 07856f0c-f0c8-4bd8-99af-0b7fa1e5ee42
>      (do not change this comment) */
> 

That one doesn't work

gcc -Wl,-znocombreloc  prefix-args.o -o prefix-args
gcc -nostdlib `./prefix-args -Xlinker  -z nocombreloc` -Wl,-znocombreloc
 -o temacs pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o dispnew.o frame.o
scroll.o xdisp.o menu.o  window.o charset.o coding.o category.o ccl.o
character.o chartab.o cm.o term.o terminal.o xfaces.o    emacs.o
keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o
marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o
casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o
editfns.o callint.o eval.o floatfns.o fns.o font.o print.o lread.o
syntax.o unexelf.o bytecode.o process.o callproc.o region-cache.o
sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o
md5.o     termcap.o tparam.o lastfile.o   vm-limit.o            -lm
-lgcc -lc -lgcc /usr/lib/crtn.o
/usr/lib/gcc/arm-linux-gnueabi/4.4.3/libgcc.a(bpabi.o):(.ARM.exidx+0x0):
undefined reference to `__aeabi_unwind_cpp_pr0'
/usr/lib/gcc/arm-linux-gnueabi/4.4.3/libgcc.a(_divdi3.o):(.ARM.exidx+0x0):
undefined reference to `__aeabi_unwind_cpp_pr0'
/usr/lib/gcc/arm-linux-gnueabi/4.4.3/libgcc.a(_udivdi3.o):(.ARM.exidx+0x0):
undefined reference to `__aeabi_unwind_cpp_pr0'
collect2: ld returned 1 exit status
make[1]: *** [temacs] Error 1
make[1]: Leaving directory `/root/emacs/src'
make: *** [src] Error 2







      parent reply	other threads:[~2010-02-21 12:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-03 19:34 bug#5518: >=emacs-23.1 fails to build on ARM EABI under GNU/Linux Raúl Porcel
2010-02-18  9:01 ` Chong Yidong
2010-02-18  9:54   ` Andreas Schwab
2010-02-18 10:00   ` Andreas Schwab
2010-02-18 10:42     ` Chong Yidong
2010-02-18 12:29       ` Andreas Schwab
2010-02-18 13:07         ` Chong Yidong
2010-02-20 18:09           ` Raúl Porcel
2010-02-20 18:35             ` Chong Yidong
2010-02-20 20:00               ` Raúl Porcel
     [not found]                 ` <87k4u7odk0.fsf@stupidchicken.com>
2010-02-21 12:13                   ` Raúl Porcel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B812386.9080008@gentoo.org \
    --to=armin76@gentoo.org \
    --cc=5518@debbugs.gnu.org \
    --cc=cyd@stupidchicken.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.