From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ron Romero Newsgroups: gmane.emacs.bugs Subject: Build failure on powerpc-ibm-aix5.3.0.0: core dump & bad configure Date: Tue, 22 Feb 2005 09:46:48 -0800 (PST) Message-ID: <20050222174649.77320.qmail@web53303.mail.yahoo.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1109095845 3104 80.91.229.2 (22 Feb 2005 18:10:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 22 Feb 2005 18:10:45 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 22 19:10:45 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D3eUU-000348-Ca for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Feb 2005 19:10:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D3elg-00025E-3M for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Feb 2005 13:28:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D3egx-0008MO-Rv for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2005 13:23:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D3egp-0008Jf-SP for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2005 13:23:20 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D3egp-0008Ei-Hj for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2005 13:23:19 -0500 Original-Received: from [206.190.39.232] (helo=web53303.mail.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1D3e7W-00061d-IZ for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2005 12:46:50 -0500 Original-Received: (qmail 77322 invoked by uid 60001); 22 Feb 2005 17:46:49 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=Xmuj8QJ7IsdtuHdYfYl1Eun6JBhvwMLMM1rAnlCLmCKeqzDsuA/bgogUx81a7dCA8KTa8Jw/ksC53zNUldWor/bd18BVDbnS+eOSiFFfKcnzW6iL2i30hldHAe6vC0tdMoWBzbfrpcwNZk6FY47Zjz3g0C6m51X+2DxEGiXR9sc= ; Original-Received: from [192.35.232.241] by web53303.mail.yahoo.com via HTTP; Tue, 22 Feb 2005 09:46:48 PST Original-To: bug-gnu-emacs@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geb-bug-gnu-emacs@m.gmane.org Xref: main.gmane.org gmane.emacs.bugs:10785 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:10785 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 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