[prev in list] [next in list] [prev in thread] [next in thread]
List: llvm-dev
Subject: Re: [LLVMdev] Error with llc after using llvm-g++ WIN32
From: Evan Cheng <evan.cheng () apple ! com>
Date: 2006-05-26 5:59:03
Message-ID: 6B95264C-7C8A-4504-9447-0DE35E58FB3B () apple ! com
[Download RAW message or body]
Hi Ashwin,
Thanks for testing it out. Free feel to contribute patches to fix the
problems! :-) Given that I work for Apple, you can't expect me to
know anything about WIN32, right? :^)
Evan
On May 25, 2006, at 5:19 PM, Ashwin Chandra wrote:
> 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@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@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@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@math.spbu.ru
>> >
>> > Wednesday, May 24, 2006 4:00:59 PM
>> >
>> > Faculty of Mathematics & Mechanics, Saint-Petersburg State
>> University
>> >
>> >
>> > _______________________________________________
>> > LLVM Developers mailing list
>> > LLVMdev@cs.uiuc.edu http://llvm.cs.uiuc.edu
>> > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev@cs.uiuc.edu http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev@cs.uiuc.edu http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev@cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev@cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
[Attachment #3 (unknown)]
<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: \
after-white-space; ">Hi Ashwin,<DIV><BR \
class="khtml-block-placeholder"></DIV><DIV>Thanks for testing it out. Free feel to \
contribute patches to fix the problems! :-) Given that I work for Apple, you can't \
expect me to know anything about WIN32, right? :^)</DIV><DIV><BR \
class="khtml-block-placeholder"></DIV><DIV>Evan</DIV><DIV><BR><DIV><DIV>On May 25, \
2006, at 5:19 PM, Ashwin Chandra wrote:</DIV><BR \
class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV>Hi Evan,</DIV> \
<DIV>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++.</DIV> <DIV>Ashwin<BR><BR> </DIV> <DIV><SPAN class="gmail_quote">On 5/25/06, <B \
class="gmail_sendername">Ashwin Chandra</B> <<A \
href="mailto:ashwin.chandra1@gmail.com">ashwin.chandra1@gmail.com</A>> \
wrote:</SPAN> <BLOCKQUOTE class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px \
0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"> <DIV> <DIV>Hi Evan,</DIV> <DIV>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...</DIV></DIV> <DIV><SPAN class="sg"> <DIV> </DIV> <DIV>Ashwin<BR><BR> \
</DIV></SPAN></DIV> <DIV><SPAN class="e" id="q_10b6e08a85198b1b_2"> <DIV><SPAN \
class="gmail_quote">On 5/25/06, <B class="gmail_sendername">Evan Cheng</B> <<A \
onclick="return top.js.OpenExtLink(window,event,this)" \
href="mailto:evan.cheng@apple.com" target="_blank">evan.cheng@apple.com</A> > \
wrote:</SPAN> <BLOCKQUOTE class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px \
0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"> <DIV> <DIV style="WORD-WRAP: \
break-word">The patch is now in. Sorry about the delay! <DIV><BR> </DIV> \
<DIV>Evan</DIV> <DIV><SPAN><BR> <DIV> <DIV>On May 25, 2006, at 10:20 AM, Ashwin \
Chandra wrote:</DIV><BR> <BLOCKQUOTE type="cite"> <DIV>Hi Anton,</DIV> <DIV>Is the \
patch going to be uploaded to the CVS source?</DIV> <DIV> </DIV> <DIV>Ashwin<BR><BR> \
</DIV> <DIV><SPAN class="gmail_quote">On 5/24/06, <B class="gmail_sendername">Evan \
Cheng</B> <<A onclick="return top.js.OpenExtLink(window,event,this)" \
href="mailto:evan.cheng@apple.com" target="_blank">evan.cheng@apple.com</A> > \
wrote:</SPAN> <BLOCKQUOTE class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px \
0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><BR>On May 24, 2006, at 5:03 AM, Anton \
Korobeynikov wrote:<BR><BR>> Hello, Ashwin.<BR>><BR>> You wrote Wednesday, \
May 24, 2006, 11:25:11 AM: <BR>><BR>> AC> \
"Pass::getClassPassInfo<PassClass>() "Pass class not<BR>> AC> \
registered!"" failed: file<BR>> AC> \
"/cygdrive/c/llvm/llvm/include/llvm/PassAnalysisSupport.h", <BR>> line 76<BR>> \
AC> Aborted<BR>> Same for me.<BR>><BR>> AC> Wihtout the -march \
specified (using native x86 assembly) it does<BR>> AC> convert it into \
assembly, but is uncompilable (with some<BR> > unecognized "," (comma)<BR>> \
AC> characters in the .s file).<BR>> Yes. X86AsmWriter should be fixed. I've \
submitted patches for that in<BR>> this maillist some days ago.<BR><BR>Could you \
resent? I cannot find your patch submission. \
<BR><BR>Thanks,<BR><BR>Evan<BR>><BR>> AC> Does anyone have an idea why these \
two errors happen and has<BR>> anyone<BR>> AC> successfully used llvm-g++ on \
a WIN32 platform to compile files<BR>> into bytecode <BR>> AC> and used llc \
to convert back into C/assembly?<BR>> C++ is definitely broken on win32 platform \
due to many platform<BR>> specific issues (e.g. static ctors, etc.). Thank you for \
triggering<BR>> this bug - I'm working on this. <BR>><BR>> --<BR>> With \
best regards,<BR>> Anton mailto:<A onclick="return \
top.js.OpenExtLink(window,event,this)" href="mailto:asl@math.spbu.ru" \
target="_blank">asl@math.spbu.ru</A><BR> ><BR>> Wednesday, May 24, 2006 4:00:59 \
PM<BR>><BR>> Faculty of Mathematics & Mechanics, Saint-Petersburg State \
University <BR>><BR>><BR>> \
_______________________________________________<BR>> LLVM Developers mailing list \
<BR>> <A onclick="return top.js.OpenExtLink(window,event,this)" \
href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</A> <A \
onclick="return top.js.OpenExtLink(window,event,this)" \
href="http://llvm.cs.uiuc.edu/" target="_blank"> http://llvm.cs.uiuc.edu</A><BR>> \
<A onclick="return top.js.OpenExtLink(window,event,this)" \
href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" \
target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</A><BR> \
<BR>_______________________________________________<BR>LLVM Developers mailing list \
<BR><A onclick="return top.js.OpenExtLink(window,event,this)" \
href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</A> <A \
onclick="return top.js.OpenExtLink(window,event,this)" \
href="http://llvm.cs.uiuc.edu/" target="_blank">http://llvm.cs.uiuc.edu</A><BR><A \
onclick="return top.js.OpenExtLink(window,event,this)" \
href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank"> \
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev </A><BR></BLOCKQUOTE></DIV><BR> \
<DIV style="MARGIN: 0px">_______________________________________________</DIV> <DIV \
style="MARGIN: 0px">LLVM Developers mailing list</DIV> <DIV style="MARGIN: 0px"><A \
onclick="return top.js.OpenExtLink(window,event,this)" \
href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</A> <SPAN> \
</SPAN><A onclick="return top.js.OpenExtLink(window,event,this)" \
href="http://llvm.cs.uiuc.edu/" target="_blank"> http://llvm.cs.uiuc.edu</A></DIV> \
<DIV style="MARGIN: 0px"><A onclick="return top.js.OpenExtLink(window,event,this)" \
href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" \
target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</A></DIV></BLOCKQUOTE> \
</DIV><BR></SPAN></DIV> \
<DIV></DIV></DIV></DIV><BR>_______________________________________________<BR>LLVM \
Developers mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)" \
href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu </A> <A \
onclick="return top.js.OpenExtLink(window,event,this)" \
href="http://llvm.cs.uiuc.edu/" target="_blank">http://llvm.cs.uiuc.edu</A><BR><A \
onclick="return top.js.OpenExtLink(window,event,this)" \
href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank"> \
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</A><BR><BR><BR></BLOCKQUOTE></DIV><BR></SPAN></DIV></BLOCKQUOTE></DIV><BR><DIV \
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; \
">_______________________________________________</DIV><DIV style="margin-top: 0px; \
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">LLVM Developers mailing \
list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; \
margin-left: 0px; "><A href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</A> \
<SPAN class="Apple-converted-space"> </SPAN><A \
href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</A></DIV><DIV \
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A \
href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</A></DIV> \
</BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic