Description of problem: The new version of gcc is in fedora updates-testing. And it cause compilation failures. e.g. annobin: confdb_setup.c: Error: plugin built for compiler version (8.2.1) but run with compiler version (8.1.1) cc1: error: fail to initialize plugin /usr/lib/gcc/x86_64-redhat-linux/8/plugin/annobin.so Version-Release number of selected component (if applicable): sh$ rpm -q annobin annobin-5.7-2.fc28.x86_64 How reproducible: Deterministic Additional info: You might consider to use macro "%requires_eq gcc" in your spec file. So it will not be possible to upgrade at rpm level. But please consult taht with gcc maintainers.
+ cp configs/kernel-4.19.0-x86_64.config .config + cp /home/pyuan/rpmbuild/SOURCES/x509.genkey certs/. ++ head -1 .config ++ cut -b 3- + Arch=x86_64 + echo USING ARCH=x86_64 USING ARCH=x86_64 + make -s 'HOSTCFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'HOSTLDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=uuid' ARCH=x86_64 olddefconfig annobin: fixdep.c: Error: plugin built for compiler version (8.2.1) but run with compiler version (8.1.1) cc1: error: fail to initialize plugin /usr/lib/gcc/x86_64-redhat-linux/8/plugin/annobin.so make[1]: *** [scripts/Makefile.host:90: scripts/basic/fixdep] Error 1 make: *** [Makefile:466: scripts_basic] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.IvZtGR (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.IvZtGR (%build)
I also see the build error like this BZ. post some log for reference.
https://bodhi.fedoraproject.org/updates/FEDORA-2018-7aff14ecad fix this by : dnf update gcc annobin Perry
Already fixed. Please use: annobin-5.7-3.fc28 *** This bug has been marked as a duplicate of bug 1639224 ***