[LLVMdev] Error with llc after using llvm-g++ WIN32

Ashwin Chandra ashwin.chandra1 at gmail.com
Thu May 25 17:19:32 PDT 2006


Hi Evan,
Actually the unrecognized commas disappeared with the patch. What remains is
a call to ".local" which doesn't exist in x86 or at least is not compilable
by g++.
Ashwin


On 5/25/06, Ashwin Chandra <ashwin.chandra1 at gmail.com> wrote:
>
>  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/84b0a698/attachment.html>


More information about the llvm-dev mailing list