As noticed in https://bugzilla.redhat.com/show_bug.cgi?id=2102290#c4, gcc-toolset-12 doesn't require annobin-plugin-gcc, but most likely it should.
pre-verified: gcc-toolset-12-12.0-5.el8 (and .el9 as well, we don't have a specific for it) # for i in /mnt/redhat/brewroot/packages/gcc-toolset-12/12.0/5.el[89]/*/gcc-toolset-12-12.*rpm; do echo ${i##*/} $(rpm -q --requires -p $i | grep annobin); done | column -t gcc-toolset-12-12.0-5.el8.aarch64.rpm gcc-toolset-12-annobin-plugin-gcc gcc-toolset-12-12.0-5.el8.i686.rpm gcc-toolset-12-annobin-plugin-gcc gcc-toolset-12-12.0-5.el8.ppc64le.rpm gcc-toolset-12-annobin-plugin-gcc gcc-toolset-12-12.0-5.el8.s390x.rpm gcc-toolset-12-annobin-plugin-gcc gcc-toolset-12-12.0-5.el8.src.rpm gcc-toolset-12-12.0-5.el8.x86_64.rpm gcc-toolset-12-annobin-plugin-gcc gcc-toolset-12-12.0-5.el9.aarch64.rpm gcc-toolset-12-annobin-plugin-gcc gcc-toolset-12-12.0-5.el9.i686.rpm gcc-toolset-12-annobin-plugin-gcc gcc-toolset-12-12.0-5.el9.ppc64le.rpm gcc-toolset-12-annobin-plugin-gcc gcc-toolset-12-12.0-5.el9.s390x.rpm gcc-toolset-12-annobin-plugin-gcc gcc-toolset-12-12.0-5.el9.src.rpm gcc-toolset-12-12.0-5.el9.x86_64.rpm gcc-toolset-12-annobin-plugin-gcc
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (gcc-toolset-12 bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:7550