From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bauke Jan Douma Newsgroups: gmane.emacs.devel Subject: Current cvs does not build when CFLAGS has "-O4" Date: Thu, 4 Nov 2004 00:47:45 +0100 Message-ID: <20041103234745.GA55397@xs4all.nl> Reply-To: bjdouma@xs4all.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1099525723 10292 80.91.229.6 (3 Nov 2004 23:48:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 Nov 2004 23:48:43 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 04 00:48:34 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CPUrh-0005EJ-00 for ; Thu, 04 Nov 2004 00:48:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CPUzo-0007TV-57 for ged-emacs-devel@m.gmane.org; Wed, 03 Nov 2004 18:56:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CPUzV-0007LJ-P5 for emacs-devel@gnu.org; Wed, 03 Nov 2004 18:56:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CPUzU-0007Jx-Kw for emacs-devel@gnu.org; Wed, 03 Nov 2004 18:56:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CPUzS-0007Jo-23 for emacs-devel@gnu.org; Wed, 03 Nov 2004 18:56:36 -0500 Original-Received: from [194.109.24.28] (helo=smtp-vbr8.xs4all.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CPUqx-0006J9-4d for emacs-devel@gnu.org; Wed, 03 Nov 2004 18:47:47 -0500 Original-Received: from xs3.xs4all.nl (xs3.xs4all.nl [194.109.21.4]) by smtp-vbr8.xs4all.nl (8.12.11/8.12.11) with ESMTP id iA3NljDt012313 for ; Thu, 4 Nov 2004 00:47:45 +0100 (CET) (envelope-from bjdouma@xs4all.nl) Original-Received: from xs3.xs4all.nl (bjdouma@localhost [127.0.0.1]) by xs3.xs4all.nl (8.12.11/8.12.11) with ESMTP id iA3NljRd055417 for ; Thu, 4 Nov 2004 00:47:45 +0100 (CET) (envelope-from bjdouma@xs4all.nl) Original-Received: (from bjdouma@localhost) by xs3.xs4all.nl (8.12.11/8.12.11/Submit) id iA3NljI1055416 for emacs-devel@gnu.org; Thu, 4 Nov 2004 00:47:45 +0100 (CET) (envelope-from bjdouma) Original-To: emacs-devel@gnu.org Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by XS4ALL Virus Scanner X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:29411 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29411 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: . $> 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