Jan Vroonhof <vroonhof(a)math.ethz.ch> writes:
Gunnar Evermann <ge204(a)eng.cam.ac.uk> writes:
> So far I have only built using gcc (except for the 6.5 system where we
> only have the SGI compiler installed).
Does that mean you have at least one platform where native compiler
worked that worked
yes:
ge204@truth$ cc -version
MIPSpro Compilers: Version 7.2.1
uname -a: IRIX truth 6.5 01221553 IP32 mips
/home/tigger3/ge204/src/XEmacs/21-1/xemacs/configure '--compiler=cc'
'--cflags=-O -o32' '--with-pop'
'--x-includes=/usr/local/X11R6.4/include'
'--x-libraries=/usr/local/X11R6.4/lib' '--site-prefixes=/usr/local
/home/tigger3/ge204/local-irix' '--prefix=/tools/emacs'
'--with-gnu-make' '--with-dialogs=athena'
XEmacs 21.1.8 "Bryce Canyon" configured for `mips-sgi-irix6.5'.
Where should the build process find the source code?
/home/tigger3/ge204/src/XEmacs/21-1/xemacs
What installation prefix should install use? /tools/emacs
What operating system and machine description files should XEmacs use?
`s/irix6-0.h' and `m/iris4d.h'
What compiler should XEmacs be built with? cc -O -o32
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/local/X11R6.4/include
Where do we find X Windows libraries? /usr/local/X11R6.4/lib
Additional prefixes: /usr/local
/home/tigger3/ge204/local-irix
Runtime library search path:
/usr/local/lib:/usr/local/X11R6.4/lib
Compiling in support for XAUTH.
Compiling in support for XPM images.
Compiling in support for PNG image handling.
Compiling in support for (builtin) GIF image handling.
Compiling in support for JPEG image handling.
Compiling in support for X-Face message headers.
Compiling in native sound support.
Compiling in support for DBM.
Compiling in support for proper session-management.
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Compiling in DLL support.
movemail will use "dot-locking" for locking mail spool files.
Using POP for mail access
> xemacs -nw works fine, but I get the XtCreatePopupShell() crash
we
> have been seeing for some time. This is with X11R6.4 and the display
> tunneled via ssh to a Linux machine. I'll rebuild with debug info and
> investigate. Any ideas?
this is also true for the above 6.5/SGIcc build and also independent of
the ssh-tunneling of the display.
Just to be sure. Could also try out Max Matveev's patch to seen
whether this some dumping problem...
yes.
I don't suppose SGI ships a version of the X libraries with
debugging symbols
actually I'm currently linking against an X11R6.4 built by our admin,
so I do get line-numbers (see bt in previous email) -- I guess I need
to download the X11 sources now...
I also got some interesting warnings when linking temacs:
cc -O -o32 -L/usr/local/lib -L/home/tigger3/ge204/local-irix/lib -rpath
/usr/local/lib:/usr/local/X11R6.4/lib -L/usr/local/X11R6.4/lib -o temacs abbrev.o
alloc.o blocktype.o buffer.o bytecode.o callint.o callproc.o casefiddle.o casetab.o
chartab.o cmdloop.o cmds.o console.o console-stream.o data.o device.o dired.o doc.o
doprnt.o dynarr.o editfns.o elhash.o emacs.o eval.o events.o unexelf.o dgif_lib.o gif_io.o
menubar.o scrollbar.o dialog.o toolbar.o gui.o menubar-x.o scrollbar-x.o dialog-x.o
toolbar-x.o gui-x.o sgiplay.o console-tty.o device-tty.o event-tty.o frame-tty.o
objects-tty.o redisplay-tty.o cm.o terminfo.o event-unixoid.o database.o sysdll.o dll.o
process-unix.o event-stream.o extents.o faces.o fileio.o filemode.o floatfns.o fns.o
font-lock.o frame.o general.o getloadavg.o glyphs.o glyphs-eimage.o hash.o imgproc.o
indent.o insdel.o intl.o keymap.o line-number.o lread.o lstream.o macros.o marker.o md5.o
minibuf.o objects.o opaque.o print.o process.o profile.o pure.o rangetab.o redisplay.o
redisplay-output.o regex.o search.o signal.o sound.o specifier.o strftime.o symbols.o
syntax.o sysdep.o undo.o balloon_help.o balloon-x.o console-x.o device-x.o event-Xt.o
frame-x.o glyphs-x.o objects-x.o redisplay-x.o xgccache.o xselect.o widget.o window.o
lastfile.o gmalloc.o vm-limit.o ralloc.o EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o
TransientEmacsShell.o EmacsManager.o ../lwlib/liblw.a -lXaw -lcompface -lpng -ljpeg
-lz -lXpm -lXmu -lXt -lXext -lX11 -lSM -lICE -ldl -lcurses -laudio -lCsup -lm
ld: WARNING 85: definition of vendorShellWidgetClass in /usr/local/X11R6.4/lib/libXaw.so
preempts that definition in /usr/local/X11R6.4/lib/libXt.so.
ld: WARNING 85: definition of vendorShellClassRec in /usr/local/X11R6.4/lib/libXaw.so
preempts that definition in /usr/local/X11R6.4/lib/libXt.so.
ld: WARNING 84: /usr/lib/libdl.so is not used for resolving any symbol.
ld: WARNING 85: definition of UP in terminfo.o preempts that definition in
/usr/lib/libcurses.so.
ld: WARNING 85: definition of BC in terminfo.o preempts that definition in
/usr/lib/libcurses.so.
ld: WARNING 85: definition of PC in terminfo.o preempts that definition in
/usr/lib/libcurses.so.
ld: WARNING 84: /usr/lib/libCsup.so is not used for resolving any symbol.
ld: WARNING 85: definition of _malloc in gmalloc.o preempts that definition in
/usr/lib/libc.so.
ld: WARNING 85: definition of _realloc in gmalloc.o preempts that definition in
/usr/lib/libc.so.
ld: WARNING 85: definition of _free in gmalloc.o preempts that definition in
/usr/lib/libc.so.
especially the first two look suspicious -- are they expected?
Gunnar
--
Gunnar Evermann
Speech, Vision & Robotics Group
Cambridge University Engineering Department