Bug 1873188

Summary: mopac7 FTBFS with LTO
Product: [Fedora] Fedora Reporter: Mamoru TASAKA <mtasaka>
Component: mopac7Assignee: Jeff Law <law>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: carl, i, jdulaney
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: 2020-08-27 16:38:06 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: 1789115    

Description Mamoru TASAKA 2020-08-27 15:04:48 UTC
Description of problem:
mopac7 FTBFS with LTO. Currently to avoid FTBFS, LTO is disabled.

Version-Release number of selected component (if applicable):
mopac7-1.15-34.fc33

How reproducible:
100%

Steps to Reproduce:
1. modify mopac7.spec to enable LTO again: https://src.fedoraproject.org/rpms/mopac7
2. build
3.

Actual results:
FTBFS on some archs: https://koji.fedoraproject.org/koji/taskinfo?taskID=50252140

Expected results:
Build succeeds, or some code mistakes on mopac7 are found.


Additional info:

Comment 1 Mamoru TASAKA 2020-08-27 15:05:42 UTC
Once setting assignee to Jeff to ask for help.

Comment 2 Jeff Law 2020-08-27 16:38:06 UTC
Thanks.  You've done the right thing by opting out of LTO for now.  Because you used a standard opt-out my scanner has already flagged mopac7 for deeper analysis -- at first glance I suspect we've dropped a PIC or are mixing PIC and PIE.  THe latter in particular has caused problems in a few packages as we've enabled LTO.  I won't know for sure until I dig into it further.

Given you're using a standard opt-out and thus my scanner has it flagged for deeper analysis and the immediate FTBFS issue is worked around we can close this BZ.