Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1727303

Summary: gcc-toolset-9 is missing annobin plugin
Product: Red Hat Enterprise Linux 8 Reporter: Martin Cermak <mcermak>
Component: gcc-toolset-9Assignee: Marek Polacek <mpolacek>
Status: CLOSED CURRENTRELEASE QA Contact: qe-baseos-tools-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.1CC: ahajkova, bgollahe, emachado, jakub, law, mnewsome, nickc
Target Milestone: rc   
Target Release: 8.0   
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: 2019-08-19 13:44:20 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: 1730483    
Bug Blocks:    
Attachments:
Description Flags
log documenting attempt to rebuild gtc-elfutils none

Description Martin Cermak 2019-07-05 13:18:17 UTC
With compile flags coming from redhat-rpm-config compiler will try to use annobin plugin.  But that will fail with gcc-toolset-9-gcc, because /opt/rh/gcc-toolset-9/root/usr/lib/gcc/x86_64-redhat-linux/9/plugin/annobin.so is missing there.

Comment 1 Martin Cermak 2019-07-05 13:20:17 UTC
Created attachment 1587703 [details]
log documenting attempt to rebuild gtc-elfutils

Comment 2 Marek Polacek 2019-07-05 13:24:31 UTC
I'm afraid we'll need gcc-toolset-9-annobin.

Comment 4 Martin Cermak 2019-07-05 13:52:06 UTC
(Or maybe we could package annobin as a gcc-toolset-9-gcc subrpm?)

Comment 5 Nick Clifton 2019-07-05 14:04:11 UTC
(In reply to Marek Polacek from comment #2)
> I'm afraid we'll need gcc-toolset-9-annobin.

If so then we are going to need a scl-gcc-toolset-9 branch for annobin.
And a BZ too.

Unfortunately I am off on PTO for the next two weeks, so some kind
soul is going to have to take care of this.  Once the branch is
ready I would recommend copying the files from the RHEL 8.1.0 version,
adding in the necessary scl prefixing to the package name, and then
going through the normal build/gate/errata process.

If this can wait then it will be my top priority when I get back...

Comment 10 Edjunior Barbosa Machado 2019-07-12 17:23:02 UTC
FWIW, the same failure also breaks rpmbuild gcc-toolset-9-strace-5.1-3.el8.

Comment 14 Marek Polacek 2019-07-16 21:49:12 UTC
Dropping exception? because we'll pursue that in Bug 1730483.

Comment 15 Marek Polacek 2019-08-19 13:44:20 UTC
annobin was added.