Aaron, Sorry about the missing patch on the last email. Here's one that I think will actually work. Could you please test this out for us (see below)? If it works, we'll commit it to cvs so cygwin never runs into this problem again. Thanks, Reid. On Fri, 2005-05-20 at 10:53 -0700, Reid Spencer wrote:> Aaron, > > Can you try this patch for me please. It goes on your test/Makefile > file. Patching is done like this: > > cd test > <save Makefile.diff to this directory> > patch -p0 < Makefile.diff > > Then run your "make check" again. Hopefully the # of unexpected failures > will drop significantly. > > Reid. > > On Fri, 2005-05-20 at 18:26 +0100, Aaron Gray wrote: > > This is what I am getting back from 'make check' :- > > > > === Summary ==> > > > # of expected passes 1710 > > # of unexpected failures 49 > > # of expected failures 55 > > > > Is this normal and "expected" ? > > > > Full results attached. > > > > Aaron > > _______________________________________________ > > LLVM Developers mailing list > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev-------------- next part -------------- A non-text attachment was scrubbed... Name: Makefile.diff Type: text/x-patch Size: 996 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050520/f1bffff6/attachment.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050520/f1bffff6/attachment.sig>
Much better. Although it looks like I have a library problem though. There are by the look of it a few more errors too. # of expected passes 1736 # of unexpected failures 16 # of expected failures 56 Looks like the patch has nearly got it. Aaron -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: makecheck.txt URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050520/7be3b207/attachment.txt>
Looks much better. The stdc library things are caused by Cygwin's inability to recognize symbols linked into the main program with dlsym. For example, if lli (the interpreter) has "printf" already linked in, then the JIT compiler will not be able to find "printf" if it is used in the program it is compiling. There's currently no workaround for this other than to fix Cygwin. Not sure about the other errors. In general, this should be good enough for you to do most things. Reid. On Fri, 2005-05-20 at 19:45 +0100, Aaron Gray wrote:> Much better. Although it looks like I have a library problem though. > > There are by the look of it a few more errors too. > > # of expected passes 1736 > # of unexpected failures 16 > # of expected failures 56 > > Looks like the patch has nearly got it. > > Aaron > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050520/8fe93e1b/attachment.sig>
Patch committed. http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20050516/026622.html On Fri, 2005-05-20 at 19:45 +0100, Aaron Gray wrote:> Much better. Although it looks like I have a library problem though. > > There are by the look of it a few more errors too. > > # of expected passes 1736 > # of unexpected failures 16 > # of expected failures 56 > > Looks like the patch has nearly got it. > > Aaron > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050520/4e4eacac/attachment.sig>