Subject: Re: bug#9684: Emacs 23.3 and 24.0.90 don't build on IRIX 6.5

From: Eli Zaretskii <[email-masked]>
Date: Fri, 07 Oct 2011 14:49:58 +0200

> From: Rainer Orth <[email-masked]>
> Cc: [email-masked]
> Date: Fri, 07 Oct 2011 11:11:46 +0200
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> > Does it help to drop the -j8 switch to Make?
> 
> Unfortunately not: just running make yields
> 
> Loading tooltip...
> Finding pointers to doc strings...
> Finding pointers to doc strings...done
> Dumping under the name emacs
> 1465234 pure bytes used
> Adding name emacs-24.0.90.1
> emacs: Invalid function: make-local-variable
> make[1]: Leaving directory `/vol/obj/gnu/emacs/emacs-24.0.90/src'
> cd lisp; make all                            \
>           CC='gcc -std=gnu99' CFLAGS='-g -O2' CPPFLAGS='' \
>           LDFLAGS='-Wl,-znocombreloc ' MAKE='make'
> make[1]: Entering directory `/vol/obj/gnu/emacs/emacs-24.0.90/lisp'
> make[2]: Entering directory `/vol/obj/gnu/emacs/emacs-24.0.90/lisp'
> make[2]: Nothing to be done for `compile-targets'.
> make[2]: Leaving directory `/vol/obj/gnu/emacs/emacs-24.0.90/lisp'
> make[1]: Leaving directory `/vol/obj/gnu/emacs/emacs-24.0.90/lisp'
> (export PARALLEL; PARALLEL=0; cd leim; make all  \
>           CC='gcc -std=gnu99' CFLAGS='-g -O2' CPPFLAGS='' \
>           LDFLAGS='-Wl,-znocombreloc ' MAKE='make')
> make[1]: Entering directory `/vol/obj/gnu/emacs/emacs-24.0.90/leim'
> mkdir quail
> touch stamp-subdir
> EMACSLOADPATH=/vol/src/gnu/emacs/emacs-24.0.90/leim/../lisp LC_ALL=C ../src/emacs -batch --no-site-file --no-site-lisp -l /vol/src/gnu/emacs/emacs-24.0.90/leim/../lisp/international/titdic-cnv \
>           -f batch-titdic-convert -dir quail /vol/src/gnu/emacs/emacs-24.0.90/leim/CXTERM-DIC; \
>           echo "changed" > changed.tit
> emacs: Invalid function: make-local-variable
> Compiling quail/CCDOSPY.el
> emacs: Invalid function: make-local-variable
> make[1]: *** [quail/CCDOSPY.elc] Error 1

Can you run any of these 2 commands under a debugger, put a breakpoint
in a function called xsignal1, and when it breaks, show the backtrace?
Preferably do this with GDB, and start GDB from the src directory, so
it reads the .gdbinit file there.  Also, please recompile Emacs
without the -O2 optimization switch, so that information shown by the
debugger would be reliable.

Thanks.