Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1548822

Summary: libldb: Missing annobin annotations in Python 3 module on x86-64
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: libldbAssignee: Jakub Hrozek <jhrozek>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gdeschner, jhrozek, lslebodn, sgallagh, ssorce
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
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-01 19:50:27 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: 1217376, 1668029    
Bug Blocks: 1539083    

Description Florian Weimer 2018-02-25 10:07:07 UTC
/usr/lib64/libpyldb-util.cpython-36m-x86-64-linux-gnu.so.1.3.1 in python3-ldb-1.3.1-4.fc28.x86_64 lacks annobin annotations.

My working hypothesis is that this happens due to the use of LTO.  It does not happen for the Python 2 module, or on other architectures.

Is there any particular reason why you use LTO?

Comment 1 Florian Weimer 2018-03-01 19:50:27 UTC
libldb-1.3.2-1.fc28 was built without LTO, so the issue is gone.

Comment 2 Lukas Slebodnik 2018-03-01 20:08:19 UTC
(In reply to Florian Weimer from comment #1)
> libldb-1.3.2-1.fc28 was built without LTO, so the issue is gone.

This is because of workaround in spec file
https://src.fedoraproject.org/rpms/libldb/c/2fb01387e4c55d57c48ccdd13853992017d70386?branch=f28
Which I forgot to apply in f29(will do soon)