A user has just posted here: https://forums.gentoo.org/viewtopic-p-3830580.html His problem: include -I/var/tmp/portage/gcc-4.1.1-r3/work/gcc-4.1.1/gcc/../libcpp/include /var/tmp/portage/gcc-4.1.1-r3/work/gcc-4.1.1/gcc/c-lex.c -o c-lex.o /var/tmp/portage/gcc-4.1.1-r3/temp/ccki8xEe.s: Assembler messages: /var/tmp/portage/gcc-4.1.1-r3/temp/ccki8xEe.s:2969: Error: invalid sections for operation on `.LCFI22' and `.LCFI21' /var/tmp/portage/gcc-4.1.1-r3/temp/ccki8xEe.s:3038: Error: invalid sections for operation on `.LCFI38' and `.LCFI37' /var/tmp/portage/gcc-4.1.1-r3/temp/ccki8xEe.s:3232: Error: invalid sections for operation on `.LCFI76' and `.LCFI75' /var/tmp/portage/gcc-4.1.1-r3/temp/ccki8xEe.s:3269: Error: invalid sections for operation on `.LCFI83' and `.LCFI82' This is the same problem as described here on the gcc bugzilla: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22313 ^ A patch is available. Grepping for the patch in our main (4.1.1) tarball, I find this: loki gcc # cat dwarf2out.c|grep -A 10 "\/\*\ Set the location counter to the new label. \*\/" /* Set the location counter to the new label. */ xcfi = new_cfi (); xcfi->dw_cfi_opc = DW_CFA_advance_loc4; xcfi->dw_cfi_oprnd1.dw_cfi_addr = label; add_cfi (&fde->dw_fde_cfi, xcfi); } add_cfi (&fde->dw_fde_cfi, cfi); } I don't see anything in the patches tarball either. I think very strongly that this is the same bug. Reproducible: Always Steps to Reproduce:
*** This bug has been marked as a duplicate of bug 138173 ***