On 16 Jul 2002, james(a)eecs.ku.edu wrote:
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?
Yes, it is beginning to look like some sort of compiler issue.
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
FWIW², I also have 21.1.11. BUT, I do not see this problem in 2.1.11.
I do see this problem in 21.4.6. I have gcc 2.95.2.
-jeff
21.1.11 stuff - no problem evaling (let (x 3) ...)
================================================================
uname -a: SunOS steel 5.8 Generic sun4u sparc SUNW,Ultra-4
./configure '--prefix=/opt/sfw'
'--site-includes=/freeware/builds/freeware-gate/proto/root_sparc/opt/sfw/include'
'--with-workshop' '--with-tooltalk' '--with-sparcworks'
XEmacs 21.1.11 "Carlsbad Caverns" configured for `sparc-sun-solaris2.8'.
Where should the build process find the source code?
/freeware/builds/freeware-gate/usr/src/cmd/xemacs/xemacs-21.1.11
What installation prefix should install use? /opt/sfw
What operating system and machine description files should XEmacs use?
`s/sol2.h' and `m/sparc.h'
What compiler should XEmacs be built with?
/freeware/builds/freeware-gate/usr/src/tools/gcc -g -O3 -Wall -Wno-switch
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
Additional header files:
/freeware/builds/freeware-gate/proto/root_sparc/opt/sfw/include
Runtime library search path:
/usr/ccs/lib:/usr/dt/lib:/usr/openwin/lib:/opt/sfw/lib
================================================================
21.4.6 stuff - fatal crash evaling (let (x 3) ...)
================================================================
uname -a: SunOS capital 5.8 Generic_108528-06 sun4u sparc SUNW,Ultra-250
./configure '--prefix=/opt/sfw' '--with-xface'
'--with-file-coding' '--ldflags=-L/usr/local/lib'
'--with-png=yes'
XEmacs 21.4.6 "Common Lisp" configured for `sparc-sun-solaris2.8'.
Compilation / Installation:
Source code location: /opt/sfw/lib/xemacs-21.4.6
Installation prefix: /opt/sfw
Runtime library search path:
/usr/ccs/lib:/usr/local/lib:/usr/dt/lib:/usr/openwin/lib:/opt/sfw/lib
Operating system description file: `s/sol2.h'
Machine description file: `m/sparc.h'
Compiler: gcc -g -O3 -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wsign-compare -Wshadow -Wpointer-arith
Relocating allocator for buffers: yes
GNU version of malloc: yes
================================================================