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 1863973 - libaio: FTBFS in Fedora rawhide/f33
Summary: libaio: FTBFS in Fedora rawhide/f33
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libaio
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jeff Law
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F33FTBFS
TreeView+ depends on / blocked
 
Reported: 2020-08-03 17:45 UTC by Fedora Release Engineering
Modified: 2020-08-07 16:03 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-07 16:00:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (16.94 KB, text/plain)
2020-08-03 17:45 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2020-08-03 17:45 UTC, Fedora Release Engineering
no flags Details
state.log (969 bytes, text/plain)
2020-08-03 17:45 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2020-08-03 17:45:21 UTC
libaio failed to build from source in Fedora rawhide/f33

https://koji.fedoraproject.org/koji/taskinfo?taskID=47992138


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Please fix libaio at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
libaio will be orphaned. Before branching of Fedora 34,
libaio will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://fedoraproject.org/wiki/Fails_to_build_from_source

Comment 1 Fedora Release Engineering 2020-08-03 17:45:23 UTC
Created attachment 1705387 [details]
build.log

Comment 2 Fedora Release Engineering 2020-08-03 17:45:24 UTC
Created attachment 1705388 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2020-08-03 17:45:25 UTC
Created attachment 1705389 [details]
state.log

Comment 4 Peter Robinson 2020-08-07 15:24:10 UTC
LTO related failure

Comment 5 Jeff Law 2020-08-07 15:55:20 UTC
Strangely this didnt show up here:

https://kojipkgs.fedoraproject.org/mass-rebuild/f33-failures.html


It worked in my tester in mid July.   Regardless I an see that it uses ASMs to implement symbol versioning which is known not to work with LTO.  That's an indication we got different partitions during the LTO phase, which can happen.
I'll disable LTO.

The best long term fix is to move away from ASMs for symbol versioning and instead use the symbol versioning attributes.   However, this package is small enough that we may be able to instead use -fpartition=none to work around the ASM issues.  We'll evaluate the latter as we walk through the opted out packages again.

Comment 6 Jeff Moyer 2020-08-07 16:00:59 UTC
Is there any benefit to using LTO for libaio?  It's just a small shim around the sytem call interface.

Comment 7 Jeff Law 2020-08-07 16:03:13 UTC
Probably little, if any.   But dropping those top level ASMs and using attributes instead is still the right way to go from a code cleanliness standpoint.


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