Anton Korobeynikov
2006-May-24 12:03 UTC
[LLVMdev] Error with llc after using llvm-g++ WIN32
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. 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
Hi Anton, For the asm writer..i just cvs updated yesterday. Was something added in in the past 24 hours? On 5/24/06, Anton Korobeynikov <asl at math.spbu.ru> 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. > > 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060524/7b12f152/attachment.html>
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
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>
Apparently Analagous Threads
- [LLVMdev] Error with llc after using llvm-g++ WIN32
- [LLVMdev] Error with llc after using llvm-g++ WIN32
- [LLVMdev] Error with llc after using llvm-g++ WIN32
- [LLVMdev] Error with llc after using llvm-g++ WIN32
- [LLVMdev] Error with llc after using llvm-g++ WIN32