[LLVMbugs] [Bug 1009] NEW: bootstrap failure building libgcc2

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Nov 17 12:20:56 PST 2006


http://llvm.org/bugs/show_bug.cgi?id=1009

           Summary: bootstrap failure building libgcc2
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: alenhar2 at uiuc.edu


The attched is a reduction of a boot strap failure in llvm-gcc2 on x86/linux.

internal compiler error: in prune_unused_types_update_strings, at dwarf2out.c:14372
"/home/vadve/alenhar2/cfe/build/gcc/cc1" "-g" "-O2"     -o /dev/null min.i

removing either -g or -O2 makes the problem go away.  -O1 still exhibits the
problem.

where min.i is:

  __attribute__ ((__nothrow__)) strtol (__const char *__restrict __nptr, char
**__restrict __endptr, int __base) {  }
  __attribute__ ((__nothrow__)) strtof (__const char *__restrict __nptr, char
**__restrict __endptr) {  }


a back trace of cc1:
#0  fancy_abort (file=0x861d3f0 "../../source/gcc/dwarf2out.c", line=14372,
function=0x8621800 "prune_unused_types_update_strings")
    at ../../source/gcc/diagnostic.c:588
During symbol reading, Incomplete CFI data; unspecified register eax at 0x082272a1.
During symbol reading, Incomplete CFI data; unspecified register ecx at 0x082272a1.
During symbol reading, Incomplete CFI data; unspecified register edx at 0x082272a1.
During symbol reading, Incomplete CFI data; unspecified register ebx at 0x082272a1.
During symbol reading, Incomplete CFI data; unspecified register esi at 0x082272a1.
During symbol reading, Incomplete CFI data; unspecified register edi at 0x082272a1.
#1  0x0824668f in prune_unused_types_update_strings (die=0xb7c2a9f4) at
../../source/gcc/dwarf2out.c:14372
During symbol reading, Incomplete CFI data; unspecified register eax at 0x08246665.
During symbol reading, Incomplete CFI data; unspecified register ecx at 0x08246665.
During symbol reading, Incomplete CFI data; unspecified register edx at 0x08246665.
During symbol reading, Incomplete CFI data; unspecified register ebx at 0x08246665.
During symbol reading, Incomplete CFI data; unspecified register esi at 0x08246665.
During symbol reading, Incomplete CFI data; unspecified register edi at 0x08246665.
#2  0x08246758 in prune_unused_types_prune (die=0xb7c2a958) at
../../source/gcc/dwarf2out.c:14410
During symbol reading, Incomplete CFI data; unspecified register eax at 0x082466c4.
During symbol reading, Incomplete CFI data; unspecified register ecx at 0x082466c4.
During symbol reading, Incomplete CFI data; unspecified register edx at 0x082466c4.
During symbol reading, Incomplete CFI data; unspecified register ebx at 0x082466c4.
During symbol reading, Incomplete CFI data; unspecified register esi at 0x082466c4.
During symbol reading, Incomplete CFI data; unspecified register edi at 0x082466c4.
#3  0x08246766 in prune_unused_types_prune (die=0xb7c2a0d0) at
../../source/gcc/dwarf2out.c:14411
During symbol reading, Incomplete CFI data; unspecified register eax at 0x082466c4.
During symbol reading, Incomplete CFI data; unspecified register ecx at 0x082466c4.
#4  0x0824688d in prune_unused_types () at ../../source/gcc/dwarf2out.c:14446
#5  0x08246bb9 in dwarf2out_finish (filename=0xbff36a2c "min.i") at
../../source/gcc/dwarf2out.c:14557
#6  0x0849a81b in compile_file () at ../../source/gcc/toplev.c:1138
#7  0x0849c565 in do_compile () at ../../source/gcc/toplev.c:2327
#8  0x0849c5cc in toplev_main (argc=34, argv=0xbfec69e4) at
../../source/gcc/toplev.c:2359
#9  0x080d52f2 in main (argc=34, argv=0xbfec69e4) at ../../source/gcc/main.c:35

fr 1
print s->str
$1 = 0x9cc58f0 "__nptr"
print slot
$2 = (void **) 0xb7c265f8
print *(struct indirect_string_node*)*slot
$6 = {str = 0x9cc58f0 "__nptr", refcount = 2, form = 0, label = 0x0}



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list