From unknown Tue Jun 17 20:20:21 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#24720 <24720@debbugs.gnu.org> To: bug#24720 <24720@debbugs.gnu.org> Subject: Status: Performance impact of -no-pie Reply-To: bug#24720 <24720@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:20:21 +0000 retitle 24720 Performance impact of -no-pie reassign 24720 emacs submitter 24720 Paul Eggert severity 24720 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 17 16:19:07 2016 Received: (at submit) by debbugs.gnu.org; 17 Oct 2016 20:19:07 +0000 Received: from localhost ([127.0.0.1]:37090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwENH-0004f1-7R for submit@debbugs.gnu.org; Mon, 17 Oct 2016 16:19:07 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49387) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwENF-0004eW-H6 for submit@debbugs.gnu.org; Mon, 17 Oct 2016 16:19:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwEN9-0002oW-IY for submit@debbugs.gnu.org; Mon, 17 Oct 2016 16:19:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57300) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bwEN9-0002oO-FD for submit@debbugs.gnu.org; Mon, 17 Oct 2016 16:18:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwEN8-000407-7D for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2016 16:18:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwEN5-0002kz-0L for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2016 16:18:58 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:41844) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bwEN4-0002jr-QJ for bug-gnu-emacs@gnu.org; Mon, 17 Oct 2016 16:18:54 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 2B7DF160E45; Mon, 17 Oct 2016 13:18:53 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id nuTDAMZDzcBl; Mon, 17 Oct 2016 13:18:51 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 580B8160D69; Mon, 17 Oct 2016 13:18:51 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id kuoXh8asLc9V; Mon, 17 Oct 2016 13:18:51 -0700 (PDT) Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 413FB16026B; Mon, 17 Oct 2016 13:18:51 -0700 (PDT) To: Emacs bug reports From: Paul Eggert Subject: Performance impact of -no-pie Organization: UCLA Computer Science Department Message-ID: <60845a3c-9167-faa1-2875-962e7025cc1f@cs.ucla.edu> Date: Mon, 17 Oct 2016 13:18:51 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit Cc: Alex X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) (The rest of this message is copied from Alex's email archived at .) After being forced to add -no-pie to my CFLAGS in order to build Emacs with a recent GCC, my startup time for my whole config (with -nw) has increased from ~1 second to ~2 seconds. The startup time for `emacs -Q -nw` went up from about 0.07s to 0.14s; again it's about twice as slow. The -Q time doesn't worry me, but the extra second for my main configuration isn't pleasant. Is such a performance impact expected? If so, is there a plan to regain the old speed? From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 17 16:26:41 2016 Received: (at 24720) by debbugs.gnu.org; 17 Oct 2016 20:26:41 +0000 Received: from localhost ([127.0.0.1]:37095 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwEUb-0004qY-1e for submit@debbugs.gnu.org; Mon, 17 Oct 2016 16:26:41 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:54726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwEUZ-0004qJ-70 for 24720@debbugs.gnu.org; Mon, 17 Oct 2016 16:26:39 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 5C78D160D69; Mon, 17 Oct 2016 13:26:33 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id pj08fIyYxhYF; Mon, 17 Oct 2016 13:26:32 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 843F3160E6E; Mon, 17 Oct 2016 13:26:32 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id PBMQNdWN9d-e; Mon, 17 Oct 2016 13:26:32 -0700 (PDT) Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 67404160E49; Mon, 17 Oct 2016 13:26:32 -0700 (PDT) Subject: Re: Performance impact of -no-pie References: <60845a3c-9167-faa1-2875-962e7025cc1f@cs.ucla.edu> To: Alex From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: <2e4bd054-3bed-501a-de51-55216eb2377f@cs.ucla.edu> Date: Mon, 17 Oct 2016 13:26:32 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 24720 Cc: 24720@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) > Is such a performance impact expected? If so, is there a plan to regain the old speed? No, such a performance change is not expected. Can you reproduce the problem with the emacs-25 or master branches, without manually adding -no-pie to CFLAGS? The bleeding-edge versions of Emacs attack the problem in a slightly different way, which might affect performance less. If you still see a performance problem, can you narrow it down, e.g., by configuring it with --enable-profiling and seeing where the extra cycles are going? From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 18 00:06:28 2016 Received: (at 24720) by debbugs.gnu.org; 18 Oct 2016 04:06:28 +0000 Received: from localhost ([127.0.0.1]:37425 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwLfY-0000Jf-GC for submit@debbugs.gnu.org; Tue, 18 Oct 2016 00:06:28 -0400 Received: from mail-it0-f46.google.com ([209.85.214.46]:37234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwLfW-0000JR-Nf for 24720@debbugs.gnu.org; Tue, 18 Oct 2016 00:06:27 -0400 Received: by mail-it0-f46.google.com with SMTP id m138so69419581itm.0 for <24720@debbugs.gnu.org>; Mon, 17 Oct 2016 21:06:26 -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=HExZgTVV13rZAcuJrnDvWz3RsRicFfsLHkau3j48ATk=; b=LT7LrL2pb0+qAayYAkqU8Fb0BngEeoccfExR627prRa0aZfP+XPOSJ71D1AhxqZXUZ a5Z1MLWyQ3YCWNVqnYUQ7uTbEHgrwB8EVTGzDJoSGX7Chjr8BNDw7QK0Cmwy5l/Kqu/a 7bD1jJ8wRZcyQ9zG786c5J7ezSqGui5A40vNuOHpAGkmAYvKlIlPN1HM6ATR61ry0xTf o1W/7CZr+FGYbEo1myRcKPqxPJOhSCrzgP3bumTdK7RHn1qwsCqHe8iTmSrZzElTPs74 A2Lvpy4CSSSyX3zc/SnktyuXaRcm9OfgHK18S4yKd27anxdK29mx8l0jll7jLHQonZom hqJQ== 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=HExZgTVV13rZAcuJrnDvWz3RsRicFfsLHkau3j48ATk=; b=Cgpc3rdeVnhCJqNXICltMQPZ5vU1pXnDKuGMhni82ta8kOgX7gDcXZVfx0aqcEMuKg UfT/8GE7594qDo69ryyu8IkAKaMp75gB7wb4z7X+O3QrTUEhyAprEkRNQRJiyHMZJ7tX 3VoRGSUgKOiA6bZZK7OTKvUIBzx61dUBpDvnoJEa5KibXjDPTnMytEqznAKahlPFw6aF x90MhgE6VGtxtbIILK1FPZht73dtWd39vorF32zNxgYO4rFOBImNOVYJpopxOBIoZ9Ly 8tDHEo4HN0pvWg0dPSMT22IWyzLzkroHKKKRdsDRiEe1Tahd0JN0lg11ahZ7rHQy4adI 3uJg== X-Gm-Message-State: AA6/9RlcGpH3ygF1J9arxvd25Hc1bt5kfcgGuu+f7c5YDj6+c7WsR2v7kKfXUMglAHTlsQ== X-Received: by 10.36.64.2 with SMTP id n2mr11478757ita.34.1476763580994; Mon, 17 Oct 2016 21:06:20 -0700 (PDT) Received: from lylat (S01061859339e9903.ss.shawcable.net. [174.2.107.88]) by smtp.gmail.com with ESMTPSA id m31sm14802003ioi.40.2016.10.17.21.06.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 17 Oct 2016 21:06:20 -0700 (PDT) From: Alex To: Paul Eggert Subject: Re: Performance impact of -no-pie References: <60845a3c-9167-faa1-2875-962e7025cc1f@cs.ucla.edu> <2e4bd054-3bed-501a-de51-55216eb2377f@cs.ucla.edu> Date: Mon, 17 Oct 2016 22:06:11 -0600 In-Reply-To: <2e4bd054-3bed-501a-de51-55216eb2377f@cs.ucla.edu> (Paul Eggert's message of "Mon, 17 Oct 2016 13:26:32 -0700") Message-ID: <87vawql2rw.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 24720 Cc: 24720@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) Paul Eggert writes: >> Is such a performance impact expected? If so, is there a plan to regain the > old speed? > > No, such a performance change is not expected. > > Can you reproduce the problem with the emacs-25 or master branches, without > manually adding -no-pie to CFLAGS? The bleeding-edge versions of Emacs attack > the problem in a slightly different way, which might affect performance less. > > If you still see a performance problem, can you narrow it down, e.g., by > configuring it with --enable-profiling and seeing where the extra cycles are > going? Ah, I see. It looks like the bleeding-edge versions add -no-pie to LDFLAGS instead of CFLAGS. Doing the same thing myself both to those versions and the 25.1 tarball (which is what I was using before) now results in the same performance as before, within error. Is it a bug that adding -no-pie to CFLAGS slows startup and runtime performance by a factor of 2? I would have expected that -no-pie would generally be faster compared to -pie. Is that not the case? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 18 01:55:06 2016 Received: (at 24720) by debbugs.gnu.org; 18 Oct 2016 05:55:06 +0000 Received: from localhost ([127.0.0.1]:37440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwNMg-0002v3-2r for submit@debbugs.gnu.org; Tue, 18 Oct 2016 01:55:06 -0400 Received: from mail-io0-f169.google.com ([209.85.223.169]:36745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwNMe-0002uX-Dn for 24720@debbugs.gnu.org; Tue, 18 Oct 2016 01:55:04 -0400 Received: by mail-io0-f169.google.com with SMTP id j37so211459732ioo.3 for <24720@debbugs.gnu.org>; Mon, 17 Oct 2016 22:55:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:cc; bh=Gn5j/qMeP90zKHS/RvfiJ3Rgz2spuoRVTUYjpDqQDas=; b=0i4gPR6abZT4WX5mLwodeRimGFV29ZbnWmkt0WoMtV+LLIGQGX1p7V9gJLZOwhxu0q 0qB7HhGCLhghdTGoxuPelLs9NGHWxpvkk0vX3+cKYhMaHCn8vvEWfDxmo2EaJKq4lAZM dBKi+5iTrPxSnBu4Hsg+ORR7yQKHw054ZQv7rNSp4iFJUfHjrQSwUvuqBBZTral7s82Q nupu62n80JB47/wl35ob7xvIKdwSOhDdq2HUNYMAUvuXoqq3yX1RnH5V1dXO7jPYtJSe xF809MxrMLoyeJluybGiKiJ8g8/ZoHF9eimW6rDnUw+lgxaEms3pOj0xibpa9kM0BSE+ j5ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=Gn5j/qMeP90zKHS/RvfiJ3Rgz2spuoRVTUYjpDqQDas=; b=ZkP4r7TFybptRdYmR8AiYfx5nIM9EZ4rjykNNEePbd3PFI1gggNUyTZ1uzcAXaxZ5G iWtwgSD7jiw44kTOVNqTKRR6b90wg/6r6J8cr2zj0dHW+XjeOG1ivatchLzkpTmx+EOy n1cHO32ThfKhPbSshKdRRucLUSklFfv1rgH3lEVFroacHkupYcCGYZerIUp1byq6W76L PAoiI8VX53fP2oj/KSjtvzwsMUtZLL1Lp35hc6O/Vm8PRUxbidWRbsrG1LU+wpvcgdaj qck5OeCIdP63Mx5eG6tBUf153MfrMNVQNw6gBzwnf7PnIiWMpdusXnHUNlgiBEACjlFU v1Fw== X-Gm-Message-State: AA6/9RnUwZSgWJjV489tJ50OK1nwVsSVVdtwTNkAwvkWFIc1xxXC79fz5dfXJ1RmKKGr0jeztWC85M6Q2fjdtA== X-Received: by 10.107.5.72 with SMTP id 69mr25382274iof.132.1476770098608; Mon, 17 Oct 2016 22:54:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.1.149 with HTTP; Mon, 17 Oct 2016 22:54:38 -0700 (PDT) From: Cesar Quiroz Date: Mon, 17 Oct 2016 22:54:38 -0700 Message-ID: Subject: Re: Performance impact of -no-pie To: agrambot@gmail.com Content-Type: multipart/alternative; boundary=001a113efe2c247f61053f1d5503 X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 24720 Cc: 24720@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --001a113efe2c247f61053f1d5503 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Another data point: Ubuntu 16.10 offers emacs 24.5 in /usr/bin/emacs. It is built with -no-pie. Could you check if /usr/bin/emacs also feels slow? --C=C3=A9sar --001a113efe2c247f61053f1d5503 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Another data point: Ubuntu 16.10 offers emacs 24.5 in /usr= /bin/emacs.=C2=A0 It is built with -no-pie. Could you check if /usr/bin/ema= cs also feels slow?


