Hi Anton, Is the patch going to be uploaded to the CVS source? Ashwin On 5/24/06, Evan Cheng <evan.cheng at apple.com> wrote:> > > On May 24, 2006, at 5:03 AM, Anton Korobeynikov wrote: > > > Hello, Ashwin. > > > > You wrote Wednesday, May 24, 2006, 11:25:11 AM: > > > > AC> "Pass::getClassPassInfo<PassClass>() "Pass class not > > AC> registered!"" failed: file > > AC> "/cygdrive/c/llvm/llvm/include/llvm/PassAnalysisSupport.h", > > line 76 > > AC> Aborted > > Same for me. > > > > AC> Wihtout the -march specified (using native x86 assembly) it does > > AC> convert it into assembly, but is uncompilable (with some > > unecognized "," (comma) > > AC> characters in the .s file). > > Yes. X86AsmWriter should be fixed. I've submitted patches for that in > > this maillist some days ago. > > Could you resent? I cannot find your patch submission. > > Thanks, > > Evan > > > > AC> Does anyone have an idea why these two errors happen and has > > anyone > > AC> successfully used llvm-g++ on a WIN32 platform to compile files > > into bytecode > > AC> and used llc to convert back into C/assembly? > > C++ is definitely broken on win32 platform due to many platform > > specific issues (e.g. static ctors, etc.). Thank you for triggering > > this bug - I'm working on this. > > > > -- > > With best regards, > > Anton mailto:asl at math.spbu.ru > > > > Wednesday, May 24, 2006 4:00:59 PM > > > > Faculty of Mathematics & Mechanics, Saint-Petersburg State University > > > > > > _______________________________________________ > > LLVM Developers mailing list > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060525/1e464921/attachment.html>
The patch is now in. Sorry about the delay! Evan On May 25, 2006, at 10:20 AM, Ashwin Chandra wrote:> Hi Anton, > Is the patch going to be uploaded to the CVS source? > > Ashwin > > > On 5/24/06, Evan Cheng <evan.cheng at apple.com> wrote: > > On May 24, 2006, at 5:03 AM, Anton Korobeynikov wrote: > > > Hello, Ashwin. > > > > You wrote Wednesday, May 24, 2006, 11:25:11 AM: > > > > AC> "Pass::getClassPassInfo<PassClass>() "Pass class not > > AC> registered!"" failed: file > > AC> "/cygdrive/c/llvm/llvm/include/llvm/PassAnalysisSupport.h", > > line 76 > > AC> Aborted > > Same for me. > > > > AC> Wihtout the -march specified (using native x86 assembly) it does > > AC> convert it into assembly, but is uncompilable (with some > > unecognized "," (comma) > > AC> characters in the .s file). > > Yes. X86AsmWriter should be fixed. I've submitted patches for > that in > > this maillist some days ago. > > Could you resent? I cannot find your patch submission. > > Thanks, > > Evan > > > > AC> Does anyone have an idea why these two errors happen and has > > anyone > > AC> successfully used llvm-g++ on a WIN32 platform to compile files > > into bytecode > > AC> and used llc to convert back into C/assembly? > > C++ is definitely broken on win32 platform due to many platform > > specific issues (e.g. static ctors, etc.). Thank you for triggering > > this bug - I'm working on this. > > > > -- > > With best regards, > > Anton mailto:asl at math.spbu.ru > > > > Wednesday, May 24, 2006 4:00:59 PM > > > > Faculty of Mathematics & Mechanics, Saint-Petersburg State > University > > > > > > _______________________________________________ > > LLVM Developers mailing list > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060525/2b0eaf14/attachment.html>
Hi Evan, I updated cvs and recompilled llvm. Still getting some unrecognized commas in the compilation of the assembly file after using llc. I guess this is still future work... Ashwin On 5/25/06, Evan Cheng <evan.cheng at apple.com> wrote:> > The patch is now in. Sorry about the delay! > > Evan > > On May 25, 2006, at 10:20 AM, Ashwin Chandra wrote: > > Hi Anton, > Is the patch going to be uploaded to the CVS source? > > Ashwin > > > On 5/24/06, Evan Cheng <evan.cheng at apple.com> wrote: > > > > > > On May 24, 2006, at 5:03 AM, Anton Korobeynikov wrote: > > > > > Hello, Ashwin. > > > > > > You wrote Wednesday, May 24, 2006, 11:25:11 AM: > > > > > > AC> "Pass::getClassPassInfo<PassClass>() "Pass class not > > > AC> registered!"" failed: file > > > AC> "/cygdrive/c/llvm/llvm/include/llvm/PassAnalysisSupport.h", > > > line 76 > > > AC> Aborted > > > Same for me. > > > > > > AC> Wihtout the -march specified (using native x86 assembly) it does > > > AC> convert it into assembly, but is uncompilable (with some > > > unecognized "," (comma) > > > AC> characters in the .s file). > > > Yes. X86AsmWriter should be fixed. I've submitted patches for that in > > > this maillist some days ago. > > > > Could you resent? I cannot find your patch submission. > > > > Thanks, > > > > Evan > > > > > > AC> Does anyone have an idea why these two errors happen and has > > > anyone > > > AC> successfully used llvm-g++ on a WIN32 platform to compile files > > > into bytecode > > > AC> and used llc to convert back into C/assembly? > > > C++ is definitely broken on win32 platform due to many platform > > > specific issues (e.g. static ctors, etc.). Thank you for triggering > > > this bug - I'm working on this. > > > > > > -- > > > With best regards, > > > Anton mailto:asl at math.spbu.ru > > > > > > Wednesday, May 24, 2006 4:00:59 PM > > > > > > Faculty of Mathematics & Mechanics, Saint-Petersburg State University > > > > > > > > > _______________________________________________ > > > LLVM Developers mailing list > > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > > > _______________________________________________ > > LLVM Developers mailing list > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060525/50c7a708/attachment.html>
Anton Korobeynikov
2006-May-26 06:21 UTC
[LLVMdev] Error with llc after using llvm-g++ WIN32
Hello, Ashwin. You wrote Friday, May 26, 2006, 4:19:32 AM: AC> Actually the unrecognized commas disappeared with the patch. AC> What remains is a call to ".local" which doesn't exist in x86 or AC> at least is not compilable by g++. It was my fault. It should be fixed soon. -- With best regards, Anton mailto:asl at math.spbu.ru Friday, May 26, 2006 10:20:41 AM Faculty of Mathematics & Mechanics, Saint-Petersburg State University