Tanya, This patch at the end of this message is needed for Cygwin and GCC 4.2.x series. I also had to disable 'runtime/libprofile' by including the following in 'runtime/makefile' :- ifeq ($(OS), Cygwin) PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS)) endif There maybe a better fix to make it work. Aaron ---------- Forwarded message ---------- From: Nick Lewycky <nicholas at mxc.ca> Date: 2009/8/29 Subject: [llvm-commits] [llvm-gcc-4.2] r80424 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp To: llvm-commits at cs.uiuc.edu Author: nicholas Date: Sat Aug 29 02:23:49 2009 New Revision: 80424 URL: http://llvm.org/viewvc/llvm-project?rev=80424&view=rev Log: Fix invalid conversion. Patch by Aaron Gray! Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp?rev=80424&r1=80423&r2=80424&view=diff =============================================================================--- llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp (original) +++ llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp Sat Aug 29 02:23:49 2009 @@ -7124,7 +7124,7 @@ } else if (ElTy == Type::getInt32Ty(Context)) { assert((Len&3) == 0 && "Length in bytes should be a multiple of element size"); - const uint32_t *InStr = (const unsigned *)TREE_STRING_POINTER(exp); + const uint32_t *InStr = (const uint32_t *)TREE_STRING_POINTER(exp); for (unsigned i = 0; i != Len/4; ++i) { // gcc has constructed the initializer elements in the target endianness, // but we're going to treat them as ordinary ints from here, with _______________________________________________ llvm-commits mailing list llvm-commits at cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090903/66ba5144/attachment.html>