[LLVMdev] 2.6 pre-release1 ready for testing

Olivier Meurant meurant.olivier at gmail.com
Fri Sep 4 00:58:23 PDT 2009


Thank for the fix !

I am not able to run a "make check" -> dejagnu problem, but as far as I can
tell clang is able to correctly generate IR files from c source. (at least
on my little tests)

Olivier.

On Thu, Sep 3, 2009 at 9:26 PM, Daniel Dunbar <daniel at zuster.org> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090904/644ca531/attachment.html>


More information about the llvm-dev mailing list