heguojin at ict.ac.cn
2008-Jun-16 21:12 UTC
[LLVMdev] Compile llvm-gcc-4.2 on sparc-sun-solaris2.10
Has anyone succeded ? I got the following error message ------------- /project//g/cslp/llvm_sparc/front_end/obj/./gcc/xgcc -B/project//g/cslp/llvm_sparc/front_end/obj/./gcc/ -B/project//cslp/llvm_sparc/front_end/obj/../install/sparc-sun-solaris2.10/bin/ -B/project//cslp/llvm_sparc/front_end/obj/../install/sparc-sun-solaris2.10/lib/ -isystem /project//cslp/llvm_sparc/front_end/obj/../install/sparc-sun-solaris2.10/include -isystem /project//cslp/llvm_sparc/front_end/obj/../install/sparc-sun-solaris2.10/sys-include -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I../../source/gcc -I../../source/gcc/. -I../../source/gcc/../include -I./../intl -I../../source/gcc/../libcpp/include -I../../source/gcc/../libdecnumber -I../libdecnumber -I/project//cslp/llvm_sparc/obj//include -I/project//cslp/llvm_sparc/src/include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder -fPIC \ -c ../../source/gcc/crtstuff.c -DCRT_BEGIN \ -o crtbegin.o Couldn't allocate output reg for contraint 'r'! make[3]: *** [crtbegin.o] Error 1 make[3]: Leaving directory `/project//g/cslp/llvm_sparc/front_end/obj/gcc' make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory `/project//g/cslp/llvm_sparc/front_end/obj' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/project//g/cslp/llvm_sparc/front_end/obj' make: *** [all] Error 2
Chris Lattner
2008-Jun-20 05:22 UTC
[LLVMdev] Compile llvm-gcc-4.2 on sparc-sun-solaris2.10
On Jun 16, 2008, at 2:12 PM, heguojin at ict.ac.cn wrote:> Has anyone succeded ?This sounds like the sparc backed doesn't have inline asm support, which isn't a surprise. I'd suggest disabling bootstrapping. -Chris
Nathan Keynes
2008-Jun-26 10:17 UTC
[LLVMdev] Compile llvm-gcc-4.2 on sparc-sun-solaris2.10
On 20/06/2008, at 3:22 PM, Chris Lattner wrote:> > On Jun 16, 2008, at 2:12 PM, heguojin at ict.ac.cn wrote: > >> Has anyone succeded ? > > This sounds like the sparc backed doesn't have inline asm support, > which isn't a surprise. I'd suggest disabling bootstrapping.That was going to be my guess (PR1557 I think it is). If I get some spare cycles in the near future I'll try to look into getting this working. Cheers, Nathan