From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Petr Hracek Newsgroups: gmane.emacs.bugs Subject: bug#20614: Segmentation fault when building on Power8 Little Endian Date: Wed, 23 Sep 2015 14:10:39 +0200 Message-ID: <560296BF.4050706@redhat.com> References: <555C3E3C.4090700@redhat.com> <1gpp5vi5xn.fsf@fencepost.gnu.org> <555DD5D3.3020207@redhat.com> <55A3A08A.9060905@redhat.com> <55A4BFB7.3010208@redhat.com> <55F95275.4040209@redhat.com> <56012AA6.7010702@redhat.com> <56025D9A.9080608@redhat.com> <838u7xlbsn.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------000402070301060907060901" X-Trace: ger.gmane.org 1443010289 28267 80.91.229.3 (23 Sep 2015 12:11:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Sep 2015 12:11:29 +0000 (UTC) Cc: 20614@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 23 14:11:20 2015 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 1ZeitK-00011h-VI for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Sep 2015 14:11:19 +0200 Original-Received: from localhost ([::1]:47449 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZeitJ-0005mX-9H for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Sep 2015 08:11:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zeit9-0005d6-0b for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2015 08:11:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zeit4-00012i-Vw for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2015 08:11:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50196) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zeit4-00012P-TW for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2015 08:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zeit3-0002i5-Uc for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2015 08:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Petr Hracek Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Sep 2015 12:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20614 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20614-submit@debbugs.gnu.org id=B20614.144301024610394 (code B ref 20614); Wed, 23 Sep 2015 12:11:01 +0000 Original-Received: (at 20614) by debbugs.gnu.org; 23 Sep 2015 12:10:46 +0000 Original-Received: from localhost ([127.0.0.1]:42406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zeisn-0002hZ-9D for submit@debbugs.gnu.org; Wed, 23 Sep 2015 08:10:45 -0400 Original-Received: from mx1.redhat.com ([209.132.183.28]:52841) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zeisk-0002hQ-Aa for 20614@debbugs.gnu.org; Wed, 23 Sep 2015 08:10:43 -0400 Original-Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 86BCDC0A15E4; Wed, 23 Sep 2015 12:10:41 +0000 (UTC) Original-Received: from [10.34.4.133] (unused-4-133.brq.redhat.com [10.34.4.133]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t8NCAdUY014806; Wed, 23 Sep 2015 08:10:40 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 In-Reply-To: <838u7xlbsn.fsf@gnu.org> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 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: 208.118.235.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:106829 Archived-At: This is a multi-part message in MIME format. --------------000402070301060907060901 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 09/23/2015 11:34 AM, Eli Zaretskii wrote: >> From: Petr Hracek >> Date: Wed, 23 Sep 2015 10:06:50 +0200 >> >> Is there any possibility how to suppress dumping emacs? >> Shall I add something to ./configure script or even to make? > You could try adding -DCANNOT_DUMP=1 to preprocessor command-line > switches. But it would be much better if you try figuring out why it > segfaults, then we might be able to come up with a solution that > preserves the dumping capability. Thanks. with adding -D skips DUMPing but failed from another reason. cd ../lisp; make -w update-subdirs make[3]: Entering directory `/builddir/build/BUILD/emacs-24.3/build-gtk/lisp' cd /builddir/build/BUILD/emacs-24.3/lisp; subdirs=`find . -type d -print`; for file in $subdirs; do case $file in */.* | */.*/* | */=* | */cedet* ) ;; *) wins="$wins $file" ;; esac; done; \ for file in $wins; do \ /builddir/build/BUILD/emacs-24.3/build-aux/update-subdirs $file; \ done; make[3]: Leaving directory `/builddir/build/BUILD/emacs-24.3/build-gtk/lisp' if test "no" = "yes"; then \ rm -f bootstrap-emacs; \ ln temacs bootstrap-emacs; \ else \ `/bin/pwd`/temacs --batch --load loadup bootstrap || exit 1; \ test "X" = X || -zex emacs; \ mv -f emacs bootstrap-emacs; \ fi Warning: Lisp directory `/usr/share/emacs/24.3/lisp' does not exist. Warning: Lisp directory `/usr/share/emacs/24.3/leim' does not exist. Cannot open load file: loadup.el make[2]: *** [bootstrap-emacs] Error 1 make[2]: Leaving directory `/builddir/build/BUILD/emacs-24.3/build-gtk/src' make[1]: *** [src] Error 2 make[1]: Leaving directory `/builddir/build/BUILD/emacs-24.3/build-gtk' make: *** [bootstrap] Error 2 What's the problem? -- Petr Hracek Software Engineer Developer Experience Red Hat, Inc Mob: +420777056169 email: phracek@redhat.com --------------000402070301060907060901 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 7bit
On 09/23/2015 11:34 AM, Eli Zaretskii wrote:
From: Petr Hracek <phracek@redhat.com>
Date: Wed, 23 Sep 2015 10:06:50 +0200

Is there any possibility how to suppress dumping emacs?
Shall I add something to ./configure script or even to make?
You could try adding -DCANNOT_DUMP=1 to preprocessor command-line
switches.  But it would be much better if you try figuring out why it
segfaults, then we might be able to come up with a solution that
preserves the dumping capability.
Thanks. with adding -D skips DUMPing but failed from another reason.
cd ../lisp; make -w update-subdirs
make[3]: Entering directory `/builddir/build/BUILD/emacs-24.3/build-gtk/lisp'
cd /builddir/build/BUILD/emacs-24.3/lisp; subdirs=`find . -type d -print`; for file in $subdirs; do case $file in */.* | */.*/* | */=* | */cedet* ) ;; *) wins="$wins $file" ;; esac; done; \
for file in $wins; do \
   /builddir/build/BUILD/emacs-24.3/build-aux/update-subdirs $file; \
done;
make[3]: Leaving directory `/builddir/build/BUILD/emacs-24.3/build-gtk/lisp'
if test "no" = "yes"; then \
  rm -f bootstrap-emacs; \
  ln temacs bootstrap-emacs; \
else \
  `/bin/pwd`/temacs --batch --load loadup bootstrap || exit 1; \
  test "X" = X ||  -zex emacs; \
  mv -f emacs bootstrap-emacs; \
fi
Warning: Lisp directory `/usr/share/emacs/24.3/lisp' does not exist.
Warning: Lisp directory `/usr/share/emacs/24.3/leim' does not exist.
Cannot open load file: loadup.el
make[2]: *** [bootstrap-emacs] Error 1
make[2]: Leaving directory `/builddir/build/BUILD/emacs-24.3/build-gtk/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/builddir/build/BUILD/emacs-24.3/build-gtk'
make: *** [bootstrap] Error 2
What's the problem?

-- 
Petr Hracek
Software Engineer
Developer Experience
Red Hat, Inc
Mob: +420777056169
email: phracek@redhat.com
--------------000402070301060907060901--