Bug 1727303 - gcc-toolset-9 is missing annobin plugin
Summary: gcc-toolset-9 is missing annobin plugin
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: gcc-toolset-9
Version: 8.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Marek Polacek
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On: 1730483
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-05 13:18 UTC by Martin Cermak
Modified: 2023-07-18 14:19 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-19 13:44:20 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
log documenting attempt to rebuild gtc-elfutils (22.45 KB, text/plain)
2019-07-05 13:20 UTC, Martin Cermak
no flags Details

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.


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