GNU bug report logs - #36339
generated .pc files leaks build-time LDFLAGS

Previous Next

Package: guile;

Reported by: Cyprien Nicolas <cyprien <at> nicolas.tf>

Date: Sun, 23 Jun 2019 09:21:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#36339: closed (generated .pc files leaks build-time LDFLAGS)
Date: Sun, 07 Jul 2019 13:10:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 07 Jul 2019 15:09:29 +0200
with message-id <875zoedm9i.fsf <at> gnu.org>
and subject line Re: bug#36339: generated .pc files leaks build-time LDFLAGS
has caused the debbugs.gnu.org bug report #36339,
regarding generated .pc files leaks build-time LDFLAGS
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
36339: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36339
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Cyprien Nicolas <cyprien <at> nicolas.tf>
To: bug-guile <at> gnu.org
Subject: generated .pc files leaks build-time LDFLAGS
Date: Sun, 23 Jun 2019 11:19:52 +0200
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


[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Cyprien Nicolas <cyprien <at> nicolas.tf>
Cc: 36339-done <at> debbugs.gnu.org
Subject: Re: bug#36339: generated .pc files leaks build-time LDFLAGS
Date: Sun, 07 Jul 2019 15:09:29 +0200
Hi Cyprien,

Cyprien Nicolas <cyprien <at> nicolas.tf> skribis:

> 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.

Awesome.  Pushed as a69b567d97f7c9193924c775e1dd86e43a35b8bd to the
‘stable-2.2’ branch.

Thanks!

Ludo’.


This bug report was last modified 6 years and 11 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.