From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.bugs Subject: bug#17598: Emacs pretest 24.3.91 - AIX - SIGSEV when customize Date: Tue, 03 Jun 2014 18:01:47 +0400 Message-ID: <538DD54B.7000408@yandex.ru> References: <538386BB.8090501@cs.ucla.edu> <538594BD.7090108@yandex.ru> <5385B02C.4030208@yandex.ru> <5385F229.9020609@cs.ucla.edu> <8361kpj2iv.fsf@gnu.org> <53860FFC.6050306@cs.ucla.edu> <538622CF.2080300@cs.ucla.edu> <538840C9.7050202@cs.ucla.edu> <5388605E.1080407@yandex.ru> <6r4378d9n.fsf@fencepost.gnu.org> 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 1401804208 21448 80.91.229.3 (3 Jun 2014 14:03:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Jun 2014 14:03:28 +0000 (UTC) Cc: 17598@debbugs.gnu.org To: Gilles PION Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 03 16:03: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 1WrpJB-00037u-Lo for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Jun 2014 16:03:21 +0200 Original-Received: from localhost ([::1]:53608 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrpJB-0006kN-BU for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Jun 2014 10:03:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrpJ0-0006j8-V7 for bug-gnu-emacs@gnu.org; Tue, 03 Jun 2014 10:03:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WrpIs-00065o-OX for bug-gnu-emacs@gnu.org; Tue, 03 Jun 2014 10:03:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43488) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrpIs-00065j-IB for bug-gnu-emacs@gnu.org; Tue, 03 Jun 2014 10:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WrpIr-0004hx-QU for bug-gnu-emacs@gnu.org; Tue, 03 Jun 2014 10:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Antipov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Jun 2014 14:03:01 +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.140180412617991 (code B ref 17598); Tue, 03 Jun 2014 14:03:01 +0000 Original-Received: (at 17598) by debbugs.gnu.org; 3 Jun 2014 14:02:06 +0000 Original-Received: from localhost ([127.0.0.1]:42364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WrpHu-0004g2-7W for submit@debbugs.gnu.org; Tue, 03 Jun 2014 10:02:06 -0400 Original-Received: from forward8l.mail.yandex.net ([84.201.143.141]:52034) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WrpHo-0004fR-CY for 17598@debbugs.gnu.org; Tue, 03 Jun 2014 10:02:00 -0400 Original-Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [37.140.190.26]) by forward8l.mail.yandex.net (Yandex) with ESMTP id 5073A1A413E4; Tue, 3 Jun 2014 18:01:49 +0400 (MSK) Original-Received: from smtp1o.mail.yandex.net (localhost [127.0.0.1]) by smtp1o.mail.yandex.net (Yandex) with ESMTP id A6656DE1B20; Tue, 3 Jun 2014 18:01:48 +0400 (MSK) Original-Received: from unknown (unknown [37.139.80.10]) by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id YOr4o0547g-1mjqcjvB; Tue, 3 Jun 2014 18:01:48 +0400 (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 9718f236-738d-4aac-ba48-d680aadc3fa9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1401804108; bh=4eGv5hrv5ixcliOg0554J9o034GULiOohciG7gYI7Tg=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=gBC52hIaGPbXBlzPw62x/wGWU3Y3PI8+ubw4qqX/yljtp8ogMDQZTOHCWzvYRvSkw qXL2oaL/TuvycTdKNwE5TA9w7LuRdK6BbbysGq6Mg89I0QV5WJPNmVQYqJZkBMGMtL jA7HDC2aS8jnhuDrj4V+ScCIPLIHxBEV9CjdlRP8= Authentication-Results: smtp1o.mail.yandex.net; dkim=pass header.i=@yandex.ru 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:89941 Archived-At: On 06/03/2014 09:28 AM, Gilles PION wrote: > Could you suggest sensible configure options to rebuilt > a definitive version and to confirm everything is OK now? Hm...here is what I can suggest for trunk on AIX. 1. Choose the compiler. IIUC gcc can't create 64-bit binaries on AIX, but xlc can (-q64). Note build with gcc is far more well tested, and I have no ideas whether unexec will work for 64-bit XCOFF binary. 2. Choose CFLAGS. If you don't want to debug, just use '-O2' for both gcc and xlc. If you want to debug, add '-g3' for gcc and up to '-g9' for xlc (for the latter, please report your results!). If you want to fight for 1% with the very unexpected results, try: for gcc: - determine CPU type with 'prtconf | grep -i "Processor Type"' ==> Processor Type: PowerPC_POWERX (where X is Power core generation) and use CFLAGS='-O3 -mcpu=powerX -mtune=powerX' for xlc, try '-O5'. 3. Choose configuration options. For some weird reasons, you can't link without -lXpm (probably some other library from vendor's X requires it). So use: --without-all --with-xpm to get the bare minimum executable with X support. This is pretty enough to do basic programming tasks (i.e. editing source code). If you want more features, look through 'configure --help' output, choose the features you want, install required external libraries, and then try '--without-all --with-FEATURE'. Note that just 'configure' (with no options) means the most feature-rich configuration which may be compiled with installed headers and libraries. Dmitry