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: Wed, 03 Feb 2010 20:34:24 +0100
User-agent: Thunderbird 2.0.0.23 (X11/20090812)

Hi,

./configure --without-makeinfo && make

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.

Will attach it along with the build.log.
checking build system type... armv5tel-unknown-linux-gnueabi
checking host system type... armv5tel-unknown-linux-gnueabi
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether gcc understands -Wno-pointer-sign... yes
checking whether gcc understands -Wdeclaration-after-statement... yes
checking whether ln -s works... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for install-info... /usr/sbin/install-info
checking for install-info... (cached) /usr/sbin/install-info
checking for install-info... (cached) /usr/sbin/install-info
checking for gzip... /bin/gzip
checking for makeinfo... no
checking for -znocombreloc... yes
configure: checking the machine- and system-dependent files to find out
 - which libraries the lib-src programs will want, and
 - whether the GNU malloc routines are usable...
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking machine/soundcard.h usability... no
checking machine/soundcard.h presence... no
checking for machine/soundcard.h... no
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking soundcard.h usability... no
checking soundcard.h presence... no
checking for soundcard.h... no
checking for _oss_ioctl in -lossaudio... no
checking for pkg-config... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking linux/version.h usability... yes
checking linux/version.h presence... yes
checking for linux/version.h... yes
checking sys/systeminfo.h usability... no
checking sys/systeminfo.h presence... no
checking for sys/systeminfo.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking termcap.h usability... no
checking termcap.h presence... no
checking for termcap.h... no
checking stdio_ext.h usability... yes
checking stdio_ext.h presence... yes
checking for stdio_ext.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for strings.h... (cached) yes
checking coff.h usability... no
checking coff.h presence... no
checking for coff.h... no
checking pty.h usability... yes
checking pty.h presence... yes
checking for pty.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/vlimit.h usability... yes
checking sys/vlimit.h presence... yes
checking for sys/vlimit.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/_mbstate_t.h usability... no
checking sys/_mbstate_t.h presence... no
checking for sys/_mbstate_t.h... no
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking if personality LINUX32 can be set... yes
checking for term.h... no
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking whether sys_siglist is declared... no
checking whether __sys_siglist is declared... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for struct utimbuf... yes
checking return type of signal handlers... void
checking for speed_t... yes
checking for struct timeval... yes
checking for struct exception... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for net/if.h... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct tm.tm_gmtoff... yes
checking for struct ifreq.ifr_flags... yes
checking for struct ifreq.ifr_hwaddr... yes
checking for struct ifreq.ifr_netmask... yes
checking for struct ifreq.ifr_broadaddr... yes
checking for struct ifreq.ifr_addr... yes
checking for function prototypes... yes
checking for working volatile... yes
checking for an ANSI C-conforming const... yes
checking for void * support... yes
checking whether make sets $(MAKE)... yes
checking whether we are using GNU Make... yes
checking whether gcc understands -MMD -MF... yes
checking for long file names... yes
checking for X... no
checking for X... false
checking for malloc_get_state... yes
checking for malloc_set_state... yes
checking whether __after_morecore_hook exists... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for dnet_ntoa in -ldnet... no
checking for main in -lXbsd... no
checking for cma_open in -lpthreads... no
checking for pkg-config... (cached) no
checking gpm.h usability... no
checking gpm.h presence... no
checking for gpm.h... no
checking malloc/malloc.h usability... no
checking malloc/malloc.h presence... no
checking for malloc/malloc.h... no
checking whether netdb declares h_errno... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for sqrt in -lm... yes
checking for maillock in -lmail... no
checking for maillock in -llockfile... no
checking for liblockfile.so... no
checking for touchlock... no
checking maillock.h usability... no
checking maillock.h presence... no
checking for maillock.h... no
checking for gethostname... yes
checking for getdomainname... yes
checking for dup2... yes
checking for rename... yes
checking for closedir... yes
checking for mkdir... yes
checking for rmdir... yes
checking for sysinfo... yes
checking for getrusage... yes
checking for get_current_dir_name... yes
checking for random... yes
checking for lrand48... yes
checking for bcopy... yes
checking for bcmp... yes
checking for logb... yes
checking for frexp... yes
checking for fmod... yes
checking for rint... yes
checking for cbrt... yes
checking for ftime... yes
checking for setsid... yes
checking for strerror... yes
checking for fpathconf... yes
checking for select... yes
checking for mktime... yes
checking for euidaccess... yes
checking for getpagesize... (cached) yes
checking for tzset... yes
checking for setlocale... yes
checking for utimes... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for setpgid... yes
checking for getcwd... yes
checking for getwd... yes
checking for shutdown... yes
checking for getaddrinfo... yes
checking for __fpending... yes
checking for mblen... yes
checking for mbrlen... yes
checking for mbsinit... yes
checking for strsignal... yes
checking for setitimer... yes
checking for ualarm... yes
checking for index... yes
checking for rindex... yes
checking for sendto... yes
checking for recvfrom... yes
checking for getsockopt... yes
checking for setsockopt... yes
checking for getsockname... yes
checking for getpeername... yes
checking for gai_strerror... yes
checking for mkstemp... yes
checking for getline... yes
checking for getdelim... yes
checking for mremap... yes
checking for memmove... yes
checking for fsync... yes
checking for sync... yes
checking for bzero... yes
checking for memset... yes
checking for memcmp... yes
checking for difftime... yes
checking for memcpy... yes
checking for mempcpy... yes
checking for mblen... (cached) yes
checking for mbrlen... (cached) yes
checking for posix_memalign... yes
checking for cfmakeraw... yes
checking for cfsetspeed... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... yes
checking for getloadavg... yes
checking for pstat_getdynamic... no
checking for kstat_open in -lkstat... no
checking for getloadavg... yes
checking whether getloadavg requires setgid... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long_only... yes
checking whether optreset is declared... no
checking for working GNU getopt function... yes
checking whether getpgrp requires zero arguments... yes
checking for strftime... yes
checking for grantpt... yes
checking for getpt... yes
checking for tparm in -lncurses... no
checking for dgettext in -lintl... no
checking whether localtime caches TZ... no
checking for gettimeofday... yes
checking whether gettimeofday can accept two arguments... yes
checking for socket... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking whether system supports dynamic ptys... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for nl_langinfo and CODESET... yes
checking for size_t... yes
checking for mbstate_t... yes
checking for C restrict keyword... __restrict
checking for C restricted array declarations... yes

