From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#17598: Emacs pretest 24.3.91 - AIX - SIGSEV when customize Date: Fri, 13 Jun 2014 07:03:26 -0700 Organization: UCLA Computer Science Department Message-ID: <539B04AE.2080107@cs.ucla.edu> References: <538386BB.8090501@cs.ucla.edu> <538840C9.7050202@cs.ucla.edu> <5388605E.1080407@yandex.ru> <6r4378d9n.fsf@fencepost.gnu.org> <"OF415D45B9 <538D737C.7060308"@cs.ucla.edu> <"OFC1052026.4DB5CC <53936EC9.2030305"@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1402668269 9977 80.91.229.3 (13 Jun 2014 14:04:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Jun 2014 14:04:29 +0000 (UTC) Cc: 17598@debbugs.gnu.org, Dmitry Antipov To: Gilles PION Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 13 16:04:22 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WvS5d-00020J-IE for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Jun 2014 16:04:21 +0200 Original-Received: from localhost ([::1]:59311 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvS5d-0005wJ-2Q for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Jun 2014 10:04:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49632) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvS5R-0005uy-Tv for bug-gnu-emacs@gnu.org; Fri, 13 Jun 2014 10:04:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WvS5K-0001eE-EE for bug-gnu-emacs@gnu.org; Fri, 13 Jun 2014 10:04:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55590) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvS5K-0001eA-BV for bug-gnu-emacs@gnu.org; Fri, 13 Jun 2014 10:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WvS5K-0002h3-3G for bug-gnu-emacs@gnu.org; Fri, 13 Jun 2014 10:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Jun 2014 14:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17598 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17598-submit@debbugs.gnu.org id=B17598.140266822910331 (code B ref 17598); Fri, 13 Jun 2014 14:04:02 +0000 Original-Received: (at 17598) by debbugs.gnu.org; 13 Jun 2014 14:03:49 +0000 Original-Received: from localhost ([127.0.0.1]:46740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvS56-0002gX-VR for submit@debbugs.gnu.org; Fri, 13 Jun 2014 10:03:49 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:57113) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvS53-0002gB-Nk for 17598@debbugs.gnu.org; Fri, 13 Jun 2014 10:03:46 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 51CC5A60004; Fri, 13 Jun 2014 07:03:39 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p2BaDS2HWVB1; Fri, 13 Jun 2014 07:03:30 -0700 (PDT) Original-Received: from [192.168.1.9] (pool-108-0-233-62.lsanca.fios.verizon.net [108.0.233.62]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 68EC2A60003; Fri, 13 Jun 2014 07:03:30 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:90335 Archived-At: Gilles PION wrote: >> >Which GCC compiler are you using? I am using 4.8.1, and it works for >> >me; see attached files. > 4.8.2, boostratpped on a AIX 6.1 Host I'm afraid that does not work. If you are using GCC on AIX 7.1, your GCC must be built on AIX 7.1. A GCC bootstrapped on AIX 6.1 will run on AIX 7.1 but will generate incorrect code sometimes. That appears to be what's happening in your case, as the truss output contains lines like this: 18809032: 42074209: 0.2175: faccessat(-3041965, "<>/src/emacs/emacs-gcc-crashtest/emacs-24.3.91/src/lib-src", 0, 4) Err#22 EINVAL which means Emacs thinks AT_FDCWD equals -3041965, but this is wrong for AIX 7.1: /usr/include/fcntl.h #defines AT_FDCWD to be -2. Apparently your GCC is incorrectly using fixincluded files from AIX 6.1 (which do not define AT_FDCWD) and Emacs is therefore incorrectly falling back on gnulib's definition of AT_FDCWD. Bad fixincluded files would explain a lot of problems, including the subshell problem you reported earlier, as well as the Xpm problems. Possibly we were too hasty in suppressing Emacs's use of Xpm on AIX?