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.
Created attachment 1587703 [details] log documenting attempt to rebuild gtc-elfutils
I'm afraid we'll need gcc-toolset-9-annobin.
(Or maybe we could package annobin as a gcc-toolset-9-gcc subrpm?)
(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...
FWIW, the same failure also breaks rpmbuild gcc-toolset-9-strace-5.1-3.el8.
Dropping exception? because we'll pursue that in Bug 1730483.
annobin was added.