Displaying 4 results from an estimated 4 matches for "myastconsumer".
Did you mean:
astconsumer
2012 Mar 14
0
[LLVMdev] llvm-config --cxxflags does not give the result the configuration script wants?
...y, what do you mean by the "relevant command generated by
> your makefile"? What I can tell you now is:
>
> The Error Message:
> make[3]: Entering directory `/home/tang.kk/ppcg/ppcg/isl/interface'
> CXXLD extract_interface
> extract_interface.o:(.data.rel.ro._ZTI13MyASTConsumer[typeinfo for
> MyASTConsumer]+0x10): undefined reference to `typeinfo for
> clang::ASTConsumer'
> collect2: ld returned 1 exit status
[snip]
So you define a class MyAstConsumer that derives from clang::ASTConsumer
and then the link fails because the typinfo for MyAstConsumer can not...
2012 Mar 14
2
[LLVMdev] llvm-config --cxxflags does not give the result the configuration script wants?
...ative message
now. But firstly, what do you mean by the "relevant command generated by
your makefile"? What I can tell you now is:
The Error Message:
make[3]: Entering directory `/home/tang.kk/ppcg/ppcg/isl/interface'
CXXLD extract_interface
extract_interface.o:(.data.rel.ro._ZTI13MyASTConsumer[typeinfo for
MyASTConsumer]+0x10): undefined reference to `typeinfo for
clang::ASTConsumer'
collect2: ld returned 1 exit status
make[3]: *** [extract_interface] Error 1
make[3]: Leaving directory `/home/tang.kk/ppcg/ppcg/isl/interface'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving d...
2012 Mar 14
0
[LLVMdev] llvm-config --cxxflags does not give the result the configuration script wants?
Jun-qi Deng <dengjunqi06323011 at gmail.com> writes:
>> Is it? In my experience, it isn't. Please show the relevant command
>> generated by your makefile and the associated error message(s).
>>
>
>> RTTI is an on/off option that changes per LLVM library, so setting
>> -fno-rtti for using LLVM makes no sense. VMCore and Support have -frtti
>> while
2012 Mar 14
2
[LLVMdev] llvm-config --cxxflags does not give the result the configuration script wants?
> > Recently I think I found a bug in llvm's CMakeLists.(I use llvm 3.1svn
> and
> > Clang 3.1) I follow the normal way to try to compile an application that
> > utilize both clang and llvm: I ./autogen.sh it, ./configure it and make
> it.
> > But the make fails. At last I found out the failure is because that the
> > Makefile's CXXFLAGS does not contain