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: Sat, 15 Oct 2016 22:31:46 -0700 Message-ID: References: <83pon22m0d.fsf@gnu.org> <6112973d-aeda-8839-50f1-518a3d2a1a46@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1147cb70b6e73e053ef4c78b X-Trace: blaine.gmane.org 1476596008 336 195.159.176.226 (16 Oct 2016 05:33:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 16 Oct 2016 05:33:28 +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 Sun Oct 16 07:33:23 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 1bve4N-0006Bm-F1 for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Oct 2016 07:33:11 +0200 Original-Received: from localhost ([::1]:55135 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bve4P-0002vS-IO for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Oct 2016 01:33:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59431) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bve4I-0002vK-Es for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2016 01:33:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bve4E-0002jH-5w for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2016 01:33:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55001) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bve4E-0002j3-2i for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2016 01:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bve4D-0002jE-LB for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2016 01:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Cesar Quiroz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Oct 2016 05:33:01 +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.147659593510431 (code B ref 24682); Sun, 16 Oct 2016 05:33:01 +0000 Original-Received: (at 24682) by debbugs.gnu.org; 16 Oct 2016 05:32:15 +0000 Original-Received: from localhost ([127.0.0.1]:32958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bve3T-0002iB-4Y for submit@debbugs.gnu.org; Sun, 16 Oct 2016 01:32:15 -0400 Original-Received: from mail-it0-f46.google.com ([209.85.214.46]:36239) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bve3Q-0002hv-RP for 24682@debbugs.gnu.org; Sun, 16 Oct 2016 01:32:13 -0400 Original-Received: by mail-it0-f46.google.com with SMTP id 139so17187620itm.1 for <24682@debbugs.gnu.org>; Sat, 15 Oct 2016 22:32:12 -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=xUDduZuz01OdB5/Xllak7LFBRJBDnYFFNCo0cVYljio=; b=EFsDhLOBJxmJr+767tyYQRMau2rN2O5wYrVa3wF9y6KhOa3H9cEv4AOjibDYP9QC3O 2tGeSpYOU+8QlqI8SGOmc8vw+FovpWnTOhOg+ISr0sdRAPmDpRDiCThk5sDBajp+Pkhq qsEKQQpEcfWatJ4iBjh0tqLEcwLn8eMc5V3O7ZQRtAojpR1ZqnLDnLnSO5680iCdjI8a nM5s2eNgkVFktB0gdXyPP6NLQdlMnXDgGE2C+68lCV7S2wlAHOMhing26YekQczTA06f T1Tcja61Ql4YNuP7qsm+f8CxDDs4fbL8hSTRfsQvos4/6040ljM3VdDzTo2hA3OJTCFD oPgg== 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=xUDduZuz01OdB5/Xllak7LFBRJBDnYFFNCo0cVYljio=; b=iHQOnZTqlulYkcAnpEIXnf0WlwXBHm1uoS0NREtRLaehtpwjLt4M5ZMAMq14iGuxed eNyA6nFiYz6Gw7FTyconGnsabvIxfi//kQaeAiR8twcAxoYAO1K9nIbZtOIm/1Su6noJ eWnvtwh9ZZmxGE+EXu/nykCzQRgqr4Pv9tqg+DAkZW7CYcIoJdW7M247XqBT5MrATZEX 4Zag35+Sv2kH87lW0RVXDey2bngwGrWuv7lNhR82JfpwJlldO+Bn6SxrCPWg6L7oDcq7 BjZrtUJdvxz7xKKcJ0SKvQ5TjqehHWQtojUfNk5ttfLpzYJFop6XaZuawvpE+viAaXk8 N70Q== X-Gm-Message-State: AA6/9RleNaWrJn+2DQOM/Oa/axiUw0kKI2sk9xZJcfq5lsl2vE/Pjz07KAuzgMyUdtOyEIZacRxoOpxtIOXlCA== X-Received: by 10.36.127.140 with SMTP id r134mr3836652itc.29.1476595927146; Sat, 15 Oct 2016 22:32:07 -0700 (PDT) Original-Received: by 10.79.1.149 with HTTP; Sat, 15 Oct 2016 22:31:46 -0700 (PDT) In-Reply-To: <6112973d-aeda-8839-50f1-518a3d2a1a46@cs.ucla.edu> 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:124534 Archived-At: --001a1147cb70b6e73e053ef4c78b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable -no-pie versus -nopie 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. Relevant snippet from config.log: configure:31624: checking whether gcc accepts -nopie configure:31644: gcc -o conftest -no-pie -nopie conftest.c >&5 gcc: error: unrecognized command line option '-nopie'; did you mean '-no-pie'? configure:31644: $? =3D 1 --C=C3=A9sar On Sat, Oct 15, 2016 at 9:51 PM, Paul Eggert wrote: > On 10/15/2016 12:56 AM, Eli Zaretskii wrote: > >> This is bug#24682, please follow up there. >> > > configure.ac on emacs-25 knows about this problem, and attempts to build > Emacs with -nopie. Please investigate why this is not working on Ubuntu > 16.10. I assume './configure' is outputting a string like "checking wheth= er > gcc accepts -nopie... no"; why is that? Try looking in config.log near th= e > string "accepts -nopie". > > As noted in configure.ac, this problem has occurred before; see Bug#18784 > and Bug#20338. Possibly we merely need to tweak configure.ac to pacify > Ubuntu's variant of GCC. > --001a1147cb70b6e73e053ef4c78b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
-no-pie versus -nopie

There was somethi= ng in the release notes about -no-pie being the standard negation of -pie, = while -nopie was introduced (by Debian?) to deal with the issue.
=
Relevant snippet from config.log:

configure:31624: checking whether gcc= accepts -nopie
config= ure:31644: gcc -o conftest -no-pie =C2=A0 =C2=A0 =C2=A0-nopie conftest.c = =C2=A0 >&5=C2=A0
did you mean '-no-pie'= ?
configure:31644: $? = =3D 1


--C=C3=A9sar

On Sat, Oct 15, 2016 at 9:51 PM, Paul Eggert= <eggert@cs.ucla.edu> wrote:
On 10/15/2016 12:56 AM, Eli Zaretskii wrote:
This is bug#24682, please follow up there.

config= ure.ac on emacs-25 knows about this problem, and attempts to build Emac= s with -nopie. Please investigate why this is not working on Ubuntu 16.10. = I assume './configure' is outputting a string like "checking w= hether gcc accepts -nopie... no"; why is that? Try looking in config.l= og near the string "accepts -nopie".

As noted in configure.ac, this problem has occurred before; see Bug#18784 and= Bug#20338. Possibly we merely need to tweak configure.ac to pacify Ubuntu= 9;s variant of GCC.

--001a1147cb70b6e73e053ef4c78b--