[cfe-dev] [LLVMdev] 2.6 pre-release1 ready for testing

Daniel Dunbar daniel at zuster.org
Thu Sep 3 12:26:10 PDT 2009


On Thu, Sep 3, 2009 at 6:24 AM, Olivier
Meurant<meurant.olivier at gmail.com> wrote:
> Hi Tanya,
>
> I have tried the 2.6 pre-release on the following host :
>
> Windows XP pro SP2 with mingw/msys :
>
> uname -a
> MINGW32_NT-5.1 OLIVE 1.0.10(0.46/3/2) 2004-03-15 07:17 i686 unknown
>
> gcc -v
> Reading specs from d:/mingw/bin/../lib/gcc/mingw32/3.4.5/specs
> Configured with: ../gcc-3.4.5/configure --with-gcc --with-gnu-ld
> --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw
> --enable-threads --disable-nls --enable-languages=c,c++,f77,ada,objc,java
> --disable-win32-registry --disable-shared --enable-sjlj-exceptions
> --enable-libgcj --disable-java-awt --without-x --enable-java-gc=boehm
> --disable-libgcj-debug --enable-interpreter --enable-hash-synchronization
> --enable-libstdcxx-debug
> Thread model: win32
> gcc version 3.4.5 (mingw special)
>
>
> - srcDir != objDir
> - The build went fine. (configure and make)
> - llvm make check : not possible under mingw (dejagnu...)
> - clang make check fails :

Note that we don't really expect clang to work on MinGW yet, as far as I know.

> In the method DefineTypeSize, the call to sprintf is as follow :
> sprintf(MacroBuf, "%s=%llu%s", MacroName, MaxVal, ValSuffix);
> and should be transformed to :
> sprintf(MacroBuf, "%s=%I64u%s", MacroName, MaxVal, ValSuffix);
> as mingw toolchain don't support "%llu" marker.

Fixed in SVN r80933.

I don't know the status of clang on MinGW, so its hard for me to say
whether its worth trying to take this for 2.6.

 - Daniel



More information about the cfe-dev mailing list