Configured for `armv5tel-unknown-linux-gnueabi'.

  Where should the build process find the source code?    /root/emacs
  What operating system and machine description files should Emacs use?
        `s/gnu-linux.h' and `m/arm.h'
  What compiler should emacs be built with?               gcc -g -O2 
-Wdeclaration-after-statement -Wno-pointer-sign  
  Should Emacs use the GNU version of malloc?             yes
      (Using Doug Lea's new malloc from the GNU C Library.)
  Should Emacs use a relocating allocator for buffers?    yes
  Should Emacs use mmap(2) for buffer allocation?         no
  What window system should Emacs use?                    none
  What toolkit should Emacs use?                          none
  Where do we find X Windows header files?                NONE
  Where do we find X Windows libraries?                   NONE
  Does Emacs use -lXaw3d?                                 no
  Does Emacs use -lXpm?                                   no
  Does Emacs use -ljpeg?                                  no
  Does Emacs use -ltiff?                                  no
  Does Emacs use a gif library?                           no 
  Does Emacs use -lpng?                                   no
  Does Emacs use -lrsvg-2?                                no
  Does Emacs use -lgpm?                                   no
  Does Emacs use -ldbus?                                  no
  Does Emacs use -lgconf?                                 no
  Does Emacs use -lfreetype?                              no
  Does Emacs use -lm17n-flt?                              no
  Does Emacs use -lotf?                                   no
  Does Emacs use -lxft?                                   no
  Does Emacs use toolkit scroll bars?                     no


configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib-src/Makefile.c
config.status: creating oldXMenu/Makefile
config.status: creating doc/emacs/Makefile
config.status: creating doc/misc/Makefile
config.status: creating doc/lispintro/Makefile
config.status: creating doc/lispref/Makefile
config.status: creating src/Makefile.c
config.status: creating lwlib/Makefile
config.status: creating lisp/Makefile
config.status: creating leim/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing default commands
creating src/epaths.h
src/epaths.h is unchanged
creating lib-src/Makefile
creating src/Makefile
cd lib-src; make all                            \
          CC='gcc' CFLAGS='-g -O2 -Wdeclaration-after-statement 
-Wno-pointer-sign  ' CPPFLAGS='-D_BSD_SOURCE  ' \
          LDFLAGS='-Wl,-znocombreloc ' MAKE='make'
make[1]: Entering directory `/root/emacs/lib-src'
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs/lib-src 
-I/root/emacs/lib-src/../src -Wl,-znocombreloc  -D_BSD_SOURCE   -g -O2 
-Wdeclaration-after-statement -Wno-pointer-sign   -o test-distrib 
/root/emacs/lib-src/test-distrib.c
./test-distrib /root/emacs/lib-src/testfile
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs/lib-src 
-I/root/emacs/lib-src/../src -Wl,-znocombreloc  -D_BSD_SOURCE   -g -O2 
-Wdeclaration-after-statement -Wno-pointer-sign   
/root/emacs/lib-src/make-docfile.c  -o make-docfile
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs/lib-src 
-I/root/emacs/lib-src/../src -Wl,-znocombreloc  -D_BSD_SOURCE   -g -O2 
-Wdeclaration-after-statement -Wno-pointer-sign   /root/emacs/lib-src/profile.c 
 -o profile
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs/lib-src 
-I/root/emacs/lib-src/../src -Wl,-znocombreloc  -D_BSD_SOURCE   -g -O2 
-Wdeclaration-after-statement -Wno-pointer-sign   
/root/emacs/lib-src/digest-doc.c  -o digest-doc
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs/lib-src 
-I/root/emacs/lib-src/../src -Wl,-znocombreloc  -D_BSD_SOURCE   -g -O2 
-Wdeclaration-after-statement -Wno-pointer-sign   
/root/emacs/lib-src/sorted-doc.c  -o sorted-doc
gcc -c -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs/lib-src 
-I/root/emacs/lib-src/../src -D_BSD_SOURCE   -g -O2 
-Wdeclaration-after-statement -Wno-pointer-sign    
/root/emacs/lib-src/movemail.c
gcc -c -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs/lib-src 
-I/root/emacs/lib-src/../src -D_BSD_SOURCE   -g -O2 
-Wdeclaration-after-statement -Wno-pointer-sign    /root/emacs/lib-src/pop.c
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs/lib-src 
-I/root/emacs/lib-src/../src -Wl,-znocombreloc  -g -O2 
-Wdeclaration-after-statement -Wno-pointer-sign    movemail.o pop.o          -o 
movemail
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs/lib-src 
-I/root/emacs/lib-src/../src -Wl,-znocombreloc  -D_BSD_SOURCE   -g -O2 
-Wdeclaration-after-statement -Wno-pointer-sign   
/root/emacs/lib-src/fakemail.c  -o fakemail
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs/lib-src 
-I/root/emacs/lib-src/../src -Wl,-znocombreloc  -D_BSD_SOURCE   -g -O2 
-Wdeclaration-after-statement -Wno-pointer-sign   /root/emacs/lib-src/hexl.c  
-o hexl
gcc -c -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs/lib-src 
-I/root/emacs/lib-src/../src -D_BSD_SOURCE   -g -O2 
-Wdeclaration-after-statement -Wno-pointer-sign   
/root/emacs/lib-src/update-game-score.c 
-DHAVE_SHARED_GAME_DIR="\"/usr/local/var/games/emacs\""
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs/lib-src 
-I/root/emacs/lib-src/../src -Wl,-znocombreloc  -g -O2 
-Wdeclaration-after-statement -Wno-pointer-sign    update-game-score.o   -o 
update-game-score
gcc -c -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs/lib-src 
-I/root/emacs/lib-src/../src -D_BSD_SOURCE   -g -O2 
-Wdeclaration-after-statement -Wno-pointer-sign   -DCONFIG_BROKETS 
-DINHIBIT_STRING_HEADER /root/emacs/lib-src/../src/regex.c
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs/lib-src 
-I/root/emacs/lib-src/../src -Wl,-znocombreloc  -D_BSD_SOURCE   -g -O2 
-Wdeclaration-after-statement -Wno-pointer-sign   -DEMACS_NAME="\"GNU Emacs\"" 
-DVERSION="\"23.1.92\"" /root/emacs/lib-src/etags.c  regex.o  -o etags
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs/lib-src 
-I/root/emacs/lib-src/../src -Wl,-znocombreloc  -D_BSD_SOURCE   -g -O2 
-Wdeclaration-after-statement -Wno-pointer-sign   -DCTAGS -DEMACS_NAME="\"GNU 
Emacs\"" -DVERSION="\"23.1.92\"" /root/emacs/lib-src/etags.c  regex.o  -o ctags
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs/lib-src 
-I/root/emacs/lib-src/../src -Wl,-znocombreloc  -D_BSD_SOURCE   -g -O2 
-Wdeclaration-after-statement -Wno-pointer-sign   
/root/emacs/lib-src/emacsclient.c  -DVERSION="\"23.1.92\""  -o emacsclient
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs/lib-src 
-I/root/emacs/lib-src/../src -Wl,-znocombreloc  -D_BSD_SOURCE   -g -O2 
-Wdeclaration-after-statement -Wno-pointer-sign   /root/emacs/lib-src/b2m.c 
-DVERSION="\"23.1.92\""   -o b2m
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs/lib-src 
-I/root/emacs/lib-src/../src -Wl,-znocombreloc  -D_BSD_SOURCE   -g -O2 
-Wdeclaration-after-statement -Wno-pointer-sign   -DVERSION="\"23.1.92\"" 
/root/emacs/lib-src/ebrowse.c   -o ebrowse
make[1]: Leaving directory `/root/emacs/lib-src'
boot=bootstrap-emacs;                         \
        if [ ! -x "src/$boot" ]; then                                     \
            cd src; make all                                    \
              CC='gcc' CFLAGS='-g -O2 -Wdeclaration-after-statement 
-Wno-pointer-sign  ' CPPFLAGS='-D_BSD_SOURCE  '         \
              LDFLAGS='-Wl,-znocombreloc ' MAKE='make' BOOTSTRAPEMACS="$boot"; \
        fi;
make[1]: Entering directory `/root/emacs/src'
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/pre-crt0.d pre-crt0.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/dispnew.d dispnew.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/frame.d frame.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/scroll.d scroll.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/xdisp.d xdisp.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/menu.d menu.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/window.d window.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/charset.d charset.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/coding.d coding.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/category.d category.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/ccl.d ccl.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/character.d character.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/chartab.d chartab.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/cm.d cm.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/term.d term.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/terminal.d terminal.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/xfaces.d xfaces.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/emacs.d emacs.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/keyboard.d keyboard.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/macros.d macros.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/keymap.d keymap.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/sysdep.d sysdep.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/buffer.d buffer.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/filelock.d filelock.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/insdel.d insdel.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/marker.d marker.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/minibuf.d minibuf.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/fileio.d fileio.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/dired.d dired.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/filemode.d filemode.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/cmds.d cmds.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/casetab.d casetab.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/casefiddle.d casefiddle.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/indent.d indent.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/search.d search.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/regex.d regex.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/undo.d undo.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/alloc.d alloc.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/data.d data.c
echo "#define BUILDOBJ \"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   " "\"" > buildobj.h
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/doc.d doc.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/editfns.d editfns.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/callint.d callint.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/eval.d eval.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/floatfns.d floatfns.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/fns.d fns.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/font.d font.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/print.d print.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/lread.d lread.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/syntax.d syntax.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/unexelf.d unexelf.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/bytecode.d bytecode.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/process.d process.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/callproc.d callproc.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/region-cache.d region-cache.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/sound.d sound.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/atimer.d atimer.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/doprnt.d doprnt.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/strftime.d strftime.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/intervals.d intervals.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/textprop.d textprop.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/composite.d composite.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/md5.d md5.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/termcap.d termcap.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/tparam.d tparam.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/lastfile.d lastfile.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/vm-limit.d vm-limit.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H  -I. -I/root/emacs/src 
-D_BSD_SOURCE     -g -O2 -Wdeclaration-after-statement -Wno-pointer-sign   -MMD 
-MF deps/prefix-args.d prefix-args.c
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
Fix linking problem:
undefined reference to `__aeabi_unwind_cpp_pr0'
undefined reference to `__aeabi_unwind_cpp_pr1'
Index: emacs/src/Makefile.in
===================================================================
--- emacs.orig/src/Makefile.in  2008-08-16 14:20:18.000000000 +0000
+++ emacs/src/Makefile.in       2008-08-16 14:51:25.000000000 +0000
@@ -443,7 +443,7 @@
    ask GCC explicitly where to find libgcc.a.  */
 
 #ifndef LINKER
-#define LINKER $(CC) -nostdlib
+#define LINKER $(CC) -nostdlib -lgcc_s
 #endif
 
 #ifndef LIB_GCC

reply via email to

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