Well, much elapsed time later on this slow box, I've succeeded in building
and running 'Irish Goat' with the SGI C compiler on Irix 5.3
Things I had to fiddle/change:
- configure finds inttypes.h, but using this clashes with another
system header's declarations (sys/types.h), doh! Commenting out that
line in config.h allows the build to continue.
- the SGI version 5.3 compiler, even with patches, seems to be making a
poor job of compiling redisplay.c. If I don't rebuild this with -g,
rather than -O (and no flag is not good enough here, oddly) then the
unexec/dumping process dies horribly. Not really any clues why it's
this file... it was a slow process to find it. I've included details of
crashes below. It might or might not be relevent that when I tried b46
(Toggenburg), lread.c was also a troublesome file. The very small
changes between these two versions seem to have made the difference there.
I don't have GCC for this system to compare against, but it really
ought to be possible to compile with the native compiler (especially on
Irix 5.3 because you need to have SGIs development software installed
to get libraries, etc. anyway)
Not had time to really extensively use it yet.
James.
[crash, during build..]
cd ./src && make CC='cc' CFLAGS='-O' LDFLAGS=''
CPPFLAGS='' dump-elcs
EMACSBOOTSTRAPLOADPATH="/var/tmp/xemacs-21.0-b55/src/../lisp/:/var/tmp/xemacs-21.0-b55"
./temacs -batch -l /var/tmp/xemacs-21.0-b55/src/../lisp/update-elc.el
Loading /var/tmp/xemacs-21.0-b55/src/../lisp/update-elc.el...
Loading very-early-lisp... (1684)
Loading find-paths.el... (10464)
Loading packages.el... (17904)
Loading setup-paths.el... (4096)
Loading dump-paths.el... (0)
Loading /var/tmp/xemacs-21.0-b55/src/../lisp/dumped-lisp.el... (116)Fatal error: assertion
failed, file eval.c, line 1877, abort()
Abort - core dumped
(gdb) bt
#0 0xfad31ec in _kill () at kill.s:15
#1 0xfad4548 in raise () at raise.c:22
#2 0xfb07f78 in abort () at abort.c:37
#3 0x4819ac in assert_failed () at emacs.c:231
#4 0x488b2c in signal_1 () at eval.c:236
#5 0x489144 in Fsignal () at eval.c:236
#6 0x488538 in signal_error () at eval.c:236
#7 0x4e295c in report_file_error () at fileio.c:148
#8 0x4e6b24 in Fdelete_file () at fileio.c:151
#9 0x48a7e8 in Feval () at eval.c:236
#10 0x48cfd0 in condition_case_1 () at eval.c:236
#11 0x49055c in condition_case_3 () at eval.c:236
#12 0x4905d8 in Fcondition_case () at eval.c:236
#13 0x48a508 in Feval () at eval.c:236
#14 0x48abdc in Fprogn () at eval.c:236
#15 0x491f5c in Fif () at eval.c:236
#16 0x48a508 in Feval () at eval.c:236
#17 0x52ab40 in readevalloop () at lread.c:509
#18 0x52c74c in Fload_internal () at lread.c:509
#19 0x48a8a8 in Feval () at eval.c:236
#20 0x48cfd0 in condition_case_1 () at eval.c:236
#21 0x461170 in top_level_1 () at cmdloop.c:78
#22 0x4876d0 in internal_catch () at eval.c:236
#23 0x460d50 in initial_command_loop () at cmdloop.c:78
#24 0x485038 in xemacs_21_0_mips_sgi_irix5_3 () at emacs.c:231
#25 0x4850d8 in main () at emacs.c:231