Bug 28888 - ar/ranlib don't work with LTO objects
Summary: ar/ranlib don't work with LTO objects
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Thomas Backlund
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-07 15:29 CEST by Joseph Wang
Modified: 2021-05-09 09:17 CEST (History)
0 users

See Also:
Source RPM: gcc-11.1.1-0.20210501.1.mga9
CVE:
Status comment:


Attachments

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


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