Bug 28888

Summary: ar/ranlib don't work with LTO objects
Product: Mageia Reporter: Joseph Wang <joequant>
Component: RPM PackagesAssignee: Thomas Backlund <tmb>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: gcc-11.1.1-0.20210501.1.mga9 CVE:
Status comment:

Description Joseph Wang 2021-05-07 15:29:02 CEST
Description of problem:

https://bugzilla.redhat.com/show_bug.cgi?id=1678826

ranlib and ar are failing because of the lack of plugin links

 sudo ln -s /usr/lib/gcc/x86_64-mageia-linux/11/liblto_plugin.so .

into /usr/lib64/bfd-plugins fixes the problem

you can demonstrate the problem by trying to build

https://github.com/joequant/nsfminer.git


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
Comment 1 Lewis Smith 2021-05-07 20:00:23 CEST
Thank you for the report, Joseph.

Assigning to base system.

Assignee: bugsquad => basesystem

Thomas Backlund 2021-05-08 16:38:07 CEST

Assignee: basesystem => tmb

Comment 2 Thomas Backlund 2021-05-09 09:17:14 CEST
Fixed in Cauldron  in gcc-11.1.1-0.20210508.1.mga9 currently building

The same fix also queued in svn for Mageia 8 so it will be there too if/when there is need to push an update on mga8

Status: NEW => RESOLVED
Resolution: (none) => FIXED