<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Feb 13, 2009, at 2:18 PM, S. Bharadwaj Yadavalli wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br>I get the following assertion failure during my attempt to build an x86_64->ARM cross compiler.<br><br><llvm-build>/./gcc/xgcc -B<llvm-build>/./gcc/ -B<llvm-install>/arm-none-linux-gnueabi/bin/ -B<llvm-install>/arm-none-linux-gnueabi/lib/ -isystem <llvm-install>/arm-none-linux-gnueabi/include -isystem <llvm-install>/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  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I<llvm-gcc-4.2-source>/gcc -I<llvm-gcc-4.2-source>/gcc/. -I<llvm-gcc-4.2-source>/gcc/../include -I<llvm-gcc-4.2-source>/gcc/../libcpp/include  -I<llvm-gcc-4.2-source>/gcc/../libdecnumber -I../libdecnumber -I<llvm-install>/llvm/include -I<llvm-src/llvm/include -DL_muldc3 -fvisibility=hidden -DHIDE_EXPORTS -c ../../../../src/llvm-gcc-4.2/gcc/libgcc2.c -o libgcc/./_muldc3.o<br> cc1: <llvm-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.<br> ../../../../src/llvm-gcc-4.2/gcc/libgcc2.c:1914: internal compiler error: Aborted<br>Please submit a full bug report,<br>with preprocessed source if appropriate.<br>See <URL:<a href="http://developer.apple.com/bugreporter">http://developer.apple.com/bugreporter</a>> for instructions.</blockquote><div><br></div>Please add -emit-llvm to produce a bitcode and attach it to a bugzilla report.</div><div><br></div><div>Thanks,</div><div><br></div><div>Evan</div><div><br><blockquote type="cite"><br> <br>Can some one please tell me what the problem is?<br><br>Here is some relevant info:<br><br>LLVM and llvm-gcc-4.2 source rev 64487<br>$ svn info<br>Path: .<br>URL: <a href="http://llvm.org/svn/llvm-project/llvm/trunk">http://llvm.org/svn/llvm-project/llvm/trunk</a><br> Repository Root: <a href="http://llvm.org/svn/llvm-project">http://llvm.org/svn/llvm-project</a><br>Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8<br>Revision: 64487<br>Node Kind: directory<br>Schedule: normal<br>Last Changed Author: djg<br> Last Changed Rev: 64468<br>Last Changed Date: 2009-02-13 12:45:12 -0500 (Fri, 13 Feb 2009)<br><br>$ svn info<br>Path: .<br>URL: <a href="http://llvm.org/svn/llvm-project/llvm-gcc-4.2/trunk">http://llvm.org/svn/llvm-project/llvm-gcc-4.2/trunk</a><br> Repository Root: <a href="http://llvm.org/svn/llvm-project">http://llvm.org/svn/llvm-project</a><br>Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8<br>Revision: 64487<br>Node Kind: directory<br>Schedule: normal<br>Last Changed Author: baldrick<br> Last Changed Rev: 64234<br>Last Changed Date: 2009-02-10 15:43:26 -0500 (Tue, 10 Feb 2009)<br><br>LLVM configured and successfully built as :<br><llvm-source>/configure --with-llvmgccdir=<llvm-install>/llvm-gcc-4.2 --enable-optimized --enable-jit --prefix=<llvm-install/llvm --target=arm-unknown-linux-gnueabi<br> <br>llvm-gcc-4.2 configured as :<br><llvm-gcc-4.2-source>/configure   --prefix=<llvm-install/llvm-gcc-4.2 --program-prefix=llvm-x86_64-arm --enable-llvm=<llvm-install>/llvm --disable-multilib --target=arm-none-linux-gnueabi --with-sysroot=<sysroot-location> --enable-languages=c,c++<br> <br><br>Thanks,<br><br>Bharadwaj<br><br> _______________________________________________<br>LLVM Developers mailing list<br><a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br></blockquote></div><br></body></html>