Description of problem: Gcc was just updated to gcc-10.0.1-0.9 in rawhide and immediately fails all builds due to mis-matched annobin plugin cc1plus: error: failed to initialize plugin /usr/lib/gcc/x86_64-redhat-linux/10/plugin/annobin.so CC channeljump.o annobin: channelepg.c: ICE: The size of the global_options structure has changed - please rebuild annobin annobin: channelepg.c: ICE: Please contact the annobin maintainer with details of this problem annobin: channelepg.c: Build time size: 0x14a0 run time size: 0x14a8 (64-bit host) g++ -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 -fPIC -c -DPLUGIN_NAME_I18N='"tvguide"' -I/usr/include/GraphicsMagick -o channeljump.o channeljump.c cc1plus: error: failed to initialize plugin /usr/lib/gcc/x86_64-redhat-linux/10/plugin/annobin.so Version-Release number of selected component (if applicable): gcc-10.0.1-0.9.fc33 annobin-9.12-3.fc33 How reproducible: always Steps to Reproduce: 1. Try to compile anything 2. 3. Actual results: Error: plugin built for compiler version (10.0.1-0.9.fc33 ) but run with compiler version (10.0.1-0.8) Expected results: Additional info: koji build log: https://kojipkgs.fedoraproject.org//work/tasks/9020/42429020/build.log
Hi Martin, (In reply to MartinKG from comment #0) > Gcc was just updated to gcc-10.0.1-0.9 in rawhide and immediately fails all > builds due to mis-matched annobin plugin This should now be fixed. > Version-Release number of selected component (if applicable): > gcc-10.0.1-0.9.fc33 > annobin-9.12-3.fc33 Note - the problem was actually with annobin-9.12-1.fc33 which was built against the older gcc-10.0.1-0.8. annobin-9.12-3.fc33 is the fixed version. > koji build log: > https://kojipkgs.fedoraproject.org//work/tasks/9020/42429020/build.log If you check the root.log for this build you will see that it was annobin-9.12-1.fc33 that was being used. Unfortunately your build happened right in the middle of my recompilation of annobin, so you got the old version. But the buildroot has now been updated, so if you try again the build should succeed. If it doesn't, please let me know. Cheers Nick
nice, fixed, many thanks. Martin
I am still not able to build my package, trying in mock: configure:4487: checking whether the C compiler works configure:4509: gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld conftest.c >&5 annobin: conftest.c: ICE: The location of the "-fstack-clash-protection" flag has changed - please rebuild annobin annobin: conftest.c: ICE: Please contact the annobin maintainer with details of this problem annobin: conftest.c: Build time offset: 1118. Run time offset: ffff annobin: conftest.c: Expeceted name: -fstack-clash-protection. Actual name: -fstack-check= cc1: error: failed to initialize plugin /usr/lib/gcc/x86_64-redhat-linux/10/plugin/annobin.so configure:4513: $? = 1 configure:4551: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "workrave" | #define PACKAGE_TARNAME "workrave" | #define PACKAGE_VERSION "1.10.37" | #define PACKAGE_STRING "workrave 1.10.37" | #define PACKAGE_BUGREPORT "http://issues.workrave.org/cgi-bin/bugzilla/enter_bug.cgi" | #define PACKAGE_URL "http://www.workrave.org" | #define PACKAGE "workrave" | #define VERSION "1.10.37" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:4556: error: in `/builddir/build/BUILD/workrave-1_10_37': configure:4558: error: C compiler cannot create executables See `config.log' for more details <mock-chroot> sh-5.0# rpm -q annobin gcc annobin-9.12-3.fc33.x86_64 gcc-10.0.1-0.10.fc33.x86_64 Any hint?
Hi Lukas, > I am still not able to build my package, trying in mock: > annobin: conftest.c: ICE: The location of the "-fstack-clash-protection" > flag has changed - please rebuild annobin > Any hint? Please try again. I have just updated annobin in rawhide (to 9-16-1.fc33) with a patch to remove this particular test and instead use a different method for accessing gcc command line option flags. If the problem persists, then please can you tell me which package you are trying to build, and I will have a go myself. Cheers Nick
Aaand it works, thank you so much! Appreciated.