unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* build with segmentation fault
@ 2006-03-15  3:13 sun peng
  2006-03-15 20:23 ` Richard Stallman
  0 siblings, 1 reply; 2+ messages in thread
From: sun peng @ 2006-03-15  3:13 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 1045 bytes --]

I build the emacs 21.3 and 21.4 in a LFS(linux from scratch) box.
The steps I take is:
./configure
make
I encounter a problem  after I issue the 'make' command
the last few lines that 'make' output to the console is:
Loading vc-hooks...
Loading ediff-hook...
((51662 . 15296) (8351 . 0) (511 . 56) 71925 134860 (14 . 9) (21 . 0) (7131
. 1374))
Finding pointers to doc strings...
Finding pointers to doc strings...done
Wrote /root/emacs-21.3/lib-src/fns-21.3.1.el
Dumping under names emacs and emacs-21.3.1
make[1]: *** [emacs] Segmentation fault
make[1]: *** Deleting file `emacs'
make[1]: Leaving directory `/root/emacs-21.3/src'
make: *** [src] Error 2

my gcc is version 3.4.3
glibc is  version 2.3.4
with my gcc and glibc i have finished the building of X and firefox and they
work good
so can anybody track down where is the problem
I like emacs every much, if emacs can not exist in my system,that will be a
great pity.
the attatched file is the configure log and make log.
Please help me , I really need emacs

[-- Attachment #1.2: Type: text/html, Size: 1113 bytes --]

[-- Attachment #2: config.log --]
[-- Type: application/octet-stream, Size: 8181 bytes --]

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:759: checking host system type
configure:1753: checking for gcc
configure:1866: checking whether the C compiler (gcc  ) works
configure:1882: gcc -o conftest    conftest.c  1>&5
configure:1908: checking whether the C compiler (gcc  ) is a cross-compiler
configure:1913: checking whether we are using GNU C
configure:1941: checking whether gcc accepts -g
configure:2021: checking whether ln -s works
configure:2042: checking how to run the C preprocessor
configure:2133: checking for a BSD compatible install
configure:2190: checking for bison
configure:2224: checking for ranlib
configure:2254: checking for AIX
configure:2283: 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
configure:2433: checking for special C compiler options needed for large files
configure:2489: checking for _FILE_OFFSET_BITS value needed for large files
configure:2542: checking for _LARGE_FILES value needed for large files
configure:2598: checking for machine/soundcard.h
configure:2598: checking for sys/soundcard.h
configure:2598: checking for soundcard.h
configure:2636: checking for _oss_ioctl in -lossaudio
configure:2684: checking for sys/select.h
configure:2684: checking for sys/timeb.h
configure:2684: checking for sys/time.h
configure:2684: checking for unistd.h
configure:2684: checking for utime.h
configure:2684: checking for linux/version.h
configure:2684: checking for sys/systeminfo.h
configure:2684: checking for termios.h
configure:2684: checking for limits.h
configure:2684: checking for string.h
configure:2684: checking for stdlib.h
configure:2684: checking for termcap.h
configure:2684: checking for stdio_ext.h
configure:2684: checking for fcntl.h
configure:2684: checking for term.h
configure:2684: checking for strings.h
configure:2721: checking for ANSI C header files
configure:2825: checking whether time.h and sys/time.h may both be included
configure:2860: checking for sys_siglist declaration in signal.h or unistd.h
configure:2898: checking for sys/wait.h that is POSIX.1 compatible
configure:2941: checking for struct utimbuf
configure:2986: checking return type of signal handlers
configure:3028: checking for speed_t
configure:3061: checking for struct timeval
configure:3104: checking for struct exception
configure:3138: checking whether struct tm is in sys/time.h or time.h
configure:3172: checking for tm_zone in struct tm
configure:3242: checking for tm_gmtoff in struct tm
configure:3276: checking for gcc option to accept ANSI C
configure:3349: checking for function prototypes
configure:3361: checking for working volatile
configure:3396: checking for working const
configure:3471: checking for void * support
configure:3509: checking whether make sets ${MAKE}
configure:3537: checking for long file names
configure:3588: checking for X
configure:3912: checking for malloc_get_state
configure:3961: checking for malloc_set_state
configure:4010: checking whether __after_morecore_hook exists
configure:4063: checking for stdlib.h
configure:4063: checking for unistd.h
configure:4063: checking for sys/stat.h
configure:4102: checking for getpagesize
configure:4155: checking for working mmap
configure:4326: checking for dnet_ntoa in -ldnet
configure:4374: checking for main in -lXbsd
configure:4411: checking for cma_open in -lpthreads
configure:4459: checking for XFree86 in /usr/X386
configure:4530: checking whether X on GNU/Linux needs -b to link
configure:4539: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include -D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
configure:4595: checking for Xkb
configure:4605: gcc -o conftest -I/usr/X11R6/include  -O2 -I/usr/X11R6/include -D_BSD_SOURCE    -L/usr/X11R6/lib conftest.c -lX11   1>&5 
configure:4627: checking for XrmSetDatabase
configure:4627: checking for XScreenResourceString
configure:4627: checking for XScreenNumberOfScreen
configure:4627: checking for XSetWMProtocols
configure:4683: checking X11 version 6
configure:4723: checking X11 version 5
configure:4766: checking X11 version 5 with Xaw
configure:4808: checking X11 toolkit version
configure:4853: checking for XmuConvertStandardSelection in -lXmu
configure:4906: checking for XShapeQueryExtension in -lXext
configure:5048: checking for X11/Xaw3d/Scrollbar.h
configure:5162: checking for X11/xpm.h
configure:5189: checking for XpmReadFileToPixmap in -lXpm
configure:5234: checking for XpmReturnAllocPixels preprocessor define
configure:5277: checking for jerror.h
configure:5304: checking for jpeg_destroy_compress in -ljpeg
configure:5384: checking for png.h
configure:5411: checking for png_get_channels in -lpng
configure:5470: checking for tiffio.h
configure:5500: checking for TIFFGetVersion in -ltiff
configure:5559: checking for gif_lib.h
configure:5643: checking whether netdb declares h_errno
configure:5678: checking for working alloca.h
configure:5711: checking for alloca
configure:5913: checking for sqrt in -lm
configure:5962: checking for maillock in -lmail
configure:6009: checking for maillock in -llockfile
configure:6062: checking for liblockfile.so
configure:6103: checking for touchlock
configure:6159: checking for maillock.h
configure:6205: checking for gethostname
configure:6205: checking for getdomainname
configure:6205: checking for dup2
configure:6205: checking for rename
configure:6205: checking for closedir
configure:6205: checking for mkdir
configure:6205: checking for rmdir
configure:6205: checking for sysinfo
configure:6205: checking for random
configure:6205: checking for lrand48
configure:6205: checking for bcopy
configure:6205: checking for bcmp
configure:6205: checking for logb
configure:6205: checking for frexp
configure:6205: checking for fmod
configure:6205: checking for rint
configure:6205: checking for cbrt
configure:6205: checking for ftime
configure:6205: checking for res_init
configure:6205: checking for setsid
configure:6205: checking for strerror
configure:6205: checking for fpathconf
configure:6205: checking for select
configure:6205: checking for mktime
configure:6205: checking for euidaccess
configure:6205: checking for getpagesize
configure:6205: checking for tzset
configure:6205: checking for setlocale
configure:6205: checking for utimes
configure:6205: checking for setrlimit
configure:6205: checking for setpgid
configure:6205: checking for getcwd
configure:6205: checking for getwd
configure:6205: checking for shutdown
configure:6205: checking for strftime
configure:6205: checking for getaddrinfo
configure:6205: checking for __fpending
configure:6205: checking for mblen
configure:6205: checking for mbrlen
configure:6205: checking for strsignal
configure:6205: checking for setitimer
configure:6205: checking for ualarm
configure:6205: checking for index
configure:6205: checking for rindex
configure:6205: checking for gai_strerror
configure:6205: checking for mkstemp
configure:6262: checking for sys/time.h
configure:6262: checking for unistd.h
configure:6301: checking for alarm
configure:6354: checking for working mktime
configure:6541: checking for getloadavg
configure:6767: checking for getloadavg
configure:7122: checking whether getloadavg requires setgid
configure:7179: checking for _LARGEFILE_SOURCE value needed for large files
configure:7232: checking for fseeko
configure:7267: checking for grantpt
configure:7324: checking for getpt
configure:7382: checking for tparm in -lncurses
configure:8421: checking for dgettext in -lintl
configure:8469: checking whether localtime caches TZ
configure:8541: checking for gettimeofday
configure:8594: checking whether gettimeofday can accept two arguments
configure:8640: checking for struct timezone
configure:8703: checking for socket
configure:8754: checking for netinet/in.h
configure:8790: checking for arpa/inet.h
configure:8838: checking whether system supports dynamic ptys
configure:8850: checking for pid_t
configure:8884: checking for vfork.h
configure:8919: checking for working vfork
configure:9095: checking for size_t


[-- Attachment #3: make.log --]
[-- Type: application/octet-stream, Size: 24820 bytes --]

if [ ! -f /root/emacs-21.3/lisp/abbrev.elc ]; then \
  make  bootstrap; \
fi
cd lib-src; make all  \
  CC='gcc' CFLAGS='-g -O2' CPPFLAGS='-D_BSD_SOURCE  ' \
  LDFLAGS='-L/usr/X11R6/lib' MAKE='make'
make[1]: Entering directory `/root/emacs-21.3/lib-src'
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs-21.3/lib-src -I/root/emacs-21.3/lib-src/../src -L/usr/X11R6/lib -D_BSD_SOURCE   -g -O2 -o test-distrib /root/emacs-21.3/lib-src/test-distrib.c
./test-distrib /root/emacs-21.3/lib-src/testfile
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs-21.3/lib-src -I/root/emacs-21.3/lib-src/../src -L/usr/X11R6/lib -D_BSD_SOURCE   -g -O2 /root/emacs-21.3/lib-src/make-docfile.c -lc -o make-docfile
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs-21.3/lib-src -I/root/emacs-21.3/lib-src/../src -L/usr/X11R6/lib -D_BSD_SOURCE   -g -O2 /root/emacs-21.3/lib-src/profile.c -lc -o profile
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs-21.3/lib-src -I/root/emacs-21.3/lib-src/../src -L/usr/X11R6/lib -D_BSD_SOURCE   -g -O2 /root/emacs-21.3/lib-src/digest-doc.c -lc -o digest-doc
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs-21.3/lib-src -I/root/emacs-21.3/lib-src/../src -L/usr/X11R6/lib -D_BSD_SOURCE   -g -O2 /root/emacs-21.3/lib-src/sorted-doc.c  -lc -o sorted-doc
gcc -c -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs-21.3/lib-src -I/root/emacs-21.3/lib-src/../src -D_BSD_SOURCE   -g -O2 -Demacs  /root/emacs-21.3/lib-src/movemail.c
gcc -c -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs-21.3/lib-src -I/root/emacs-21.3/lib-src/../src -D_BSD_SOURCE   -g -O2  /root/emacs-21.3/lib-src/pop.c
gcc -c -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs-21.3/lib-src -I/root/emacs-21.3/lib-src/../src -D_BSD_SOURCE   -g -O2 /root/emacs-21.3/lib-src/getopt.c
gcc -c -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs-21.3/lib-src -I/root/emacs-21.3/lib-src/../src -D_BSD_SOURCE   -g -O2 /root/emacs-21.3/lib-src/getopt1.c
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs-21.3/lib-src -I/root/emacs-21.3/lib-src/../src -L/usr/X11R6/lib -g -O2  movemail.o pop.o getopt.o getopt1.o  -lc        -o movemail
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs-21.3/lib-src -I/root/emacs-21.3/lib-src/../src -L/usr/X11R6/lib -D_BSD_SOURCE   -g -O2 /root/emacs-21.3/lib-src/cvtmail.c -lc -o cvtmail
/root/emacs-21.3/lib-src/cvtmail.c:39: warning: conflicting types for built-in function 'malloc'
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs-21.3/lib-src -I/root/emacs-21.3/lib-src/../src -L/usr/X11R6/lib -D_BSD_SOURCE   -g -O2 /root/emacs-21.3/lib-src/fakemail.c -lc -o fakemail
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs-21.3/lib-src -I/root/emacs-21.3/lib-src/../src -L/usr/X11R6/lib -D_BSD_SOURCE   -g -O2 /root/emacs-21.3/lib-src/yow.c -lc -o yow
/root/emacs-21.3/lib-src/yow.c:36: warning: conflicting types for built-in function 'malloc'
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs-21.3/lib-src -I/root/emacs-21.3/lib-src/../src -L/usr/X11R6/lib -D_BSD_SOURCE   -g -O2 /root/emacs-21.3/lib-src/emacsserver.c -lc -o emacsserver
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs-21.3/lib-src -I/root/emacs-21.3/lib-src/../src -L/usr/X11R6/lib -D_BSD_SOURCE   -g -O2 /root/emacs-21.3/lib-src/hexl.c -lc -o hexl
gcc -c -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs-21.3/lib-src -I/root/emacs-21.3/lib-src/../src -D_BSD_SOURCE   -g -O2 -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER /root/emacs-21.3/lib-src/../src/regex.c
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs-21.3/lib-src -I/root/emacs-21.3/lib-src/../src -L/usr/X11R6/lib -D_BSD_SOURCE   -g -O2 -DVERSION="\"21.3\"" /root/emacs-21.3/lib-src/etags.c getopt.o getopt1.o  regex.o -lc -o etags
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs-21.3/lib-src -I/root/emacs-21.3/lib-src/../src -L/usr/X11R6/lib -D_BSD_SOURCE   -g -O2 -DCTAGS -DVERSION="\"21.3\"" /root/emacs-21.3/lib-src/etags.c getopt.o getopt1.o  regex.o -lc -o ctags
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs-21.3/lib-src -I/root/emacs-21.3/lib-src/../src -L/usr/X11R6/lib -D_BSD_SOURCE   -g -O2 /root/emacs-21.3/lib-src/emacsclient.c getopt.o getopt1.o  -DVERSION=`sed -n -e '/(defconst emacs-version/ s/^[^"]*\("[^"]*"\).*/\1/p' /root/emacs-21.3/lib-src/../lisp/version.el` -lc -o emacsclient
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs-21.3/lib-src -I/root/emacs-21.3/lib-src/../src -L/usr/X11R6/lib -D_BSD_SOURCE   -g -O2 /root/emacs-21.3/lib-src/b2m.c -DVERSION="\"21.3\"" getopt.o getopt1.o  -lc -o b2m
gcc -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/root/emacs-21.3/lib-src -I/root/emacs-21.3/lib-src/../src -L/usr/X11R6/lib -D_BSD_SOURCE   -g -O2 -DVERSION="\"21.3\"" /root/emacs-21.3/lib-src/ebrowse.c getopt.o getopt1.o  -lc -o ebrowse
make[1]: Leaving directory `/root/emacs-21.3/lib-src'
cd src; make all  \
  CC='gcc' CFLAGS='-g -O2' CPPFLAGS='-D_BSD_SOURCE  ' \
  LDFLAGS='-L/usr/X11R6/lib' MAKE='make'
make[1]: Entering directory `/root/emacs-21.3/src'
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 pre-crt0.c
cd ../lwlib/; make -w CC='gcc' CFLAGS='-g -O2' MAKE='make' "C_SWITCH_X_SITE=-I/usr/X11R6/include" "C_SWITCH_X_MACHINE=" "C_SWITCH_X_SYSTEM=" "C_SWITCH_SITE=" "C_SWITCH_MACHINE=" "C_SWITCH_SYSTEM=-D_BSD_SOURCE"
make[2]: Entering directory `/root/emacs-21.3/lwlib'
gcc -c -DUSE_LUCID  -D_BSD_SOURCE -I/usr/X11R6/include   -D_BSD_SOURCE   -g -O2 -DEMACS_BITMAP_FILES -DHAVE_CONFIG_H -Demacs -I. -I../src -I/root/emacs-21.3/lwlib -I/root/emacs-21.3/lwlib/../src /root/emacs-21.3/lwlib/lwlib.c
gcc -c  -D_BSD_SOURCE -I/usr/X11R6/include   -D_BSD_SOURCE   -g -O2 -DEMACS_BITMAP_FILES -DHAVE_CONFIG_H -Demacs -I. -I../src -I/root/emacs-21.3/lwlib -I/root/emacs-21.3/lwlib/../src lwlib-Xlw.c
gcc -c  -D_BSD_SOURCE -I/usr/X11R6/include   -D_BSD_SOURCE   -g -O2 -DEMACS_BITMAP_FILES -DHAVE_CONFIG_H -Demacs -I. -I../src -I/root/emacs-21.3/lwlib -I/root/emacs-21.3/lwlib/../src xlwmenu.c
gcc -c  -D_BSD_SOURCE -I/usr/X11R6/include   -D_BSD_SOURCE   -g -O2 -DEMACS_BITMAP_FILES -DHAVE_CONFIG_H -Demacs -I. -I../src -I/root/emacs-21.3/lwlib -I/root/emacs-21.3/lwlib/../src lwlib-Xaw.c
gcc -c  -D_BSD_SOURCE -I/usr/X11R6/include   -D_BSD_SOURCE   -g -O2 -DEMACS_BITMAP_FILES -DHAVE_CONFIG_H -Demacs -I. -I../src -I/root/emacs-21.3/lwlib -I/root/emacs-21.3/lwlib/../src lwlib-utils.c
rm -f liblw.a
ar cq liblw.a lwlib.o lwlib-Xlw.o xlwmenu.o lwlib-Xaw.o lwlib-utils.o
ranlib liblw.a
make[2]: Leaving directory `/root/emacs-21.3/lwlib'
touch stamp-oldxmenu
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 dispnew.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 frame.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 scroll.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 xdisp.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 xmenu.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 window.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 charset.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 coding.c
coding.c: In function `decode_coding_emacs_mule':
coding.c:991: warning: comparison is always true due to limited range of data type
coding.c:1002: warning: comparison is always true due to limited range of data type
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 category.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 ccl.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 cm.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 term.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 xfaces.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 xterm.c
In file included from xterm.c:10902:
xterm.c: In function `XTread_socket':
xterm.c:6604: warning: passing arg 2 of `construct_mouse_click' from incompatible pointer type
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 xfns.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 xselect.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 xrdb.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 fontset.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 emacs.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 keyboard.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 macros.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 keymap.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 sysdep.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 buffer.c
buffer.c: In function `Fset_buffer_multibyte':
buffer.c:2089: warning: comparison is always true due to limited range of data type
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 filelock.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 insdel.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 marker.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 minibuf.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 fileio.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 dired.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 filemode.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 cmds.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 casetab.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 casefiddle.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 indent.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 search.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 regex.c
regex.c: In function `re_search_2':
regex.c:3966: warning: comparison is always true due to limited range of data type
regex.c: In function `re_match_2_internal':
regex.c:4921: warning: comparison is always true due to limited range of data type
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 undo.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 alloc.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 data.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 doc.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 editfns.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 callint.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 eval.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 floatfns.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 fns.c
fns.c: In function `base64_decode_1':
fns.c:3627: warning: comparison is always true due to limited range of data type
fns.c:3651: warning: comparison is always true due to limited range of data type
fns.c:3669: warning: comparison is always true due to limited range of data type
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 print.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 lread.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 abbrev.c
abbrev.c: In function `Fexpand_abbrev':
abbrev.c:370: warning: comparison is always true due to limited range of data type
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 syntax.c
syntax.c: In function `skip_chars':
syntax.c:1576: warning: comparison is always true due to limited range of data type
syntax.c:1606: warning: comparison is always true due to limited range of data type
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 unexelf.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 mocklisp.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 bytecode.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 process.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 callproc.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 region-cache.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 sound.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 atimer.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 doprnt.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 strftime.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 intervals.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 textprop.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 composite.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 md5.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 terminfo.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 lastfile.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 vm-limit.c
gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 widget.c
gcc -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/root/emacs-21.3/src -D_BSD_SOURCE -I/usr/X11R6/include -g -O2 -L/usr/X11R6/lib /root/emacs-21.3/src/prefix-args.c -o prefix-args
gcc -nostdlib `./prefix-args -Xlinker  -R/usr/X11R6/lib -z nocombreloc -L/usr/X11R6/lib` -o temacs pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o charset.o coding.o category.o ccl.o cm.o term.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.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 print.o lread.o abbrev.o syntax.o unexelf.o mocklisp.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  terminfo.o lastfile.o vm-limit.o  widget.o    ../lwlib/liblw.a -L/usr/X11R6/lib -lXaw -lXmu -lXt -lSM -lICE -lXext -ltiff -ljpeg -lpng -lz -lm -lXpm -lX11  -lncurses   -lm -lgcc -lc -lgcc /usr/lib/crtn.o 
rm -f ../etc/DOC
../lib-src/make-docfile -d /root/emacs-21.3/src sunfns.o dosfns.o msdos.o xterm.o xfns.o xmenu.o xselect.o xrdb.o fontset.o dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o charset.o coding.o category.o ccl.o cm.o term.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.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 print.o lread.o abbrev.o syntax.o unexelf.o mocklisp.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  > ../etc/DOC
../lib-src/make-docfile -a ../etc/DOC -d /root/emacs-21.3/src ../lisp/mouse.elc ../lisp/select.elc ../lisp/scroll-bar.elc ../lisp/vmsproc.elc ../lisp/vms-patch.elc ../lisp/ls-lisp.elc ../lisp/dos-fns.elc ../lisp/w32-fns.elc ../lisp/dos-w32.elc ../lisp/disp-table.elc ../lisp/dos-vars.elc ../lisp/international/ccl.elc ../lisp/international/codepage.elc ../lisp/abbrev.elc ../lisp/buff-menu.elc ../lisp/byte-run.elc ../lisp/cus-start.el ../lisp/custom.elc ../lisp/emacs-lisp/backquote.elc ../lisp/emacs-lisp/lisp-mode.elc ../lisp/emacs-lisp/lisp.elc ../lisp/facemenu.elc ../lisp/faces.elc ../lisp/files.elc ../lisp/float-sup.elc ../lisp/format.elc ../lisp/frame.elc ../lisp/help.elc ../lisp/indent.elc ../lisp/isearch.elc ../lisp/loadup.el ../lisp/loaddefs.el ../lisp/bindings.elc ../lisp/map-ynp.elc ../lisp/env.elc ../lisp/international/mule.elc ../lisp/international/mule-conf.el ../lisp/international/mule-cmds.elc ../lisp/international/characters.elc ../lisp/international/utf-8.elc ../lisp/international/utf-16.elc ../lisp/international/latin-1.el ../lisp/international/latin-2.el ../lisp/international/latin-3.el ../lisp/international/latin-4.el ../lisp/international/latin-5.el ../lisp/international/latin-8.el ../lisp/international/latin-9.el ../lisp/case-table.elc ../lisp/language/chinese.elc ../lisp/language/cyrillic.elc ../lisp/language/indian.elc ../lisp/language/devanagari.elc ../lisp/language/english.elc ../lisp/language/ethiopic.elc ../lisp/language/european.elc ../lisp/language/czech.elc ../lisp/language/slovak.elc ../lisp/language/romanian.elc ../lisp/language/greek.elc ../lisp/language/hebrew.elc ../lisp/language/japanese.elc ../lisp/language/korean.elc ../lisp/language/lao.elc ../lisp/language/thai.elc ../lisp/language/tibetan.elc ../lisp/language/vietnamese.elc ../lisp/language/misc-lang.elc ../lisp/international/ucs-tables.elc ../lisp/menu-bar.elc ../lisp/paths.el ../lisp/register.elc ../lisp/replace.elc ../lisp/simple.elc ../lisp/startup.elc ../lisp/subr.elc ../lisp/term/tty-colors.elc ../lisp/textmodes/fill.elc ../lisp/textmodes/page.elc ../lisp/textmodes/paragraphs.elc ../lisp/textmodes/text-mode.elc ../lisp/vc-hooks.elc ../lisp/ediff-hook.elc ../lisp/widget.elc ../lisp/window.elc ../lisp/version.el
LC_ALL=C ./temacs -batch -l loadup dump
Loading loadup (source)...
Using load-path (/root/emacs-21.3/lisp)
Loading byte-run...
Loading subr...
Loading version.el (source)...
Loading widget...
Loading custom...
Loading emacs-lisp/backquote...
Loading map-ynp...
Loading env...
Loading cus-start (source)...
Loading international/mule...
Loading international/mule-conf.el (source)...
Loading format...
Loading bindings...
Loading simple...
Loading files...
Lists of integers (garbage collection statistics) are normal output
while building Emacs; they do not indicate a problem.
((7043 . 6042) (3788 . 0) (485 . 3) 11242 21356 (3 . 0) (16 . 0) (598 . 1859))
Loading loaddefs.el (source)...
((18230 . 14529) (5706 . 0) (496 . 7) 28589 21356 (5 . 0) (16 . 0) (2481 . 2118))
Loading help...
Loading international/mule-cmds...
Loading case-table...
Loading international/utf-8...
Loading international/utf-16...
Loading international/characters...
Loading international/latin-1 (source)...
Loading international/latin-2 (source)...
Loading international/latin-3 (source)...
Loading international/latin-4 (source)...
Loading international/latin-5 (source)...
Loading international/latin-8 (source)...
Loading international/latin-9 (source)...
Loading language/chinese...
Loading language/cyrillic...
Loading language/indian...
Loading language/devanagari...
Loading language/english...
Loading language/ethiopic...
Loading language/european...
Loading language/czech...
Loading language/slovak...
Loading language/romanian...
Loading language/greek...
Loading language/hebrew...
Loading language/japanese...
Loading language/korean...
Loading language/lao...
Loading language/thai...
Loading language/tibetan...
Loading language/vietnamese...
Loading language/misc-lang...
Loading international/ucs-tables...
Loading indent...
Loading window...
Loading frame...
Loading term/tty-colors...
Loading faces...
Loading facemenu...
Loading mouse...
Loading scroll-bar...
Loading select...
Loading isearch...
((45366 . 21592) (7593 . 0) (507 . 60) 61078 112330 (14 . 5) (21 . 0) (6677 . 1135))
Loading menu-bar...
Loading paths.el (source)...
Loading startup...
Loading emacs-lisp/lisp...
Loading textmodes/page...
Loading register...
Loading textmodes/paragraphs...
Loading emacs-lisp/lisp-mode...
Loading textmodes/text-mode...
Loading textmodes/fill...
((50354 . 16604) (8096 . 0) (510 . 57) 70998 134008 (14 . 5) (21 . 0) (7068 . 1563))
Loading replace...
Loading abbrev...
Loading buff-menu...
Loading float-sup...
((50718 . 16240) (8261 . 0) (510 . 57) 71029 134843 (14 . 9) (21 . 0) (7072 . 1433))
Loading vc-hooks...
Loading ediff-hook...
((51662 . 15296) (8351 . 0) (511 . 56) 71925 134860 (14 . 9) (21 . 0) (7131 . 1374))
Finding pointers to doc strings...
Finding pointers to doc strings...done
Wrote /root/emacs-21.3/lib-src/fns-21.3.1.el
Dumping under names emacs and emacs-21.3.1
make[1]: *** [emacs] Segmentation fault
make[1]: *** Deleting file `emacs'
make[1]: Leaving directory `/root/emacs-21.3/src'
make: *** [src] Error 2

[-- Attachment #4: Type: text/plain, Size: 149 bytes --]

_______________________________________________
bug-gnu-emacs mailing list
bug-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: build with segmentation fault
  2006-03-15  3:13 build with segmentation fault sun peng
@ 2006-03-15 20:23 ` Richard Stallman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2006-03-15 20:23 UTC (permalink / raw)
  Cc: bug-gnu-emacs

This could be a bug in GNU/Linux From Scratch, since Emacs runs
on most GNU/Linux systems.
 
It may be that Emacs needs to be adapted somehow to work properly on
GNU/Linux From Scratch.  The way to find out is to try building the
latest development Emacs from CVS on savannah.gnu.org.  If you find
a patch is needed to make it work, please send it.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-03-15 20:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-15  3:13 build with segmentation fault sun peng
2006-03-15 20:23 ` Richard Stallman

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).