--C=C3=A9sar
--001a113efe2c247f61053f1d5503-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 18 11:59:34 2016 Received: (at 24720) by debbugs.gnu.org; 18 Oct 2016 15:59:34 +0000 Received: from localhost ([127.0.0.1]:38257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwWnd-0005gK-PW for submit@debbugs.gnu.org; Tue, 18 Oct 2016 11:59:33 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54311) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwWnc-0005g8-2m for 24720@debbugs.gnu.org; Tue, 18 Oct 2016 11:59:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwWnR-0005k8-Fo for 24720@debbugs.gnu.org; Tue, 18 Oct 2016 11:59:26 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37228) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwWnN-0005iX-4I; Tue, 18 Oct 2016 11:59:17 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1bwWnL-0002CI-9A; Tue, 18 Oct 2016 11:59:15 -0400 From: Glenn Morris To: Alex Subject: Re: bug#24720: Performance impact of -no-pie References: <60845a3c-9167-faa1-2875-962e7025cc1f@cs.ucla.edu> <2e4bd054-3bed-501a-de51-55216eb2377f@cs.ucla.edu> <87vawql2rw.fsf@gmail.com> X-Spook: Smallpox initiative Coast Guard Suspicious device X-Ran: Ld0!gJOZqz*D;oolP7>Aw7VAV,2HYqI[!=)X-W\pV<#h)XzRNXt04'I*s#%1HOM0,kN`O0 X-Hue: black X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 18 Oct 2016 11:59:15 -0400 In-Reply-To: <87vawql2rw.fsf@gmail.com> (Alex's message of "Mon, 17 Oct 2016 22:06:11 -0600") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: 24720 Cc: Paul Eggert , 24720@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.3 (-----) All that adding -no-pie does is restore the old default behaviour. It therefore makes no sense for it to cause a slowdown. I'm going to guess that when you set it via CFLAGS, you lost the -O2 that is otherwise part of the default CFLAGS. 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 18 12:21:38 2016 Received: (at 24720-done) by debbugs.gnu.org; 18 Oct 2016 16:21:38 +0000 Received: from localhost ([127.0.0.1]:38273 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwX90-0006Di-8f for submit@debbugs.gnu.org; Tue, 18 Oct 2016 12:21:38 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:47228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwX8z-0006DW-5U for 24720-done@debbugs.gnu.org; Tue, 18 Oct 2016 12:21:37 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 5395A160F66; Tue, 18 Oct 2016 09:21:31 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id KSDJy2PfurAS; Tue, 18 Oct 2016 09:21:30 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id ABE8F161009; Tue, 18 Oct 2016 09:21:30 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 9aJWH9o74KXQ; Tue, 18 Oct 2016 09:21:30 -0700 (PDT) Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 92B04160F66; Tue, 18 Oct 2016 09:21:30 -0700 (PDT) Subject: Re: bug#24720: Performance impact of -no-pie To: Glenn Morris , Alex References: <60845a3c-9167-faa1-2875-962e7025cc1f@cs.ucla.edu> <2e4bd054-3bed-501a-de51-55216eb2377f@cs.ucla.edu> <87vawql2rw.fsf@gmail.com> From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: <4d1c0064-570f-e2fe-a391-101dbe535d1f@cs.ucla.edu> Date: Tue, 18 Oct 2016 09:21:27 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 24720-done Cc: 24720-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) On 10/18/2016 08:59 AM, Glenn Morris wrote: > I'm going to guess that when you set it via CFLAGS, you lost the -O2 > that is otherwise part of the default CFLAGS. Yes, that sounds quite plausible. Thanks for the diagnosis. Closing the bug. From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 19 00:41:30 2016 Received: (at 24720) by debbugs.gnu.org; 19 Oct 2016 04:41:30 +0000 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 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 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) 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) From: Alex To: Glenn Morris Subject: Re: bug#24720: Performance impact of -no-pie References: <60845a3c-9167-faa1-2875-962e7025cc1f@cs.ucla.edu> <2e4bd054-3bed-501a-de51-55216eb2377f@cs.ucla.edu> <87vawql2rw.fsf@gmail.com> Date: Tue, 18 Oct 2016 22:41:02 -0600 In-Reply-To: (Glenn Morris's message of "Tue, 18 Oct 2016 11:59:15 -0400") Message-ID: <87funtt0gx.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 24720 Cc: Paul Eggert , 24720@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) 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. From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 19 03:05:16 2016 Received: (at 24720) by debbugs.gnu.org; 19 Oct 2016 07:05:16 +0000 Received: from localhost ([127.0.0.1]:38705 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwkw8-00023x-93 for submit@debbugs.gnu.org; Wed, 19 Oct 2016 03:05:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwkw7-00023l-Jz for 24720@debbugs.gnu.org; Wed, 19 Oct 2016 03:05:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwkvz-00023g-DX for 24720@debbugs.gnu.org; Wed, 19 Oct 2016 03:05:10 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47531) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwkvz-00023Q-Aj; Wed, 19 Oct 2016 03:05:07 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2643 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bwkvx-0000VK-QT; Wed, 19 Oct 2016 03:05:06 -0400 Date: Wed, 19 Oct 2016 10:04:51 +0300 Message-Id: <83y41kvmy4.fsf@gnu.org> From: Eli Zaretskii To: Alex In-reply-to: <87funtt0gx.fsf@gmail.com> (message from Alex on Tue, 18 Oct 2016 22:41:02 -0600) Subject: Re: bug#24720: Performance impact of -no-pie 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> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: 24720 Cc: rgm@gnu.org, eggert@cs.ucla.edu, 24720@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.3 (-----) > From: Alex > Date: Tue, 18 Oct 2016 22:41:02 -0600 > Cc: Paul Eggert , 24720@debbugs.gnu.org > > 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. 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. From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 19 15:46:20 2016 Received: (at 24720) by debbugs.gnu.org; 19 Oct 2016 19:46:20 +0000 Received: from localhost ([127.0.0.1]:40071 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwwod-0007j5-AM for submit@debbugs.gnu.org; Wed, 19 Oct 2016 15:46:20 -0400 Received: from mail-it0-f44.google.com ([209.85.214.44]:37929) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwwob-0007it-RN for 24720@debbugs.gnu.org; Wed, 19 Oct 2016 15:46:18 -0400 Received: by mail-it0-f44.google.com with SMTP id 66so40520152itl.1 for <24720@debbugs.gnu.org>; Wed, 19 Oct 2016 12:46:17 -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=2+AAMioMtO4RVlHaSmwzFuSQPoxZQy+SIbM2i+tcq+w=; b=BT8UNP4PIOJvpliRtbWPGaLv8ENvzNlb+uT1LsAPlR1VO/B+Nnw9hAWYPwBlxfCeLj JRVJT0hNs57/BAsYJmIC1TLicgtHIF050Xy58JASsEqGZcEU2Aalr/rOb/kyCCrri718 f/UtVrZwsSJ7VEHjdVl7VAyMJEZSav+g99EUDDtH7IrXJV4jbZYcBSO+X0C0mNUxPOhB /riNyOTDa5sF8IH8jWNPwYqkQA3QXH2wJsLg1odQ/dUFvVrl9miu1d0xI5hMSkJkzeAn kiXFWH0nQIo1XM8h1JN0YbFc62lweFXOTVKBxGW82+OqnPrJNOiZrl4n25LZTQPs8pN+ gyXw== 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=2+AAMioMtO4RVlHaSmwzFuSQPoxZQy+SIbM2i+tcq+w=; b=XzdohHxx240sq6bLF5pGr7cjBcm2Nfg/Csc1j813aT/M0nVaam4gC6VFJNWRCGzVbh Vy/Le40Uhh8IKCtK+J6zZO8PLn2HEi8M14FqsAIqhF/AGtkwlcbcW3+svUk9rdrk2NfC Xhlr0Be3Cp2GEZBUf9xzlupoTlf4TaudWmPT9Xroq2rzC+jKquIVvkrSH6eWp7W0xOEG VD49wchIVmvx6oi2FWUD5wSsI7lGpaiqKss21Ixqug/NSZEpJq/okdoCKg0QmOhNdRRX Y4/7sfExX1yQSYBQCAI26a8d8+D0Be4CTol8Wo/7pHKdDb7wNsLz4B5AsYNDbUjNXjEM HcQg== X-Gm-Message-State: AA6/9Rm9mBOoIX1SQuEt9i/4vKqyEPr+Xxrtf7jBzk6MeGZ7Nx2KMSpqI5pyWwkZalYPDw== X-Received: by 10.107.15.27 with SMTP id x27mr8317201ioi.218.1476906363468; Wed, 19 Oct 2016 12:46:03 -0700 (PDT) Received: from lylat (S01061859339e9903.ss.shawcable.net. [174.2.107.88]) by smtp.gmail.com with ESMTPSA id u62sm16521987iod.27.2016.10.19.12.46.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 19 Oct 2016 12:46:02 -0700 (PDT) From: Alex To: Eli Zaretskii Subject: Re: bug#24720: Performance impact of -no-pie 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> Date: Wed, 19 Oct 2016 13:45:47 -0600 In-Reply-To: <83y41kvmy4.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 19 Oct 2016 10:04:51 +0300") Message-ID: <87vawoi0lw.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 24720 Cc: rgm@gnu.org, eggert@cs.ucla.edu, 24720@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) Eli Zaretskii writes: >> From: Alex >> Date: Tue, 18 Oct 2016 22:41:02 -0600 >> Cc: Paul Eggert , 24720@debbugs.gnu.org >> >> 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. > > 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. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 20 03:05:01 2016 Received: (at 24720) by debbugs.gnu.org; 20 Oct 2016 07:05:01 +0000 Received: from localhost ([127.0.0.1]:40258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bx7PP-0000LD-PK for submit@debbugs.gnu.org; Thu, 20 Oct 2016 03:05:01 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46693) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bx7PO-0000Ky-3A for 24720@debbugs.gnu.org; Thu, 20 Oct 2016 03:04:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bx7PE-0005Cl-Et for 24720@debbugs.gnu.org; Thu, 20 Oct 2016 03:04:52 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bx7PE-0005Ce-Be; Thu, 20 Oct 2016 03:04:48 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4661 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bx7PD-0001qt-5z; Thu, 20 Oct 2016 03:04:47 -0400 Date: Thu, 20 Oct 2016 10:04:35 +0300 Message-Id: <8360onv6v0.fsf@gnu.org> From: Eli Zaretskii To: Alex In-reply-to: <87vawoi0lw.fsf@gmail.com> (message from Alex on Wed, 19 Oct 2016 13:45:47 -0600) Subject: Re: bug#24720: Performance impact of -no-pie 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> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: 24720 Cc: rgm@gnu.org, eggert@cs.ucla.edu, 24720@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.3 (-----) > 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. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 20 18:14:09 2016 Received: (at 24720) by debbugs.gnu.org; 20 Oct 2016 22:14:09 +0000 Received: from localhost ([127.0.0.1]:42537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxLbF-00053D-1w for submit@debbugs.gnu.org; Thu, 20 Oct 2016 18:14:09 -0400 Received: from mail-it0-f48.google.com ([209.85.214.48]:35152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxLbD-000531-MR for 24720@debbugs.gnu.org; Thu, 20 Oct 2016 18:14:08 -0400 Received: by mail-it0-f48.google.com with SMTP id 4so198962865itv.0 for <24720@debbugs.gnu.org>; Thu, 20 Oct 2016 15:14:07 -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=GkaN1yDorsG8KBMoQld6YRB+jP0mpelZ1QHHBkyuwTQ=; b=B0tnQp9GpDNIHPkmYcE9m4JhbKsqn+Bwg/agPGM/JGfeMnrN4jlTt2sJGxTGcrinqc f6w/cH1ngkdJtk/nDmYT298v1LLmz3SOicRXTvPKKoJxOcm9Zw3XxQ+Nl0W5CcJ6HhH5 b5Q1WwENO3iB7JZsgLLy53PgJE20vvDMHMO7cdBZGXvTTlbk1dLMSyGvUv3vf1GmN2A1 bBdzmUv+x0bA1MItRmUN4k6cC7idRpGH4dSb1nXE1Ae2EcGlk3WPy00z8jDI9P8KHGCT h+Zaak3X60YGCAs9u9s2K7IBBQ3tZA111QS14Za58F+3xEX3Sw1MRyJWd2jQQr4/HGzX LJMA== 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=GkaN1yDorsG8KBMoQld6YRB+jP0mpelZ1QHHBkyuwTQ=; b=Oqr1Auv7xpQrpuoPzDKAtChQk0FaYQrdRT9/wHaXocXtj22ri8pa1KAZb+ReeBQWC2 m4s5KylIh4sk+b6dncc1VALAXXuSKc7FsYTVnZ7fIARnrJRmCaQWuTKkqh5yog8WBWkd A1GdhQZ9Ykuxg7loaIBPbthGkv2i/539jqi603ajTSedju7dbyfr3RcDVw/Bw4rriIoe KqomWNjC7Eiqt7QdwpZb3eZYk/rQ6a5dWE2wLYWaC4Yni9NY4Uw5r/7GyYy34iI1IXUv dSK7fCL94wPckHnXk/uGeb8B2Yd2jASAJjV2Ltb2M6vFBgE+pQxsdDi7K0hWRNRv7wL9 pw3A== X-Gm-Message-State: AA6/9Rm+Wmpwp8uSH6uSUl2tPykwStG6VFacAdxLhEiuXhcbGhWK5iKUuTxDlXe4KY6epg== X-Received: by 10.36.135.199 with SMTP id f190mr3414330ite.2.1477001641977; Thu, 20 Oct 2016 15:14:01 -0700 (PDT) Received: from lylat (S01061859339e9903.ss.shawcable.net. [174.2.107.88]) by smtp.gmail.com with ESMTPSA id r80sm871939ioe.43.2016.10.20.15.14.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 20 Oct 2016 15:14:01 -0700 (PDT) From: Alex To: Eli Zaretskii Subject: Re: bug#24720: Performance impact of -no-pie 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> Date: Thu, 20 Oct 2016 16:13:56 -0600 In-Reply-To: <8360onv6v0.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 20 Oct 2016 10:04:35 +0300") Message-ID: <87lgxi8y8r.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 24720 Cc: rgm@gnu.org, eggert@cs.ucla.edu, 24720@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) 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. From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 26 00:30:44 2016 Received: (at 24720) by debbugs.gnu.org; 26 Oct 2016 04:30:44 +0000 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 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 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) 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) From: Alex To: Eli Zaretskii Subject: Re: bug#24720: Performance impact of -no-pie 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> Date: Tue, 25 Oct 2016 22:30:31 -0600 In-Reply-To: <87lgxi8y8r.fsf@gmail.com> (Alex's message of "Thu, 20 Oct 2016 16:13:56 -0600") Message-ID: <87twbz7mvs.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 24720 Cc: rgm@gnu.org, eggert@cs.ucla.edu, 24720@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) 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. From unknown Tue Jun 17 20:20:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 23 Nov 2016 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator