all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Error with -O3 but not -O2: "Wrong type argument: listp".
@ 2006-01-28 21:17 David Koppelman
  2006-01-29  4:50 ` Eli Zaretskii
  2006-01-30  0:57 ` Richard M. Stallman
  0 siblings, 2 replies; 11+ messages in thread
From: David Koppelman @ 2006-01-28 21:17 UTC (permalink / raw)


I've encountered errors in temacs, the same one described by Clemens
Schueller, when make bootstrap is run with "-O3" optimization; -O0,
-O1, and -O2 work fine.  The errors vary with build options but they
all start with "Wrong type argument: listp":

Wrong type argument: listp, -134393892
Wrong type argument: listp, 0
Wrong type argument: listp, [-134218836 [-134218836 #0 gmake[2]: *** [bootstrap-emacs] Segmentation fault
Wrong type argument: listp, []

The lisp error that's followed by a segmentation fault occurs when
loadup.el is loading font-lock. Others occur elsewhere.

The error occurs on today's repository code. I also tried pulling
earlier versions, including 6 January, and the problem occurs there
too.

I'm running on:
 Linux nested 2.6.9-22.0.1.ELsmp #1 SMP Tue Oct 18 18:39:27 EDT 2005 i686 i686 i386 GNU/Linux

and compiling with
 gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)

Is there anything I can do to track down the problem, perhaps
some kind of sanity test?

If it's any help, the difference between -O2 and -O3:
    `-O3'
         Optimize yet more.  `-O3' turns on all optimizations specified by
         `-O2' and also turns on the `-finline-functions', `-fweb' and
         `-frename-registers' options.

I can try compiling at -O2 and try out one of the -O3 optimizations at
a time, if that would help.

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

end of thread, other threads:[~2006-01-30 23:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-28 21:17 Error with -O3 but not -O2: "Wrong type argument: listp" David Koppelman
2006-01-29  4:50 ` Eli Zaretskii
2006-01-29 11:47   ` Romain Francoise
2006-01-29 19:25     ` Xavier Maillard
2006-01-29 12:46   ` Andreas Schwab
2006-01-29 18:12   ` David Koppelman
2006-01-30 18:46     ` Richard M. Stallman
2006-01-30  0:57 ` Richard M. Stallman
2006-01-30 15:58   ` David Koppelman
2006-01-30 19:21     ` Eli Zaretskii
2006-01-30 23:25     ` Richard M. Stallman

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.