Jan Hebler <jan(a)hebler.de> writes:
Hi Jan,
thanks for your report.
if i try to compile xemacs 21.2.11 with mule i get the following
error
insert-file-contents-internal("/usr/src/Xemacs/lisp/finder-inf.el" t nil nil
nil undecided used-codesys)
does that file exist and is it readable?
here are the Informations from Installation
uname -a: Linux esmeralda 2.1.132 #5 SMP Sam Feb 27 09:29:33 CET 1999 i586 unknown
What compiler should XEmacs be built with? gcc -g -O3
-Wall -Wno-switch
esmeralda:/usr/src/Xemacs/src # gdb --directory
~/:/usr/src/glibc/intl:/usr/src/glibc/elf xemacs core
*please* tell me you are not building with an gcc/egcs snapshot using
a glibc snapshot on an unstable kernel release using -O3! If you do,
then you got what you deserve. :-)
#2 0xbfff5f04 in ?? ()
#3 0x402be998 in __dcgettext (domainname=0x4033a160 "libc",
msgid=0x4033c562 "No such file or directory", category=5) at
dcgettext.c:407
#4 0x402eb748 in _strerror_internal (errnum=2, buf=0x40349ae0 "",
buflen=1024)
at ../sysdeps/generic/_strerror.c:69
#5 0x402eb5d5 in strerror (errnum=2) at strerror.c:32
#6 0x80d6cce in lisp_strerror (errnum=2) at fileio.c:245
#7 0x80d4bf3 in Finsert_file_contents_internal (filename=138740836,
visit=137143408,
beg=137143380, end=137143380, replace=137143380, codesys=137245488,
used_codesys=137990816)
at fileio.c:148
^^^^
I *hate* inlined functions -- which call to report_file_error is this?
seriously, I really can't see how XEmacs can be blamed for strerror(2)
segfault'ing.
could you try rebuilding without -O3?
thanks,
Gunnar
--
Gunnar Evermann
Speech, Vision & Robotics Group
Engineering Department
Cambridge University