[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Error with -O3 but not -O2: "Wrong type argument: listp".
From: |
David Koppelman |
Subject: |
Error with -O3 but not -O2: "Wrong type argument: listp". |
Date: |
Sat, 28 Jan 2006 15:17:14 -0600 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
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.
- Error with -O3 but not -O2: "Wrong type argument: listp".,
David Koppelman <=