Hi all
 
I have some progress on this:
 
I can get xemacs-21.5.29 to build with this configure line:
 
./configure --with-system-malloc --with-site-libraries=/usr/local/lib/hpux32
 
(Both with --with-rel-alloc and --with-dlmalloc I get problems like I described below. And with --with-debug-malloc it does not even compile.)
 
 
However when running the c-tests, I get this:
 
Testing /home/hpj/work/xemacs/xemacs-21.5.29-ia64/tests/automated/c-tests.el...
 
Fatal error: assertion failed, file tests.c, line 440, !memcmp ((error_check_string (string, "tests.c", 440)->data_ + 0), ext_mac, (error_check_string (string, "tests.c", 440)->size_))
 

However this is not a new problem I see.
 
I found this message using google: http://tracker.xemacs.org/XEmacs/its/issue523. (Had to use the cached version this site does not seem to be working at the moment).
 
So I made this change:
 
*** src/tests.c.orig    Fri Jun 26 15:19:27 2009
--- src/tests.c Fri Jun 26 15:48:33 2009
***************
*** 435,441 ****
 
    TO_INTERNAL_FORMAT (DATA, (ext_mac, sizeof (ext_mac) - 1),
                      LISP_STRING, string,
!                     intern ("iso-8859-1"));
    DFC_CHECK_DATA_COND_EOL (XSTRING_DATA (string),
                           XSTRING_LENGTH (string), int_foo, ext_mac);
 
--- 435,441 ----
 
    TO_INTERNAL_FORMAT (DATA, (ext_mac, sizeof (ext_mac) - 1),
                      LISP_STRING, string,
!                     intern ("C.iso88591"));
    DFC_CHECK_DATA_COND_EOL (XSTRING_DATA (string),
                           XSTRING_LENGTH (string), int_foo, ext_mac);
 

Now got this for the c-tests - although C.iso88591 is a valid locale according to locale -a :
 
Testing /home/hpj/work/xemacs/xemacs-21.5.29-ia64/tests/automated/c-tests.el...
FAIL: (eq (quote PASS) (funcall fun)) ==> error: (invalid-argument "No such coding system" C\.iso88591)
FAIL: (eq (quote PASS) (funcall fun)) ==> error: (invalid-argument "No such coding system" C\.iso88591)
c-tests.el:                 2 of     4 tests successful ( 50%).
Testing /home/hpj/work/xemacs/xemacs-21.5.29-ia64/tests/automated/c-tests.el...
 
Testing Interpreted Lisp
 
FAIL: (eq (quote PASS) (funcall fun)) ==> error: (invalid-argument "No such coding system" C\.iso88591)
 
Testing Compiled Lisp
 
FAIL: (eq (quote PASS) (funcall fun)) ==> error: (invalid-argument "No such coding system" C\.iso88591)
 
SUMMARY for /home/hpj/work/xemacs/xemacs-21.5.29-ia64/tests/automated/c-tests.el:
            2 passes
            0 assertion failures
            0 errors that should have been generated, but weren't
            0 wrong-error failures
            0 missing-message failures
            2 other failures
 
The summary of check-temacs is now:
 
base64-tests.el:         1232 of  1232 tests successful (100%).
byte-compiler-tests.el:    66 of    66 tests successful (100%).
c-tests.el:                 2 of     4 tests successful ( 50%).
case-tests.el:           1130 of  1130 tests successful (100%).
ccl-tests.el:                       No tests run.
database-tests.el:         10 of    10 tests successful (100%).
extent-tests.el:          194 of   194 tests successful (100%).
hash-table-tests.el:     9868 of  9868 tests successful (100%).
iso-ir-196-test.el:                 No tests run.
lisp-reader-tests.el:      52 of    52 tests successful (100%).
lisp-tests.el:           3700 of  3700 tests successful (100%).
md5-tests.el:              56 of    56 tests successful (100%).
mule-tests.el:              6 of     6 tests successful (100%).
os-tests.el:                        No tests run.
query-coding-tests.el:              No tests run.
regexp-tests.el:          368 of   368 tests successful (100%).
region-tests.el:           28 of    28 tests successful (100%).
symbol-tests.el:          252 of   252 tests successful (100%).
syntax-tests.el:           80 of    86 tests successful ( 93%).
tag-tests.el:               6 of     6 tests successful (100%).
weak-tests.el:            140 of   140 tests successful (100%).
Next week I will try to get the packages to work.
 
