Bug 1548495

Summary: gnutls: Uses lazy binding in the Guile module
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: gnutlsAssignee: Nikos Mavrogiannopoulos <nmavrogi>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: fweimer, nmavrogi, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-07 15:55:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1539083    

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.