emacs-devel
[Top][All Lists]
Advanced

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

Current cvs does not build when CFLAGS has "-O4"


From: Bauke Jan Douma
Subject: Current cvs does not build when CFLAGS has "-O4"
Date: Thu, 4 Nov 2004 00:47:45 +0100
User-agent: Mutt/1.4.2.1i

FWIW and FYI, current emacs cvs is guaranteed NOT to build on my system when
CFLAGS has "-O4".  When "-O2" is specified instead, it does build.  Previous
releases and cvs versions all built with -O4.

Time does not permit me to look into this myself.  Here's some more info.
Also got a diff of make output running with "-O4" versus "-O2", but will
refrain from providing that at this time since it's quite large. Upon request.

bjd



$> uname -sm
Linux i686

$> /lib/libc.so.6
GNU C Library stable release version 2.3.3, by Roland McGrath et al.
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.4.2.
Compiled on a Linux 2.6.8.1 system on 2004-10-08.
Available extensions:
        GNU libio by Per Bothner
        crypt add-on version 2.1 by Michael Glad and others
        Native POSIX Threads Library by Ulrich Drepper et al
        BIND-8.2.3-T5B
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
The oldest ABI supported: 2.0.
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.

$> gcc --version
gcc (GCC) 3.4.2
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$> make maintainer-clean

$> CFLAGS="-O4 -s -fomit-frame-pointer" \
LDFLAGS="-s" \
./configure \
--with-x \
--with-x-toolkit=athena \
--without-pop \
--with-sound \
--with-xpm \
--with-jpeg \
--with-tiff \
--with-gif \
--with-png

$> make bootstrap
...
gcc -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/sw/emacs/emacs-cvs/src
-D_BSD_SOURCE -I/usr/X11R6/include -O4 -s -fomit-frame-pointer -s
-Wl,-znocombreloc -L/usr/X11R6/lib /sw/emacs/emacs-cvs/src/prefix-args.c -o
prefix-args
gcc -nostdlib `./prefix-args -Xlinker  -R/usr/X11R6/lib -z nocombreloc` -s
-Wl,-znocombreloc -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 xsmfns.o fringe.o image.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 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 mktime.o
../lwlib/liblw.a -L/usr/X11R6/lib -lXaw3d -lXmu -lXt -lSM -lICE -lXext -ltiff
-ljpeg -lpng -lz -lm -lungif -lXpm -lX11  -lncurses   -lm -lgcc -lc -lgcc
/usr/lib/crtn.o 
./temacs --batch --load loadup bootstrap
Loading loadup.el (source)...
Using load-path (/sw/emacs/emacs-cvs/lisp /sw/emacs/emacs-cvs/lisp/emacs-lisp
/sw/emacs/emacs-cvs/lisp/language /sw/emacs/emacs-cvs/lisp/international
/sw/emacs/emacs-cvs/lisp/textmodes)
Loading emacs-lisp/byte-run (source)...
Loading emacs-lisp/backquote (source)...
Loading subr (source)...
Wrong type argument: listp, 0
make[1]: *** [bootstrap-emacs] Error 255
make[1]: Leaving directory `/sw/emacs/emacs-cvs/src'
make: *** [bootstrap] Error 2




reply via email to

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