Created attachment 513683 [details] How libgcc_post_upgrade was replaced with a lua scriptlet in rawhide Description of problem: When building gcc on ARM, libgcc_post_upgrade.c gives errors on compiling (well, actually linking). Version-Release number of selected component (if applicable): gcc-4.5.1-5.f14 How reproducible: 100% Steps to Reproduce: 1. fedpkg clone gcc 2. cd gcc 3. fedpkg switch-branch f14 4. arm-koji build --scratch dist-f14 $(fedpkg giturl) (note that building gcc on ARM takes *long*) Actual results: Build fails with error like + gcc -static -Os /builddir/build/SOURCES/libgcc_post_upgrade.c -o /builddir/build/BUILDROOT/gcc-4.5.1-5.fc14.arm/usr/sbin/libgcc_post_upgrade /usr/lib/gcc/armv5tel-redhat-linux-gnueabi/4.5.1/../../../libc.a(libc-start.o): In function `__libc_start_main': (.text+0x0): multiple definition of `__libc_start_main' /tmp/cct9sTeV.o:libgcc_post_upgrade.c:(.text+0x84): first defined here /usr/lib/gcc/armv5tel-redhat-linux-gnueabi/4.5.1/../../../libc.a(elf-init.o): In function `__libc_csu_init': (.text+0x4): multiple definition of `__libc_csu_init' /tmp/cct9sTeV.o:libgcc_post_upgrade.c:(.text+0x74): first defined here /usr/lib/gcc/armv5tel-redhat-linux-gnueabi/4.5.1/../../../libc.a(elf-init.o): In function `__libc_csu_fini': (.text+0x9c): multiple definition of `__libc_csu_fini' /tmp/cct9sTeV.o:libgcc_post_upgrade.c:(.text+0x78): first defined here collect2: ld returned 1 exit status Expected results: Build succeeds. Additional info: gcc in rawhide does not use libgcc_post_upgrade anymore, this binary has been replaced by a lua scriptlet (Bug 705832). A patch with that change is attached for reference. It is probably preferred to replace the libgcc_post_upgrade binary by the lua script, and not add extra patches or update libgcc_post_upgrade.c.
Thank you for your bug report. We are sorry, but the Fedora Project is no longer releasing bug fixes or any other updates for this version of Fedora. This bug will be set to CLOSED:WONTFIX to reflect this, but please reopen it if the problem persists after upgrading to the latest version of Fedora, which is available from: http://fedoraproject.org/get-fedora -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers
libgcc_post_upgrade doesn't exist on rawhide (nor f16 nor f15), so can you explain why you are reopening it?
(In reply to comment #2) > libgcc_post_upgrade doesn't exist on rawhide (nor f16 nor f15), so can you > explain why you are reopening it? Because that wasn't explained in the bug report.