[LLVMbugs] [Bug 1377] NEW: bad '.space' constant emitted building unwind-dw2.c

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue May 1 14:51:13 PDT 2007


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

           Summary: bad '.space' constant emitted building unwind-dw2.c
           Product: tools
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: llc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: scottm at aero.org


Building llvm-gcc on powerpc-apple-darwin8.8.0 with sources synced from llvm
head at or about 2pm PDT. Compiler output is:

/Users/scottm/play/llvm-cfrontend/obj/powerpc-apple-darwin8.8.0/gcc/xgcc
-B/Users/scottm/play/llvm-cfrontend/obj/powerpc-apple-darwin8.8.0/gcc/
-B/Users/scottm/play/llvm-cfrontend/obj/powerpc-apple-darwin8.8.0/../../powerpc-apple-darwin8.8.0/powerpc-apple-darwin8.9.0/bin/
-B/Users/scottm/play/llvm-cfrontend/obj/powerpc-apple-darwin8.8.0/../../powerpc-apple-darwin8.8.0/powerpc-apple-darwin8.9.0/lib/
-isystem
/Users/scottm/play/llvm-cfrontend/obj/powerpc-apple-darwin8.8.0/../../powerpc-apple-darwin8.8.0/powerpc-apple-darwin8.9.0/include
-isystem
/Users/scottm/play/llvm-cfrontend/obj/powerpc-apple-darwin8.8.0/../../powerpc-apple-darwin8.8.0/powerpc-apple-darwin8.9.0/sys-include
-O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include 
-Wa,-force_cpusubtype_ALL -pipe -mmacosx-version-min=10.4 -g -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../../gcc -I../../../gcc/.
-I../../../gcc/../include -I../../../gcc/../libcpp/include 
-I/Users/scottm/play/llvm-spu/include
-I/Users/scottm/play/llvm-cfrontend/obj/powerpc-apple-darwin8.8.0/../../../llvm-spu/obj/powerpc-apple-darwin8.8.0/include
-fexceptions  -c ../../../gcc/unwind-dw2.c  -o libgcc/./unwind-dw2.o          
{standard input}:2775:Repeat < 0, .space ignored

Looking at the assembly source from xgcc, the offending line looks like:

.data
        .align  4
_once_regsizes.6143:                            ; 'once_regsizes.6143'
        .long   816954554
        .space  16
        .space  18446744073709551568

llc produces the following (which is still a bad constant):

.data
        .align  4
_once_regsizes.6143:                            ; 'once_regsizes.6143'
        .long   816954554
        .space  16
        .space  17179869136



------- 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