Adrian Aichner <adrian(a)xemacs.org> wrote:
Compiler optimization bugs spring to mind.
Are you compiling with optimization?
What's your
M-x describe-installation?
FWIW, I found a Sparc Solaris machine here that has an XEmacs 21.1.11 on
it. It displays the same problem. Evaluating (let (3) t) is
sufficient. Here is its installation info. That box has gcc 2.95.3
now, but there's no telling what version it was when this XEmacs was
built.
------------------------------------------------------------------------
uname -a: SunOS [censored] 5.6 Generic_105181-14 sun4u sparc SUNW,Ultra-60
../configure '--site-runtime-libraries=/usr/dt/lib /usr/openwin/lib'
'--gung-ho' '--with-gnu-make' '--with-menubars=lucid'
'--with-scrollbars=motif' '--with-pop' '--with-workshop'
XEmacs 21.1.11 "Carlsbad Caverns" configured for `sparc-sun-solaris2.6'.
Where should the build process find the source code?
/tools/xemacs/distribution/xemacs-21.1.11
What installation prefix should install use? /usr/local
What operating system and machine description files should XEmacs use?
`s/sol2.h' and `m/sparc.h'
What compiler should XEmacs be built with? gcc -mcpu=supersparc -O2
Should XEmacs use the GNU version of malloc? yes
Should XEmacs use the relocating allocator for buffers? yes
What window system should XEmacs use? x11
Where do we find X Windows header files? /usr/dt/include
/usr/openwin/include
Where do we find X Windows libraries? /usr/dt/lib /usr/openwin/lib
Runtime library search path: /usr/dt/lib:/usr/openwin/lib
Compiling in support for XAUTH.
Compiling in support for XPM images.
Compiling in support for PNG image handling.
Compiling in support for (builtin) GIF image handling.
Compiling in support for JPEG image handling.
Compiling in support for X-Face message headers.
Compiling in native sound support.
Compiling in support for DBM.
Compiling in support for ncurses.
Compiling in support for ToolTalk.
Compiling in support for Sun WorkShop.
Compiling in support for proper session-management.
Using Lucid menubars.
Using Motif scrollbars.
Using Motif dialog boxes.
Compiling in DLL support.
movemail will use "dot-locking" for locking mail spool files.
Using POP for mail access
Using Lisp_Objects with minimal tagbits.
Using indexed lrecord implementation.
------------------------------------------------------------------------
I can't find a debugger I understand on this machine, unfortunately.
All I can find is mdb, which is very cryptic to this gdb user. If
nobody figures this out before tomorrow, I'll see if gcc 2.95.3 produces
the same problem, and if so whether it is a compiler optimization bug
(probably).
--
Jerry James
http://www.ittc.ku.edu/~james/