[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Build failure on powerpc-ibm-aix5.3.0.0: core dump & bad configure

From: Ron Romero
Subject: Build failure on powerpc-ibm-aix5.3.0.0: core dump & bad configure
Date: Tue, 22 Feb 2005 09:46:48 -0800 (PST)

My emacs build fails on my AIX box.  First it tries to include the
wrong set of files (HFT support).  When I fix that, the final
executable core dumps.

First my build on powerpc-ibm-aix5.3.0.0 fails because it is trying to
include HFT support, which was phased out in AIX 4.

    make[2]: Leaving directory `/home/rromero/install/emacs-21.4/lwlib'
    xlc_r -c -ma -qmaxmem=4000 -D_BSD -Demacs -DHAVE_CONFIG_H
    -DUSE_LUCID -I. -I/home/rromero/install/emacs-21.4/src -D_BSD -ma
    -qmaxmem=4000 -g -O xterm.c
    "./s/aix3-2.h", line 22.2: 1506-224 (I) Incorrect pragma ignored.
    "/usr/include/sys/signal.h", line 1095.1: 1506-137 (W) Declaration
    must declare at least one declarator, tag, or the members of an
*** "systty.h", line 126.10: 1506-296 (S) #include file <sys/hft.h> not
    "xterm.c", line 154.9: 1506-236 (W) Macro name abs has been redefined.
    "xterm.c", line 154.9: 1506-358 (I) "abs" is defined on line 497
    of /usr/include/stdlib.h.
    "xterm.c", line 7696.48: 1506-342 (W) "/*" detected in comment.
    "xterm.c", line 7697.37: 1506-342 (W) "/*" detected in comment.
    "xterm.c", line 12304.35: 1506-280 (W) Function argument
    assignment between types "char**" and "char*" is not allowed.
    make[1]: *** [xterm.o] Error 1
    make[1]: Leaving directory `/home/rromero/install/emacs-21.4/src'
    make: *** [src] Error 2

It appears that the problem is that the configure script is not
matching aix5* as needing opsys = AIX 4.  So it uses the default of

The following seems to fix it:

    ** configure.in.dist   Tue Feb 22 10:47:11 2005
    --- configure.in    Tue Feb 22 11:20:13 2005
    *** 589,594 ****
    --- 589,597 ----
        rs6000-ibm-aix5.1* | powerpc-ibm-aix5.1*  )
          machine=ibmrs6000 opsys=aix4-2
    +   rs6000-ibm-aix5* | powerpc-ibm-aix5*  )
    +     machine=ibmrs6000 opsys=aix4-2
    +   ;;
        rs6000-ibm-aix4.0* | powerpc-ibm-aix4.0*  )
          machine=ibmrs6000 opsys=aix4

After applying that fix, it compiles everything, then gets a core dump
and failure at the end of the build:

    Wrote /home/rromero/install/emacs-21.4/lib-src/fns-21.4.1.el
    Dumping under names emacs and emacs-21.4.1
    715404 pure bytes used
    ./emacs -q -batch -f list-load-path-shadows
*** make[1]: *** [emacs] Illegal instruction (core dumped)
    make[1]: Leaving directory `/home/rromero/install/emacs-21.4/src'
    (export PARALLEL; PARALLEL=0; cd leim; make all  \
      CC='xlc_r' CFLAGS='-g -O ' CPPFLAGS='-ma -qmaxmem=4000 -D_BSD ' \
      LDFLAGS='-bbigtoc ' MAKE='make')
    make[1]: Entering directory `/home/rromero/install/emacs-21.4/leim'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/home/rromero/install/emacs-21.4/leim'

Running the installed executable allso get an "illegal instruction"
core dump.

    > /home/rromero/local/bin/emacs
    Illegal instruction(coredump)


Ron Romero

Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]