[LLVMbugs] [Bug 3502] Cross-compile llvm-gcc Linux x86 to arm-linux

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Mar 26 12:03:29 PDT 2009


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


S.Bharadwaj Yadavalli <bharadwajy at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #15 from S.Bharadwaj Yadavalli <bharadwajy at gmail.com>  2009-03-26 14:03:28 ---

This bug comes to life again during compilation of llvm-gcc-4.2! Sorry.

svn version : 67763
<llvm-root>/build/x86_64-arm/llvm-gcc-4.2/./gcc/xgcc
-B<llvm-root>/build/x86_64-arm/llvm-gcc-4.2/./gcc/
-B<llvm-root>/install/x86_64-arm/llvm-gcc-4.2/arm-none-linux-gnueabi/bin/
-B<llvm-root>/install/x86_64-arm/llvm-gcc-4.2/arm-none-linux-gnueabi/lib/
-isystem
<llvm-root>/install/x86_64-arm/llvm-gcc-4.2/arm-none-linux-gnueabi/include
-isystem
<llvm-root>/install/x86_64-arm/llvm-gcc-4.2/arm-none-linux-gnueabi/sys-include
-O2 -O2 -g -O2  -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem
./include  -I. -I. -I../../../../src/llvm-gcc-4.2/gcc
-I../../../../src/llvm-gcc-4.2/gcc/.
-I../../../../src/llvm-gcc-4.2/gcc/../include
-I../../../../src/llvm-gcc-4.2/gcc/../libcpp/include 
-I../../../../src/llvm-gcc-4.2/gcc/../libdecnumber -I../libdecnumber
-I<llvm-root>/install/x86_64-arm/llvm/include -I<llvm-root>/src/llvm/include 
-g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fno-toplevel-reorder  -c
../../../../src/llvm-gcc-4.2/gcc/crtstuff.c -DCRT_BEGIN -o crtbegin.o

cc1: <llvm-root>/src/llvm/lib/CodeGen/RegisterScavenging.cpp:273: void
llvm::RegScavenger::forward(): Assertion `(isReserved(Reg) || isUnused(Reg) ||
IsImpDef || isImplicitlyDefined(Reg) || isLiveInButUnusedBefore(Reg, MI, MBB,
TRI, MRI)) && "Re-defining a live register!"' failed.
../../../../src/llvm-gcc-4.2/gcc/crtstuff.c:382: internal compiler error:
Aborted

I'm attaching the bitcode - called crtbegin.bc.


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