From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Newsgroups: gmane.emacs.bugs Subject: bug#24720: Performance impact of -no-pie Date: Tue, 25 Oct 2016 22:30:31 -0600 Message-ID: <87twbz7mvs.fsf@gmail.com> References: <60845a3c-9167-faa1-2875-962e7025cc1f@cs.ucla.edu> <2e4bd054-3bed-501a-de51-55216eb2377f@cs.ucla.edu> <87vawql2rw.fsf@gmail.com> <87funtt0gx.fsf@gmail.com> <83y41kvmy4.fsf@gnu.org> <87vawoi0lw.fsf@gmail.com> <8360onv6v0.fsf@gnu.org> <87lgxi8y8r.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1477456291 9737 195.159.176.226 (26 Oct 2016 04:31:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 26 Oct 2016 04:31:31 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: eggert@cs.ucla.edu, 24720@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 26 06:31:27 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 1bzFrp-000868-Cx for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Oct 2016 06:31:09 +0200 Original-Received: from localhost ([::1]:59545 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzFrr-0005f6-NX for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Oct 2016 00:31:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzFrl-0005en-4k for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2016 00:31:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzFri-0007f7-1P for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2016 00:31:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41507) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bzFrh-0007f2-Tq for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2016 00:31:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bzFrh-0003ec-OT for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2016 00:31:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alex Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Oct 2016 04:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24720 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24720-submit@debbugs.gnu.org id=B24720.147745624414021 (code B ref 24720); Wed, 26 Oct 2016 04:31:01 +0000 Original-Received: (at 24720) by debbugs.gnu.org; 26 Oct 2016 04:30:44 +0000 Original-Received: from localhost ([127.0.0.1]:56906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzFrP-0003e5-QS for submit@debbugs.gnu.org; Wed, 26 Oct 2016 00:30:44 -0400 Original-Received: from mail-it0-f53.google.com ([209.85.214.53]:34402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzFrN-0003dr-L2 for 24720@debbugs.gnu.org; Wed, 26 Oct 2016 00:30:41 -0400 Original-Received: by mail-it0-f53.google.com with SMTP id f129so1555390itc.1 for <24720@debbugs.gnu.org>; Tue, 25 Oct 2016 21:30:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=CHCJt1fI4QNN6SolNCypeGIakr7rnsvlZhidWLKFIIU=; b=uRDcl9LB2B01Vr1ElIoTanD3vQW0CzgHYQiDD3Vx8EyVoALCkEPVSld6D6U/b/9VjO tMlnIXkyUFiZ3qqR2oaQGUwmmi4zHSjckIIVmk6OUs51M2GrfIRlJFyBbnZCAkc924nH jry9m6YyWz69s+yf5GLYx3nQTgB250ZXbhT2nGGh81TE7gfydgaCniaEwXtYoJtPo27Y Hr6tTgILoCshxNwefd9T/+vLb0qe4H/4jVP6I2lcT2vkzxlbAoIapYmn//IcBVvGJxg+ Ryitb9Rofw6RVknDeRfBN6DtvERh/QuE7xpEiLgD0LCkbyG3qIQiYYEILlXCCFEGnDBp 4l5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=CHCJt1fI4QNN6SolNCypeGIakr7rnsvlZhidWLKFIIU=; b=juBw9lcVVXNw67DDikL/1GKyvIGcMbM+QzhiiZoymyBBpumZHP5bcE+viaUGcpAL1G HGKGQskWnr/xSL8XaREh9q4W2k8I1Szkwc0GN74W3VC5qEp+51ICnDgPlg1TveNRP/10 hLRyY5hh6ECFTz27ZtQRmZD7LjBN9iSUVDqdqPbO7QqzzLLpsXJtiNcwL5B0VBAS9Dwm lyOIP8RFID2MTBAsjeOl76G/TwWXoYh4nPseIrnEdDFS0qR+oJDMyrumYD4RJhd0BO8m kSrxnW3VFVnJmR2IsQsuzSVgrwRM+PCiQCCeS9Rd+Cx7NgLqbWmemVhRm3LDUJIZlDZM zc5g== X-Gm-Message-State: ABUngvf43DOjRHOK8fvsNy17YjGrnBGbLvnVi3WLbZu9gJdMxHDYJVqQWAC7T+76xeDKYA== X-Received: by 10.36.98.144 with SMTP id d138mr549151itc.83.1477456236008; Tue, 25 Oct 2016 21:30:36 -0700 (PDT) Original-Received: from lylat (S01061859339e9903.ss.shawcable.net. [174.2.107.88]) by smtp.gmail.com with ESMTPSA id p11sm303789iop.30.2016.10.25.21.30.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Oct 2016 21:30:35 -0700 (PDT) In-Reply-To: <87lgxi8y8r.fsf@gmail.com> (Alex's message of "Thu, 20 Oct 2016 16:13:56 -0600") 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:125026 Archived-At: Alex writes: > Eli Zaretskii writes: > >>> From: Alex >>> Cc: rgm@gnu.org, eggert@cs.ucla.edu, 24720@debbugs.gnu.org >>> Date: Wed, 19 Oct 2016 13:45:47 -0600 >>> >>> > The default switches are known, so they don't need to be spelled out >>> > in the report. It's the non-default ones that needs to be shown. >>> >>> I agree that they don't need to be in the report, but just having them >>> in a variable (e.g. system-configuration-options) would make it easier >>> for users to see what the default switches are. >>> >>> For example, I would have compared system-configuration-options between >>> the slow and fast builds and noticed that the fast build had '-O2' while >>> the slow one didn't, and this report wouldn't have been filed. >> >> You have that information in config.log, so I'm unsure why you >> couldn't find it if you looked for it. > > Yes, in this case I could have looked in there, but that file is > overwritten with every ./configure, right? That means there's no > guarantee that what's listed there is for a given Emacs build. > > I think that configuration options should be tied to, and viewable > through, Emacs regardless of the value it's set to. If report-emacs-bugs > needs to know when to hide the options, then perhaps a new variable > could be introduced for that purpose. For example, in configure.ac, if the block that calculates emacs_config_options was moved to the bottom before AC_DEFINE_UNQUOTED(EMACS_CONFIG_OPTIONS, "${emacs_config_options}", [Define to the options passed to configure.]) then system-configuration-options is: "dummy pkg-config 'CFLAGS=-g3 -O2' 'CPPFLAGS= ' 'LDFLAGS= '" I'm not sure what 'dummy pkg-config' is doing there, but otherwise I think that it would be nice to have this as the default.