bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Raúl Porcel
Subject: bug#5518: >=emacs-23.1 fails to build on ARM EABI under GNU/Linux
Date: Sun, 21 Feb 2010 13:13:58 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1

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







reply via email to

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