Bug 1548495 - gnutls: Uses lazy binding in the Guile module
Summary: gnutls: Uses lazy binding in the Guile module
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: gnutls
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nikos Mavrogiannopoulos
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: Fedora28BuildFlags
TreeView+ depends on / blocked
 
Reported: 2018-02-23 16:50 UTC by Florian Weimer
Modified: 2018-03-07 15:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-07 15:55:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Florian Weimer 2018-02-23 16:50:39 UTC
/usr/lib64/guile/2.0/guile-gnutls-v-2.so.0.0.0 in gnutls-guile-3.6.2-1.fc28.x86_64 is not linked with the standard Fedora linker flags (LDFLAGS) from redhat-rpm-config.

It seems the reason is an explicit -z lazy argument the linker.  I doubt that this is necessary because the DSO is loaded from the Guile run-time, so all symbols (including those defined in the run-time) can be resolved at dlopen time, and lazy binding is not needed.

Comment 1 Nikos Mavrogiannopoulos 2018-02-26 07:59:00 UTC
If it doesn't matter I wouldn't like to spend time on fixing it. It seems that the guile module is non functional if compiled with these flags (this change was implemented before and later reverted due to breakage). Can we add it into a whitelist?

Comment 5 Florian Weimer 2018-03-07 15:55:22 UTC
We will not use hardening build flags for Guile extensions.


Note You need to log in before you can comment on or make changes to this bug.