Have a nice weekend.
 
Hans Peter
 


From: xemacs-beta-bounces@xemacs.org [mailto:xemacs-beta-bounces@xemacs.org] On Behalf Of Jepsen Hans Peter
Sent: 25. juni 2009 14:47
To: xemacs-beta@xemacs.org
Subject: Problem builiding xemacs-21.5.29 on HP-UX Itanium

Hi all

I am trying to build  xemacs-21.5.29 on HP-UX Itanium

My configure command is:   configure --with-site-libraries=/usr/local/lib/hpux32 --with-debug


gmake gives
….
gcc -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked -Wpointer-arith -Wunused-parameter -g     -L/usr/local/lib/hpux32 -L/usr/ccs/lib -Wl,-E -o temacs  abbrev.o alloc.o alloca.o  blocktype.o buffer.o bytecode.o callint.o casefiddle.o casetab.o chartab.o filelock.o cmdloop.o cmds.o  console.o console-stream.o data.o database.o debug.o tests.o device.o dired.o doc.o doprnt.o dynarr.o editfns.o elhash.o emacs.o emodules.o eval.o events.o event-stream.o event-unixoid.o dumper.o getloadavg.o inline.o terminfo.o extents.o faces.o file-coding.o fileio.o  filemode.o floatfns.o fns.o font-lock.o frame.o gc.o general.o  glyphs.o glyphs-eimage.o glyphs-shared.o glyphs-widget.o    gui.o gutter.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 process-unix.o profile.o rangetab.o realpath.o redisplay.o redisplay-output.o regex.o search.o select.o  sysdll.o signal.o sound.o specifier.o strftime.o  symbols.o syntax.o sysdep.o text.o  console-tty.o device-tty.o event-tty.o frame-tty.o objects-tty.o redisplay-tty.o cm.o undo.o unicode.o   widget.o window.o  lastfile.o gmalloc.o free-hook.o vm-limit.o ralloc.o   dump-id.o dump-data.o   -lncurses -lm

./temacs -nd -no-packages -batch -l /home/hpj/work/xemacs/xemacs-21.5.29/src/../lisp/update-elc.el
gmake[1]: *** [NEEDTODUMP] Segmentation fault (core dumped)
gmake[1]: Leaving directory `/net/w72037/home/hpj/work/xemacs/xemacs-21.5.29/src'
gmake: *** [src] Error 2


gmake check-temacs gives:

w72060 .. xemacs-21.5.29/src> gmake check-temacs
./temacs -nd -no-packages -batch -l /home/hpj/work/xemacs/xemacs-21.5.29/src/../lisp/loadup.el run-temacs -vanilla -batch -l /home/hpj/work/xemacs/xemacs-21.5.29/src/../tests/automated/test-harness.el -f batch-test-emacs /home/hpj/work/xemacs/xemacs-21.5.29/src/../tests/automated

gmake: *** [check-temacs] Segmentation fault (core dumped)


Since I can not get hold on gdb or wdb, try to get a backtrace with adb. Result:

w72060 .. xemacs-21.5.29/src> adb temacs core
adb> c
     error_check_lcrecord_list + 0x80             
        alloc_managed_lcrecord + 0x50             
adb: error: No load module descriptor for IP '0x00000000400271d0'.
adb> q


Can you give me any hints on getting further? Any changes to configure options or something else.


kind regards

Hans Peter