From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 10 21:03:42 2021 Received: (at 47251-done) by debbugs.gnu.org; 11 Jun 2021 01:03:42 +0000 Received: from localhost ([127.0.0.1]:37893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrVaI-0000Jv-IV for submit@debbugs.gnu.org; Thu, 10 Jun 2021 21:03:42 -0400 Received: from lepiller.eu ([89.234.186.109]:44258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrVaG-0000Jn-Dm for 47251-done@debbugs.gnu.org; Thu, 10 Jun 2021 21:03:40 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 32cd8237; Fri, 11 Jun 2021 01:03:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=B8B7SzA/sPzm uMg49+r3+DquVZewvWaZngEr1/qiUP0=; b=O8a8XKtWzL/9zvH1JaORU4qCN+7d BdOCkyP3baDClU0koCfLYFlK9ZUCMET/rQSz525MSzTBoTS/L38XEip4/+n69wNx rIx318Nnt32FXdVNXhXJu2BPbyyIM4SS0ks7hmYSFZN/ZdNxS2HFKV7UkAe+E+tb /MI60iOiQyuu9nQRTvoAI9umD0BHf6U5yPoOzsZ6ekhhp/IOpi9hgy53BP6eT7N5 9zLiBvOQXBPztXGSlb5SPTh2YAYnzBnE3XOJS+BJopx5Kq1v9QVp7lxfafxc3oUL 1q4XNIikUqzB4P379thidegqcZYdt9y/GodoqGPXQ2mqUM9gnqpoEW8Wdg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 3ce42d45 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 11 Jun 2021 01:03:38 +0000 (UTC) Date: Fri, 11 Jun 2021 03:03:33 +0200 From: Julien Lepiller To: Ludovic =?UTF-8?B?Q291cnTDqHM=?= Subject: Re: bug#47251: [core-updates] [patch] gnu: python: Enable optimizations. Message-ID: <20210611030333.72f69b00@tachikoma.lepiller.eu> In-Reply-To: <87h7ibkw88.fsf@gnu.org> References: <20210319001622.1c19ad41@tachikoma.lepiller.eu> <87r1jva3rj.fsf@gnu.org> <20210603040635.3b6c7d12@tachikoma.lepiller.eu> <875yyvwa6f.fsf@gnu.org> <20210605174308.57c4a324@tachikoma.lepiller.eu> <87h7ibkw88.fsf@gnu.org> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 47251-done Cc: 47251-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: -1.0 (-) Le Sun, 06 Jun 2021 14:34:31 +0200, Ludovic Court=C3=A8s a =C3=A9crit : >=20 > > + "CFLAGS=3D-fno-semantic-interposition" > > (string-append "LDFLAGS=3D-Wl,-rpath=3D" > > - (assoc-ref %outputs "out") "/lib")) > > + (assoc-ref %outputs "out") "/lib" > > + " -fno-semantic-interposition")) =20 >=20 > Could you add a comment for =E2=80=98-fno-semantic-interposition=E2=80=99= ? Also, > please make sure that setting CFLAGS does not override useful > defaults (for Autoconf-based build systems, CFLAGS defaults to =E2=80=98-= O2 > -g=E2=80=99 and overriding it means you lost both -O2 and -g; if we lose > =E2=80=98-g=E2=80=99, =E2=80=98--with-debug-info=E2=80=99 won=E2=80=99t h= ave any effect). >=20 With the patch, python still builds with -g -O3. Pushed as 99d450b085b7bf44d669093f6c9964391ce1b451 to e4aa346d57f61956626032d0d1dfca6b3c96e06a to core-updates, thanks!