[LLVMbugs] [Bug 2875] New: Compiling LLVM with SPARC target (sparc-elf) fails on crtstuff.c

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Oct 9 16:54:01 PDT 2008


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

           Summary: Compiling LLVM with SPARC target (sparc-elf)  fails on
                    crtstuff.c
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: hirenvt at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=2068)
 --> (http://llvm.org/bugs/attachment.cgi?id=2068)
Preprocessed file using -save-temps

Configured with:
../configure --target=sparc-elf --enable-languages=c
--prefix=$HOME/sw/llvm/sparc-llvm/ --enable-llvm=$HOME/sw/llvm/llvm-2.3

Make gives the following error:
 ./xgcc -B./ -B/home/hiren/sw/llvm/sparc-llvm//sparc-elf/bin/ -isystem
/home/hiren/sw/llvm/sparc-llvm//sparc-elf/include -isystem
/home/hiren/sw/llvm/sparc-llvm//sparc-elf/sys-include
-L/home/hiren/sw/llvm/llvm-gcc4.2-2.3.source/obj/gcc/../ld -O2  -DIN_GCC
-DCROSS_DIRECTORY_STRUCTURE   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I. -I.
-I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include 
-I../../gcc/../libdecnumber -I../libdecnumber
-I/home/hiren/sw/llvm/llvm-2.3/include -I/home/hiren/sw/llvm/llvm-2.3/include 
-g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fno-toplevel-reorder -Dinhibit_libc -save-temps  
-c ../../gcc/crtstuff.c -DCRT_BEGIN   -o crtbegin.o 
../../gcc/crtstuff.c:378: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.

Using -save-temps, the crtstuff.i is attached.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list