<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>I successfully built llvm using msys/mingw, but I am getting
the following error when I try to build llvm-gcc using<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>$ ../llvm-gcc4.2-2.6.source/configure
--prefix=/c/Temp/msys-llvm-gcc --program-<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>prefix=llvm- --enable-llvm=/c/Temp/msys-llvm
--enable-languages=c,c++ --disable<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>-shared<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>$make<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>--------------------------------------------------</span><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>gcc -c -g -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-pr<o:p></o:p></p>
<p class=MsoNormal>ototypes -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -<o:p></o:p></p>
<p class=MsoNormal>Wold-style-definition -Wmissing-format-attribute
-fno-common -DHAVE_CONFIG_H -<o:p></o:p></p>
<p class=MsoNormal>I. -I. -I../../llvm-gcc4.2-2.6.source/gcc
-I../../llvm-gcc4.2-2.6.source/gcc/. -<o:p></o:p></p>
<p class=MsoNormal>I../../llvm-gcc4.2-2.6.source/gcc/../include
-I../../llvm-gcc4.2-2.6.source/gcc/<o:p></o:p></p>
<p class=MsoNormal>../libcpp/include
-I../../llvm-gcc4.2-2.6.source/gcc/../libdecnumber -I../libde<o:p></o:p></p>
<p class=MsoNormal>cnumber -I/c/Temp/msys-llvm/include
-I/c/Temp/llvm-2.6/include -DENABLE_LLVM -I/<o:p></o:p></p>
<p class=MsoNormal>c/Temp/msys-llvm/../llvm-2.6/include
-I/c/Temp/msys-llvm/include -D_DEBUG -D_GN<o:p></o:p></p>
<p class=MsoNormal>U_SOURCE -D__STDC_LIMIT_MACROS
-D__STDC_CONSTANT_MACROS ../../llvm-gcc4.2-2.6.<o:p></o:p></p>
<p class=MsoNormal>source/gcc/cppspec.c -o cppspec.o<o:p></o:p></p>
<p class=MsoNormal>c++ -g -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-proto<o:p></o:p></p>
<p class=MsoNormal>types -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Wol<o:p></o:p></p>
<p class=MsoNormal>d-style-definition -Wmissing-format-attribute
-fno-common -DHAVE_CONFIG_H -o<o:p></o:p></p>
<p class=MsoNormal>cpp.exe gcc.o opts-common.o gcc-options.o cppspec.o \<o:p></o:p></p>
<p class=MsoNormal>
intl.o prefix.o version.o driver-i386.o ../libcpp/libcpp.a
../libib<o:p></o:p></p>
<p class=MsoNormal>erty/libiberty.a ../libdecnumber/libdecnumber.a
-L/c/Temp/msys-llvm/Release/lib<o:p></o:p></p>
<p class=MsoNormal> -lpthread -lpsapi -limagehlp -lm<o:p></o:p></p>
<p class=MsoNormal>/c/Temp/msys-gcc-build/./gcc/xgcc
-B/c/Temp/msys-gcc-build/./gcc/ -L/c/Temp/msys<o:p></o:p></p>
<p class=MsoNormal>-gcc-build/i686-pc-mingw32/winsup/mingw
-L/c/Temp/msys-gcc-build/i686-pc-mingw32<o:p></o:p></p>
<p class=MsoNormal>/winsup/w32api/lib -isystem
/c/Temp/llvm-gcc4.2-2.6.source/winsup/mingw/include<o:p></o:p></p>
<p class=MsoNormal>-isystem /c/Temp/llvm-gcc4.2-2.6.source/winsup/w32api/include
-B/c/Temp/msys-llv<o:p></o:p></p>
<p class=MsoNormal>m-gcc/i686-pc-mingw32/bin/
-B/c/Temp/msys-llvm-gcc/i686-pc-mingw32/lib/ -isystem<o:p></o:p></p>
<p class=MsoNormal> /c/Temp/msys-llvm-gcc/i686-pc-mingw32/include -isystem
/c/Temp/msys-llvm-gcc/i6<o:p></o:p></p>
<p class=MsoNormal>86-pc-mingw32/sys-include -dumpspecs > tmp-specs<o:p></o:p></p>
<p class=MsoNormal>mv tmp-specs specs<o:p></o:p></p>
<p class=MsoNormal>if true ; then \<o:p></o:p></p>
<p class=MsoNormal> cat
../../llvm-gcc4.2-2.6.source/gcc/limitx.h ../../llvm-gcc4.2-2.6.so<o:p></o:p></p>
<p class=MsoNormal>urce/gcc/glimits.h ../../llvm-gcc4.2-2.6.source/gcc/limity.h
> tmp-xlimits.h; \<o:p></o:p></p>
<p class=MsoNormal> else \<o:p></o:p></p>
<p class=MsoNormal> cat
../../llvm-gcc4.2-2.6.source/gcc/glimits.h > tmp-xlimits.h; \<o:p></o:p></p>
<p class=MsoNormal> fi<o:p></o:p></p>
<p class=MsoNormal>mv tmp-xlimits.h xlimits.h<o:p></o:p></p>
<p class=MsoNormal>echo | /c/Temp/msys-gcc-build/./gcc/xgcc
-B/c/Temp/msys-gcc-build/./gcc/ -L/c/Te<o:p></o:p></p>
<p class=MsoNormal>mp/msys-gcc-build/i686-pc-mingw32/winsup/mingw
-L/c/Temp/msys-gcc-build/i686-pc-<o:p></o:p></p>
<p class=MsoNormal>mingw32/winsup/w32api/lib -isystem
/c/Temp/llvm-gcc4.2-2.6.source/winsup/mingw/i<o:p></o:p></p>
<p class=MsoNormal>nclude -isystem
/c/Temp/llvm-gcc4.2-2.6.source/winsup/w32api/include -B/c/Temp/m<o:p></o:p></p>
<p class=MsoNormal>sys-llvm-gcc/i686-pc-mingw32/bin/
-B/c/Temp/msys-llvm-gcc/i686-pc-mingw32/lib/ -<o:p></o:p></p>
<p class=MsoNormal>isystem /c/Temp/msys-llvm-gcc/i686-pc-mingw32/include
-isystem /c/Temp/msys-llvm<o:p></o:p></p>
<p class=MsoNormal>-gcc/i686-pc-mingw32/sys-include -E -dM - | \<o:p></o:p></p>
<p class=MsoNormal> sed
-n -e 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p' \<o:p></o:p></p>
<p class=MsoNormal>
-e 's/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \<o:p></o:p></p>
<p class=MsoNormal> sort
-u > tmp-macro_list<o:p></o:p></p>
<p class=MsoNormal>Assertion failed: errorcode == 0, file
c:/Temp/llvm-2.6/lib/System/RWMutex.cpp,<o:p></o:p></p>
<p class=MsoNormal>line 87<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>This application has requested the Runtime to terminate it
in an unusual way.<o:p></o:p></p>
<p class=MsoNormal>Please contact the application's support team for more
information.<o:p></o:p></p>
<p class=MsoNormal>xgcc.exe: Internal error: Aborted (program cc1)<o:p></o:p></p>
<p class=MsoNormal>Please submit a full bug report.<o:p></o:p></p>
<p class=MsoNormal>See <URL:http://llvm.org/bugs/> for instructions.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>