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#20190: Building emacs-24.4 against GCC-5.0 Date: Thu, 26 Mar 2015 16:06:16 +0100 Message-ID: <55142068.9070806@redhat.com> References: <5511A121.6070308@cs.ucla.edu> <5512A9A5.9040604@redhat.com> <55130B64.2010503@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1427382494 6173 80.91.229.3 (26 Mar 2015 15:08:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Mar 2015 15:08:14 +0000 (UTC) Cc: 20190@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 26 16:08:06 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 1Yb9O3-00041a-1z for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Mar 2015 16:07:59 +0100 Original-Received: from localhost ([::1]:44911 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yb9O2-0002mh-Ew for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Mar 2015 11:07:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yb9NC-0001pT-E0 for bug-gnu-emacs@gnu.org; Thu, 26 Mar 2015 11:07:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yb9N8-00066b-Cr for bug-gnu-emacs@gnu.org; Thu, 26 Mar 2015 11:07:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yb9N8-00066V-7l for bug-gnu-emacs@gnu.org; Thu, 26 Mar 2015 11:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Yb9N7-0004Mq-OF for bug-gnu-emacs@gnu.org; Thu, 26 Mar 2015 11:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Petr Hracek Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Mar 2015 15:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20190 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20190-submit@debbugs.gnu.org id=B20190.142738239216745 (code B ref 20190); Thu, 26 Mar 2015 15:07:01 +0000 Original-Received: (at 20190) by debbugs.gnu.org; 26 Mar 2015 15:06:32 +0000 Original-Received: from localhost ([127.0.0.1]:37395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yb9Md-0004M0-KX for submit@debbugs.gnu.org; Thu, 26 Mar 2015 11:06:31 -0400 Original-Received: from mx1.redhat.com ([209.132.183.28]:57536) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yb9MY-0004Ll-VF for 20190@debbugs.gnu.org; Thu, 26 Mar 2015 11:06:30 -0400 Original-Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t2QF6IN2014297 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 26 Mar 2015 11:06:19 -0400 Original-Received: from [10.40.200.19] (ovpn-200-19.brq.redhat.com [10.40.200.19]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t2QF6GGb003209; Thu, 26 Mar 2015 11:06:17 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 In-Reply-To: <55130B64.2010503@cs.ucla.edu> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 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:100952 Archived-At: On 03/25/2015 08:24 PM, Paul Eggert wrote: > On 03/25/2015 05:27 AM, Petr Hracek wrote: >> Starting program: /builddir/build/BUILD/emacs-24.5/src/temacs --batch >> --load loadup bootstrap >> Error in re-setting breakpoint 1: Cannot access memory at address >> 0x17a563 >> Error in re-setting breakpoint 2: Cannot access memory at address >> 0x19f9ef > > This makes it look like there's something wrong with your compiler, > linker, or debugger. At this point Emacs should just be a normal C > program, and there should be no errors in setting breakpoints. > > I suggest comparing the output of 'configure' and 'make' and 'gdb' > with that of Fedora 21, to see if there are some options missing or > extra. I'm attaching my output. For example, look at the command > that created temacs (it's long, and says '-o temacs' in it). > > Also, you might want to look at Debian bug 684788 for > possibly-relevant ideas: > > http://bugs.debian.org/684788 Finally I have found an issue. If I specify in LDFLAGS file like -spec= which contains: *self_spec: + %{!shared:-pie} *link: + -z now Then the build fails. If I remove it then all goes fine. Just for information. -- Petr Hracek Software Engineer Developer Experience Red Hat, Inc Mob: +420777056169 email: phracek@redhat.com