From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ML+lGou2wmBIHQEAgWs5BA (envelope-from ) for ; Fri, 11 Jun 2021 03:04:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aPDcFYu2wmD3CwAAB5/wlQ (envelope-from ) for ; Fri, 11 Jun 2021 01:04:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 224E72D8B1 for ; Fri, 11 Jun 2021 03:04:11 +0200 (CEST) Received: from localhost ([::1]:32862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrVaj-0008A6-KF for larch@yhetil.org; Thu, 10 Jun 2021 21:04:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrVac-00087Q-4t for guix-patches@gnu.org; Thu, 10 Jun 2021 21:04:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54582) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lrVab-0002Cl-UQ for guix-patches@gnu.org; Thu, 10 Jun 2021 21:04:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lrVab-0000KZ-Rx for guix-patches@gnu.org; Thu, 10 Jun 2021 21:04:01 -0400 Subject: bug#47251: [core-updates] [patch] gnu: python: Enable optimizations. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Fri, 11 Jun 2021 01:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 47251 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 47251-done@debbugs.gnu.org Mail-Followup-To: 47251@debbugs.gnu.org, julien@lepiller.eu, julien@lepiller.eu Received: via spool by 47251-done@debbugs.gnu.org id=D47251.16233734221240 (code D ref 47251); Fri, 11 Jun 2021 01:04:01 +0000 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623373451; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Hap73MpfyZLWKaq1BT0d0YPA5o2kGqlHqFJQBzkHJmY=; b=JBPqmsSKCLPmnhgTnoBi8HtZkBu9eUNeIUghGPxiHpXuZJrv6pvLgJrKcER6GxPE9npE0v pF3Aikkrx2i5L4QSIeldkVf7y6mIQ/w7aHZuyDAl+GPEjn5p2HPbkXhv2Qyfz8AkIMvr31 IJHJ9/6ySuTSWRdhZ0e+y2fR16mJNgJSh2Yo6oLZoCKMToFyzVCWG9Bln42hywGpvIeZRn RfZwI0R5Z2qOL5Zwdw7W8Pn+jlvbZZFuApQs0KvMG0XFTX4elpLNuQ1u0ACpvb/yA1HqIO F2IpXwTb286M3pxLgha4pwNNA8Ik6Hg3WGnC0bvCOBvFNBVNORVdbrcaIhSjfg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623373451; a=rsa-sha256; cv=none; b=YWoXetH2TL1K2XakTMw5xsuwJ7NwC2Z5Ppt1XWopalWWJWcuxrOtpZrqJCiFI4aaRAJDMv 8NEpk16FWWwxkjfHDMZyQPTXW8B3x/OkSghaVOEANWHI91R43Xyg0lFJkK0sKJ0PWYOzoj z7dCfFeNXnFcbnhIq7DfriLrTgoXrdlza1YztTjzPFEyRKYxnIqGYGYhx7WkI+c32zduPK 9Ayp8FVOnyzGCUyIls3osoRAGh3ad8R7DCgAprQgpsDDJMYjS5iHOqLuycFiU23WA4oM1Z +C7+rsWVWcPv6dyoI/FI63udZZnp6mwA4CriHNp7159eguhuj+hmNFQSkxMZMg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=O8a8XKtW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=O8a8XKtW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 224E72D8B1 X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: UrEqgd1cYVRw 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!