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.