On Jun 11, 2009, at 7:18 PM, Misha Brukman wrote:> I've committed my scripts that simplify building Linux/x86 -> Linux/ > ARM crosstool. There are 2 parts to using this: > > * llvm/utils/crosstool/create-snapshots.sh > creates tarballs for LLVM and LLVM-GCC from HEAD SVN or a specific > revision of your choice > * llvm/utils/crosstool/ARM/build-install-linux.sh > builds and installs a Linux/x86 -> Linux/ARM crosstool using the > snapshots generated by the above script. It also uses the > CodeSourcery GCC-based cross toolchain to avoid having to rebuild > cross-binutils and glibc, but if you don't have it, it'll tell you > where to download it from. > > Note that HEAD revision of SVN doesn't work for me, but I listed the > latest one I've tried that does, which is 70786. > Let me know if this approach works for youThanks, this should be useful. What problem did you have with svn revisions after 70786?
2009/6/12 Bob Wilson <bob.wilson at apple.com>> Thanks, this should be useful. What problem did you have with svn > revisions after 70786?/tmp/llvm-project.p28262/obj/llvm-gcc-4.2/./gcc/xgcc -B/tmp/llvm-project.p28262/obj/llvm-gcc-4.2/./gcc/ -B/tmp/llvm-73246/llvm-project/x86_64-unknown-linux-gnu/arm-none-linux-gnueabi/llvm-gcc-4.2/arm-none-linux-gnueabi/bin/ -B/tmp/llvm-73246/llvm-project/x86_64-unknown-linux-gnu/arm-none-linux-gnueabi/llvm-gcc-4.2/arm-none-linux-gnueabi/lib/ -isystem /tmp/llvm-73246/llvm-project/x86_64-unknown-linux-gnu/arm-none-linux-gnueabi/llvm-gcc-4.2/arm-none-linux-gnueabi/include -isystem /tmp/llvm-73246/llvm-project/x86_64-unknown-linux-gnu/arm-none-linux-gnueabi/llvm-gcc-4.2/arm-none-linux-gnueabi/sys-include -DHAVE_CONFIG_H -I. -I/tmp/llvm-project.p28262/src/llvm-gcc-4.2/libmudflap -I. -Wall -ffunction-sections -fdata-sections -O2 -g -O2 -MT mf-heuristics.lo -MD -MP -MF .deps/mf-heuristics.Tpo -c /tmp/llvm-project.p28262/src/llvm-gcc-4.2/libmudflap/mf-heuristics.c -fPIC -DPIC -o .libs/mf-heuristics.o cc1: /tmp/llvm-project.p28262/src/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h:134: llvm::LiveInterval& llvm::LiveIntervals::getInterval(unsigned int): Assertion `I != r2iMap_.end() && "Interval does not exist for register"' failed. /tmp/llvm-project.p28262/src/llvm-gcc-4.2/libmudflap/mf-heuristics.c:175: internal compiler error: Aborted Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://llvm.org/bugs/> for instructions. make[4]: *** [mf-heuristics.lo] Error 1 make[4]: Leaving directory `/tmp/llvm-project.p28262/obj/llvm-gcc-4.2/arm-none-linux-gnueabi/libmudflap' I don't have my build tree any longer that has the intermediate object files, so I'll try to re-create it so I can disect the .bc file to figure out what's wrong here. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090629/32de8cf9/attachment.html>
Misha, I reported this about 10 days ago and Evan has fixed this problem. http://llvm.org/bugs/show_bug.cgi?id=4416. I was able to build llvm cross compiler a couple of days with no problem. Bharadwaj On Mon, Jun 29, 2009 at 5:25 PM, Misha Brukman<brukman at gmail.com> wrote:> 2009/6/12 Bob Wilson <bob.wilson at apple.com> >> >> Thanks, this should be useful. What problem did you have with svn >> revisions after 70786? > > /tmp/llvm-project.p28262/obj/llvm-gcc-4.2/./gcc/xgcc -B/tmp/llvm-project.p28262/obj/llvm-gcc-4.2/./gcc/ -B/tmp/llvm-73246/llvm-project/x86_64-unknown-linux-gnu/arm-none-linux-gnueabi/llvm-gcc-4.2/arm-none-linux-gnueabi/bin/ -B/tmp/llvm-73246/llvm-project/x86_64-unknown-linux-gnu/arm-none-linux-gnueabi/llvm-gcc-4.2/arm-none-linux-gnueabi/lib/ -isystem /tmp/llvm-73246/llvm-project/x86_64-unknown-linux-gnu/arm-none-linux-gnueabi/llvm-gcc-4.2/arm-none-linux-gnueabi/include -isystem /tmp/llvm-73246/llvm-project/x86_64-unknown-linux-gnu/arm-none-linux-gnueabi/llvm-gcc-4.2/arm-none-linux-gnueabi/sys-include -DHAVE_CONFIG_H -I. -I/tmp/llvm-project.p28262/src/llvm-gcc-4.2/libmudflap -I. -Wall -ffunction-sections -fdata-sections -O2 -g -O2 -MT mf-heuristics.lo -MD -MP -MF .deps/mf-heuristics.Tpo -c /tmp/llvm-project.p28262/src/llvm-gcc-4.2/libmudflap/mf-heuristics.c -fPIC -DPIC -o .libs/mf-heuristics.o > cc1: /tmp/llvm-project.p28262/src/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h:134: llvm::LiveInterval& llvm::LiveIntervals::getInterval(unsigned int): Assertion `I != r2iMap_.end() && "Interval does not exist for register"' failed. > /tmp/llvm-project.p28262/src/llvm-gcc-4.2/libmudflap/mf-heuristics.c:175: internal compiler error: Aborted > Please submit a full bug report, > with preprocessed source if appropriate. > See <URL:http://llvm.org/bugs/> for instructions. > make[4]: *** [mf-heuristics.lo] Error 1 > make[4]: Leaving directory `/tmp/llvm-project.p28262/obj/llvm-gcc-4.2/arm-none-linux-gnueabi/libmudflap' > I don't have my build tree any longer that has the intermediate object > files, so I'll try to re-create it so I can disect the .bc file to figure > out what's wrong here. > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >