From unknown Fri Aug 15 04:08:01 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#36339 <36339@debbugs.gnu.org> To: bug#36339 <36339@debbugs.gnu.org> Subject: Status: generated .pc files leaks build-time LDFLAGS Reply-To: bug#36339 <36339@debbugs.gnu.org> Date: Fri, 15 Aug 2025 11:08:01 +0000 retitle 36339 generated .pc files leaks build-time LDFLAGS reassign 36339 guile submitter 36339 Cyprien Nicolas severity 36339 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 23 05:20:02 2019 Received: (at submit) by debbugs.gnu.org; 23 Jun 2019 09:20:02 +0000 Received: from localhost ([127.0.0.1]:52887 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1heyfK-00082O-6m for submit@debbugs.gnu.org; Sun, 23 Jun 2019 05:20:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:33729) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1heyfI-000823-1a for submit@debbugs.gnu.org; Sun, 23 Jun 2019 05:20:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43154) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1heyfG-00029e-Vg for bug-guile@gnu.org; Sun, 23 Jun 2019 05:19:59 -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,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1heyfF-00034w-Vv for bug-guile@gnu.org; Sun, 23 Jun 2019 05:19:58 -0400 Received: from cubran.fulax.net ([2a03:7220:8081:7e00::1]:53331) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1heyfF-00033e-HD for bug-guile@gnu.org; Sun, 23 Jun 2019 05:19:57 -0400 Received: from [192.168.1.9] (static-176-139-30-77.ftth.abo.bbox.fr [176.139.30.77]) by cubran.fulax.net (Postfix) with ESMTPSA id A13979600B for ; Sun, 23 Jun 2019 09:19:52 +0000 (UTC) Authentication-Results: cubran.fulax.net; dmarc=none header.from=nicolas.tf DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nicolas.tf; s=beta; t=1561281592; bh=44DAbpZAmJrtKmlWuZy4LG4f2DGcdnnPyEMRhqELNa4=; h=To:From:Subject:Date:From; b=d0ziHsWfScrCTEj2XZu0WyXHpx3AWOl+q9u+Q5jEnUHla5skqzFoqgYab+m2+QBKG zMxA0IrXVnKmkQoPi16aTcl6dmnr1htdYjWTCgMifHmrBXxT+MJKY6rlKWC+nziJJx auTtE6HHkTgup2BNxToiW0emTkA4K8nEdpsIRdaXOweC5XfoTI2Og3L+NNAyaiReNE YzT3mwWLobTVGgzjAP2nUDrP2dUnmVXLdTTtYmpyEVNVZCB6hb5aLkRKSI/N9GipTk vGtT0ThmPlV8OfWpoVJ8IhitMLqaUKWVZdfmf7vjhgH2i6KrJAt6LZ9pOfNkMSLTcj Qdab+Uxk9mI5e09Al59e7Nu/68HlO8s7CjQADS4W452S4B9G/3iwCOgfZv0a0K9JqS ki4mRGUYkp0NX7s6Yci8mioQ8FDZrm1/OATHHSP7QgO+bbTagxDaA72H1OZtJnQsiS LcWq099N+UjnH5/+76mbOTr5ZyzGg3Y0R5wrlv4W1yS9I8LB2dx3EqR/daVNQ4N274 uijJXpBMPKegIrLAiMXw6Gi3o4DyHIP+bgkuXxJ4KcIZB5AGNkfecAR9QnSd92kR6x q5fBQSfjKL9c3hFbEZe7VdrRlUJeJ69bSrUqFzJ5umLhXREFCIPv4cMYJHS5yYXYFi KtzBiyRIsI1NnT9SLwxZbuDk= To: bug-guile@gnu.org From: Cyprien Nicolas Subject: generated .pc files leaks build-time LDFLAGS Message-ID: Date: Sun, 23 Jun 2019 11:19:52 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a03:7220:8081:7e00::1 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit 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: -2.3 (--) Hello, According to the pkgconfig generated files, Libs.private contains the build-time LDFLAGS (-Wl,-O1 -Wl,--as-needed). These flags are private to the way I built guile, and should not affect packages using guile later. I have observed this behavior in guile-2.0, 2.2.5 and 2.9.2. -----8<-----8<-----8<-----8<-----8<----- Name: GNU Guile Description: GNU's Ubiquitous Intelligent Language for Extension Version: 2.0.14 Libs: -L${libdir} -lguile-2.0 -lgc Libs.private: -lgmp -lltdl -L/usr/lib64/../lib64 -lffi \ -lunistring -Wl,-O1 -Wl,--as-needed -lcrypt -lm \ \ Cflags: -I${pkgincludedir}/2.0 -pthread ----->8----->8----->8----->8----->8----- Gentoo Bug: https://bugs.gentoo.org/590904 The (1) part seems resolved somehow. Thanks, Cyprien From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 24 09:18:14 2019 Received: (at 36339) by debbugs.gnu.org; 24 Jun 2019 13:18:14 +0000 Received: from localhost ([127.0.0.1]:55788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfOrN-0007JY-Uu for submit@debbugs.gnu.org; Mon, 24 Jun 2019 09:18:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57285) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfOrI-0007JA-Dh for 36339@debbugs.gnu.org; Mon, 24 Jun 2019 09:18:11 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37302) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hfOqz-0007xq-QJ; Mon, 24 Jun 2019 09:17:52 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=43656 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hfOqx-0002gR-0p; Mon, 24 Jun 2019 09:17:48 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Cyprien Nicolas Subject: Re: bug#36339: generated .pc files leaks build-time LDFLAGS References: Date: Mon, 24 Jun 2019 15:17:44 +0200 In-Reply-To: (Cyprien Nicolas's message of "Sun, 23 Jun 2019 11:19:52 +0200") Message-ID: <8736jzazrb.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36339 Cc: 36339@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: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, Cyprien Nicolas skribis: > These flags are private to the way I built guile, and should not > affect packages using guile later. > > I have observed this behavior in guile-2.0, 2.2.5 and 2.9.2. > > -----8<-----8<-----8<-----8<-----8<----- > Name: GNU Guile > Description: GNU's Ubiquitous Intelligent Language for Extension > Version: 2.0.14 > Libs: -L${libdir} -lguile-2.0 -lgc > Libs.private: -lgmp -lltdl -L/usr/lib64/../lib64 -lffi \ > -lunistring -Wl,-O1 -Wl,--as-needed -lcrypt -lm \ > \ > > Cflags: -I${pkgincludedir}/2.0 -pthread > ----->8----->8----->8----->8----->8----- I believe the attached patch should fix it. Could you confirm? Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/configure.ac b/configure.ac index 9073deba0..92966ce34 100644 --- a/configure.ac +++ b/configure.ac @@ -1688,7 +1688,7 @@ do done GUILE_CFLAGS="$GUILE_CFLAGS $PTHREAD_CFLAGS" -GUILE_LIBS="$LDFLAGS $LIBS" +GUILE_LIBS="$LIBS" AC_SUBST(GUILE_LIBS) AC_SUBST(GUILE_CFLAGS) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 07 08:45:20 2019 Received: (at 36339) by debbugs.gnu.org; 7 Jul 2019 12:45:20 +0000 Received: from localhost ([127.0.0.1]:56266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hk6Xg-0003PC-8N for submit@debbugs.gnu.org; Sun, 07 Jul 2019 08:45:20 -0400 Received: from cubran.fulax.net ([91.224.149.126]:35581 ident=cubran) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hk6Xe-0003P2-5u for 36339@debbugs.gnu.org; Sun, 07 Jul 2019 08:45:19 -0400 Received: from [192.168.1.9] (static-176-139-30-77.ftth.abo.bbox.fr [176.139.30.77]) by cubran.fulax.net (Postfix) with ESMTPSA id 4A8CD9600B; Sun, 7 Jul 2019 12:45:15 +0000 (UTC) Authentication-Results: cubran.fulax.net; dmarc=none header.from=nicolas.tf DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nicolas.tf; s=beta; t=1562503515; bh=nqJoZAGe8wzqf1oc6JqDo4PnDfWQ9i7p6CCv9L3PBaA=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=yHnlzznKZKAW4OWdcRrDF9eMYeX//ItZYre0gRr1H7fwS5vPj6cqQo1vV2EP1u/8w AnEQVR1aJty3Nynj0lwBgaxV6jJSmYQ9931gv1to6FosWlGPiJT3tAiN6PjpjtkF9m qaWOedD6Osy2Z+APl/vZeyYOIdjb3sCxGlygrVhh62Ehj5JWUkT+XcUX0twqD34kjq GgoI7FeAMV1pghvYJRC7NLOZDhuJNlWfJSnEGjJIPzc14oI4/OdJ7XsDnUU//UpBs/ mlbGpCXFlugb3pEnNvLI72jQZUKh82QL5u9XEiXu0uJ5xm9sQfM0lPkvWwZ4kEbsnt nnpC2HfLVOXmsXC4WYuKUWkAXk2ES0jWRy/9yNslM16kIViYyW4y2ToA/5Xe4TvFAf Sg8z/Fk+WwsF+8QnBP2Pku1agWPMcb6Wg5oQHACAiCQ/u2It2kpudfi/60aWUTBGeT RFVDLRQ3g7x6GmvLsjclE7wkEfnGm4pJ7PsqBYliVCXB/bsYR6DV0CaAZHSklU4JZw DJfVgzIbub/QKuOLCvhWrE1teeUMxG9Ir4+ZVrhkA4iD9AunraBY/uP30UydPLx5s1 61uRaw6WV7xTp9uSlXseViOnA+bRRUhmSIwzkEv+T7UnrMT/eUnViz1capobY55L6m waYr8F3ppZVhJFaRMFIMQOfY= Subject: Re: bug#36339: generated .pc files leaks build-time LDFLAGS To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= References: <8736jzazrb.fsf@gnu.org> From: Cyprien Nicolas Message-ID: <36ab6c81-15a2-440f-4329-4d7bf9652141@nicolas.tf> Date: Sun, 7 Jul 2019 14:45:14 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 MIME-Version: 1.0 In-Reply-To: <8736jzazrb.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36339 Cc: 36339@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 (-) Hi Ludo, On 24/06/2019 15:17, Ludovic Courtès wrote: > > I believe the attached patch should fix it. Could you confirm? Yes it does, tested on 2.2.6 and 2.9.2. All arch-dependent binaries have been built with the right LDFLAGS, and the pkgconfig file looks clean. Thanks, Cyprien From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 07 09:09:51 2019 Received: (at 36339-done) by debbugs.gnu.org; 7 Jul 2019 13:09:51 +0000 Received: from localhost ([127.0.0.1]:56288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hk6vO-0003zs-Vv for submit@debbugs.gnu.org; Sun, 07 Jul 2019 09:09:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50489) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hk6vM-0003zd-UE for 36339-done@debbugs.gnu.org; Sun, 07 Jul 2019 09:09:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40932) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hk6vB-0004jJ-SZ; Sun, 07 Jul 2019 09:09:41 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=55760 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hk6v4-0001Qs-Pe; Sun, 07 Jul 2019 09:09:33 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Cyprien Nicolas Subject: Re: bug#36339: generated .pc files leaks build-time LDFLAGS References: <8736jzazrb.fsf@gnu.org> <36ab6c81-15a2-440f-4329-4d7bf9652141@nicolas.tf> Date: Sun, 07 Jul 2019 15:09:29 +0200 In-Reply-To: <36ab6c81-15a2-440f-4329-4d7bf9652141@nicolas.tf> (Cyprien Nicolas's message of "Sun, 7 Jul 2019 14:45:14 +0200") Message-ID: <875zoedm9i.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36339-done Cc: 36339-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: -3.3 (---) Hi Cyprien, Cyprien Nicolas skribis: > On 24/06/2019 15:17, Ludovic Court=C3=A8s wrote: >> >> I believe the attached patch should fix it. Could you confirm? > > Yes it does, tested on 2.2.6 and 2.9.2. All arch-dependent binaries have > been built with the right LDFLAGS, and the pkgconfig file looks clean. Awesome. Pushed as a69b567d97f7c9193924c775e1dd86e43a35b8bd to the =E2=80=98stable-2.2=E2=80=99 branch. Thanks! Ludo=E2=80=99. From unknown Fri Aug 15 04:08:01 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 05 Aug 2019 11:24:06 +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