Mike FABIAN writes:
Mike FABIAN <mfabian(a)suse.de> さんは書きました:
>> One possibility is that you've got an evil C compiler. I can't help
>> with that because XEmacs currently compiles warning-free with gcc,
>> except for the warnings about "not a prototype" in getopt.h, the
>> attempt to fool the compiler into accessing memory in a debug
>> function, and a deprecation warning in a Mac OS X header file. That
>> is with the default GCC 4.0.1 (Apple build) and GCC 4.3.2, and with
>> g++ of GCC 4.3.2 (except that g++ complains about implicit conversions
>> from const char[] to char* a few hundred times, but that seems
>> unlikely to be related to this).
>>
>> Another possibility is that it's related to 64-bit uncleanliness, but
>> that's something I know nothing about, and my Opteron box is in 64-bit
>> mode.
Oh, BTW, could you attach Installation and the compiled simple init.el
to the bug report?
Also, do you apply any local patches to the XEmacs sources? Copies
(or pointers to them) might help.
Anything I could test to find out whether it is related to the
C compiler or 64-bit uncleanliness?
As I say, I don't know much about 64-bit or AMD vs. Intel issues; you
might ask somebody around you, including the Emacs people since they
have similar problems to ours with respect to our evil use of unions
and/or casting for Lisp objects.
For the C compiler, you could try building with Intel's compiler or a
BSD compiler, also older versions of GCC.
Get a build log and look for warnings other than the getopt.h
prototype warning (that's some sort of backwards compatibility thing
and doesn't actually affect the xemacs binary AFAIK) and "operation
has no effect" warning in emacs.c (that is a memory debugging tool).
Build with --with-xemacs-compiler=g++, --with-union-type, and
--with-debug for the same version of GCC and look for warnings. You
should filter with "grep -v 'deprecated conversion'" because of the
const char[] vs. char* issue, which I don't think is related, and even
if it were there are a million of those, of which exactly zero come
from src/bytecode.c.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta