From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Cesar Quiroz Newsgroups: gmane.emacs.bugs Subject: bug#24682: Emacs 25 from GIT build issue under Ubuntu 16.10 Date: Sun, 16 Oct 2016 22:03:58 -0700 Message-ID: References: <83pon22m0d.fsf@gnu.org> <6112973d-aeda-8839-50f1-518a3d2a1a46@cs.ucla.edu> <6ae8cf57-50f6-e40e-458a-420749e8479f@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c05a3b41e0f7a053f088232 X-Trace: blaine.gmane.org 1476680732 24735 195.159.176.226 (17 Oct 2016 05:05:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 17 Oct 2016 05:05:32 +0000 (UTC) Cc: =?UTF-8?Q?=C3=93scar?= Fuentes , Tim Cross , Michael Albinus , 24682@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 17 07:05:26 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bw06v-0004Xv-Fr for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Oct 2016 07:05:17 +0200 Original-Received: from localhost ([::1]:59046 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bw06w-0003AB-Mz for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Oct 2016 01:05:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47960) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bw06j-00035X-Vm for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2016 01:05:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bw06g-0000dG-Ov for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2016 01:05:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57938) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bw06g-0000d9-LY for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2016 01:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bw06g-00083m-69 for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2016 01:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Cesar Quiroz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Oct 2016 05:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24682 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24682-submit@debbugs.gnu.org id=B24682.147668066530925 (code B ref 24682); Mon, 17 Oct 2016 05:05:02 +0000 Original-Received: (at 24682) by debbugs.gnu.org; 17 Oct 2016 05:04:25 +0000 Original-Received: from localhost ([127.0.0.1]:35895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bw065-00082j-CB for submit@debbugs.gnu.org; Mon, 17 Oct 2016 01:04:25 -0400 Original-Received: from mail-it0-f45.google.com ([209.85.214.45]:38378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bw064-00082U-El for 24682@debbugs.gnu.org; Mon, 17 Oct 2016 01:04:24 -0400 Original-Received: by mail-it0-f45.google.com with SMTP id o19so40305987ito.1 for <24682@debbugs.gnu.org>; Sun, 16 Oct 2016 22:04:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=R0muUfcKFZ7NipGeRxJxapBLP9NNRb2PW6bkhRoi6tM=; b=LxTqdmkLjtdet1m+1Z/9dRu4Li1QwP8Bc0vrEeBGwep3NNQlV31Jiz3jRCW0+r98rX NorCkeMKvyB1OOjHMOBKLPt+aKmOFg3XepwjTP1fZFhQuWbtJwaV+65t1jUbYs9zwzLW Zgn9c/mF81yaG/s4jhiOuXdbU2ex3RYl+cFRkxx01reRqNyGMchbfAlKjHEvuIwgCENH Chf5TijgN/tRnziiWP9SPwzekr9JjUPuNEDZq3wWSXhcUsRItymLFew7NdGk7WoZCQos 0Zplcs3EHl6vycHrT2vXntUyd0gVeVrk1kriKHJ09xSdhhct1l+anHmnRPbaFi0p0YJ5 w63w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=R0muUfcKFZ7NipGeRxJxapBLP9NNRb2PW6bkhRoi6tM=; b=dCQCsoBR7QlHuPyLtvOzDQRD+3Bd60WVjAH33g7kVwc4KyojJ240pWqgYET4VYhZPQ vnvg7BGgYFKxc9eYADnUVKMC5+INYgKNK0qOBa4LUCA3V96azVgcwI99pkX9tSss3hyc o/wpDytG9RmYv7HkUhigGRBB+uLXLsanGapAbF780tj6Za1r6RWQ5YSCkqTeXqWXFxY1 ypJSStpsnkEAQ9ik4QC8tLTkYDVN27S7KuWpVXB6Afyy2yaU0JYNP0qzIfatcX1K/WbV S7jvCaNxOLatngefHDut2GvsYpIBNU9WXmnQ9GcdDBbDzyDoaYSpPNOyMPuosQd4BRcz VNug== X-Gm-Message-State: AA6/9Rnhu6nJv29y1hqj6yFADw2odlVa6LGAhy8G/OmQL83+SDZZA39iLw3WRzgLR7JeQmahd3MaSAyPIVgDKg== X-Received: by 10.36.200.85 with SMTP id w82mr7049648itf.29.1476680658841; Sun, 16 Oct 2016 22:04:18 -0700 (PDT) Original-Received: by 10.79.1.149 with HTTP; Sun, 16 Oct 2016 22:03:58 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" Xref: news.gmane.org gmane.emacs.bugs:124575 Archived-At: --94eb2c05a3b41e0f7a053f088232 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I applied the patch to my local copy of emacs-25, and it built fine. Will test the official port when available. Going back to the master branch build, the log shows a warning, unrelated to the -no-pie issue: CC gmalloc.o /work/emacs/master/src/gmalloc.c:1760:1: warning: no previous prototype for =E2=80=98hybrid_aligned_alloc=E2=80=99 [-Wmissing-prototypes] hybrid_aligned_alloc (size_t alignment, size_t size) ^~~~~~~~~~~~~~~~~~~~ This is not happening in the emacs-25 branch. Maybe the conditional compilation is hiding a prototype in master but not in emacs-25. I will take another look, and report it tomorrow if I can confirm the difference. --C=C3=A9sar On Sun, Oct 16, 2016 at 8:04 PM, Cesar Quiroz wrote: > > > --C=C3=A9sar > > On Sun, Oct 16, 2016 at 4:56 PM, Paul Eggert wrote: > >> Cesar Quiroz wrote: >> >>> There was something in the release notes about -no-pie being the standa= rd >>> negation of -pie, while -nopie was introduced (by Debian?) to deal with >>> the >>> issue. >>> >> >> Which release notes? >> > > I meant 16.10: https://wiki.ubuntu.com/YakketyYak/ReleaseNotes, and from > there specifically: > > https://wiki.ubuntu.com/SecurityTeam/PIE > > >> I installed the attached into the Emacs master branch; does it fix the >> problem? If so, I'll backport it to emacs-25 and ask you to test that. >> > > Works for master; ready to test emacs-25. > > For reference, I did a 'git clean -fdx' in the git workdir, autogen, and > then I configured the build area with > > $ ./config.status --config > '--with-x-toolkit=3Dgtk3' '--with-file-notification=3Dyes' '--with-module= s' > $ > > > --94eb2c05a3b41e0f7a053f088232 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I applied the patch to my local copy of emacs-25, and it b= uilt fine.=C2=A0 Will test the official port when available.

