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, 18 Oct 2016 22:41:02 -0600 Message-ID: <87funtt0gx.fsf@gmail.com> References: <60845a3c-9167-faa1-2875-962e7025cc1f@cs.ucla.edu> <2e4bd054-3bed-501a-de51-55216eb2377f@cs.ucla.edu> <87vawql2rw.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1476852135 7627 195.159.176.226 (19 Oct 2016 04:42:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 19 Oct 2016 04:42:15 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: Paul Eggert , 24720@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 19 06:42:11 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 1bwihe-0001H2-UH for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Oct 2016 06:42:11 +0200 Original-Received: from localhost ([::1]:45454 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwihg-00034E-Rk for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Oct 2016 00:42:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwiha-00033x-N4 for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2016 00:42:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwihW-00060e-8n for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2016 00:42:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60695) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bwihW-00060R-4i for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2016 00:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bwihV-0006zU-MZ for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2016 00:42: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, 19 Oct 2016 04:42: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.147685209026834 (code B ref 24720); Wed, 19 Oct 2016 04:42:01 +0000 Original-Received: (at 24720) by debbugs.gnu.org; 19 Oct 2016 04:41:30 +0000 Original-Received: from localhost ([127.0.0.1]:38652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwih0-0006yk-9I for submit@debbugs.gnu.org; Wed, 19 Oct 2016 00:41:30 -0400 Original-Received: from mail-io0-f171.google.com ([209.85.223.171]:35774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwigy-0006yX-W1 for 24720@debbugs.gnu.org; Wed, 19 Oct 2016 00:41:29 -0400 Original-Received: by mail-io0-f171.google.com with SMTP id f5so19944996ioj.2 for <24720@debbugs.gnu.org>; Tue, 18 Oct 2016 21:41:28 -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=K0EJ1G7aAUf3LN4LctzShvNnD6caqCNirdTfUFMuwCI=; b=gqhgUXuRQLI4E4v2x1FRlYv7WIBWZoxLdSs+JwKi3um+bHI6eaWG9yqlstzvw51Zxn hHTWPwZssmH0kxc1R6DFeyaKRdm5Eh9MWFRoZsdcwIS50+AInnKL9nLUv5FcRh02baZZ xaphrtCYrPH69hPypvg6L637FoqM269d8qR1C9/CC7jeCN6AmdkXzupZAI3bBVH4gw8j VDTVU01NT0XQGqF83lKUuiIsJJQouTwxU6e29L3rHDYJzYs8RWuxL2HpyXwbiE11LaOq RYAoP09MTzNMtmPyQ1FGOjvRsnDgYtbjsrOkgxRXAr73q9j3Z9gbYPuqb0ZpAlG1lK+v 4hZw== 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=K0EJ1G7aAUf3LN4LctzShvNnD6caqCNirdTfUFMuwCI=; b=N1GwXr6uthDrLqGp9Ix7nkVZVsgNP5UifF7rb2dPM6Lv++YYx5WrXa8fRksSsU4QN8 HcQPqgTLCNDCAqudDPftYxSuYedg4b3AQOTSpIRzCQJ2Y8kRPf7tRGDPlwSbCsC0xgap /4p6o76b7FVFuujKi5HxqG1sLHkltKgUM3iEJQ0JqSfRvyiK1KLGuyvuzW9hfZ9SyuWf QpAaOBGEbGqrXsH/uvYcgKjXp0PmM5j0y0Umzc9ZHLL1hvdDwYlJRamh55SEQrH2GHgU 90TSDD08mxdvydT883vKNzPZ2WlHVWc3X8X0dIx4ffEuoUu0gni06zvOuhW/tKwfyG3t HBbg== X-Gm-Message-State: AA6/9RmtUzL4XP86d3vgQeMXCwxMTD95qlS2ImBekPE6ksrMKochtJ4XLrSVobcFUNgogQ== X-Received: by 10.107.149.70 with SMTP id x67mr5254107iod.44.1476852083459; Tue, 18 Oct 2016 21:41:23 -0700 (PDT) Original-Received: from lylat (S01061859339e9903.ss.shawcable.net. [174.2.107.88]) by smtp.gmail.com with ESMTPSA id w185sm17059977iod.13.2016.10.18.21.41.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Oct 2016 21:41:23 -0700 (PDT) In-Reply-To: (Glenn Morris's message of "Tue, 18 Oct 2016 11:59:15 -0400") 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:124666 Archived-At: Glenn Morris writes: > All that adding -no-pie does is restore the old default behaviour. > It therefore makes no sense for it to cause a slowdown. That makes sense. > I'm going to guess that when you set it via CFLAGS, you lost the -O2 > that is otherwise part of the default CFLAGS. That's indeed the case. I thought that specifying it when calling ./configure would have just added to the default CFLAGS instead of overwriting it. Sorry for the false report. > M-x report-emacs-bug includes information that would probably have > made this obvious from the outset. Check the setting of CFLAGS in > src/Makefile. No, without specifying any CFLAGS manually, report-emacs-bug doesn't mention any configuration details. This appears to be because system-configuration-options is empty in that case. Only when manually specifying flags does report-emacs-bug show the configuration option section. I can see what the CFLAGS are in src/Makefile, thanks. Though it might be nice if I could see these at the Elisp level even when they're the default.