all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ron Romero <ron_d_romero@yahoo.com>
Subject: Build failure on powerpc-ibm-aix5.3.0.0: core dump & bad configure
Date: Tue, 22 Feb 2005 09:46:48 -0800 (PST)	[thread overview]
Message-ID: <20050222174649.77320.qmail@web53303.mail.yahoo.com> (raw)

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
    enumeration.
*** "systty.h", line 126.10: 1506-296 (S) #include file <sys/hft.h> not
found.
    "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
    rromero@amsdj> 

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
AIX3.2.

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)
    > 


Thanks,

Ron Romero



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail

                 reply	other threads:[~2005-02-22 17:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050222174649.77320.qmail@web53303.mail.yahoo.com \
    --to=ron_d_romero@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.