=
Going back to the master branch build, the log shows a warning, unrela= ted to the -no-pie issue:

=C2=A0 CC =C2=A0 =C2=A0 =C2=A0 gmalloc.o
= /work/emacs/master/src/gmalloc.c:1760:1= : warning: no previous prototype for =E2=80=98hybrid_aligned_alloc=E2=80=99= [-Wmissing-prototypes]
=C2=A0^~~~~~~~~~~~~~~~~~~~

This is not happening in the emacs-25 branch. = Maybe the conditional compilation is hiding a prototype in master but not i= n emacs-25. I will take another look, and report it tomorrow if I can confi= rm the difference.

--C=C3=A9sar

On Sun, Oct 16, 2016 at 8:04 PM, Cesar Quiro= z <cesar.quiroz@gmail.com> wrote:


--C=C3=A9sar<= /div>

On Sun, Oct 16, 2016 at 4:5= 6 PM, Paul Eggert <eggert@cs.ucla.edu> wrote:
Cesar Quiroz wrote:
There was something in the release notes about -no-pie being the standard negation of -pie, while -nopie was introduced (by Debian?) to deal with the=
issue.

Which release notes?

I meant 16.= 10: =C2=A0https://wiki.ubuntu.com/YakketyYak/ReleaseNotes, and = from there specifically:



I installed the attached into the Emacs master branch; does it fix the prob= lem? If so, I'll backport it to emacs-25 and ask you to test that.
<= /blockquote>

Works for master; ready to test emac= s-25.

For reference, I did a 'git clean -fdx&#= 39; in the git workdir, autogen, and then I configured the build area with<= /div>

$ ./config.status --config
'--with-x= -toolkit=3Dgtk3' '--with-file-notification=3Dyes' '--with-m= odules'
$=C2=A0
=C2=A0


--94eb2c05a3b41e0f7a053f088232--