On 11 Jul 2008, at 12:22, Quentin Mathé wrote:
> Le 11 juil. 08 à 11:33, David Chisnall a écrit :
>
>> On 11 Jul 2008, at 09:50, Quentin Mathé wrote:
>>
>>> I haven't tried to figure what the problem really is though, so it
>>> may
>>> be just a tweak to be done in the GNUmakefile.
>>
>> The problem is that I completely suck at using svn and failed to
>> commit Literal.{m,h} which contains the AST node classes for string
>> and integer literal and ArrayExpr.{m,h} which contains the array
>> expression AST nodes. I have now fixed this, so it should compile as
>> of r3239.
>>
>> Sorry!
>
> Thanks for the fix :-)
>
> However it now fails with the following error:
> Compiling file CGObjCGNU.cpp ...
> CGObjCGNU.cpp: In member function ‘virtual
> llvm
> ::Value*<unnamed>::CGObjCGNU::GenerateMessageSend(llvm::IRBuilder&,
> const llvm::Type*, llvm::Value*, llvm::Value*, llvm::Value*,
> llvm::Value**, unsigned int)’:
> CGObjCGNU.cpp:382: error: ‘const class llvm::Type’ has no member named
> ‘isSingleValueType’
> CGObjCGNU.cpp:408: error: ‘const class llvm::Type’ has no member named
> ‘isSingleValueType’
> CGObjCGNU.cpp: In member function ‘virtual
> llvm::Function*<unnamed>::CGObjCGNU::MethodPreamble(const
> std::string&, const std::string&, const std::string&, const
> llvm::Type*, const llvm::Type*, const llvm::Type**, unsigned int,
> bool, bool)’:
> CGObjCGNU.cpp:902: error: ‘const class llvm::Type’ has no member named
> ‘isSingleValueType’
> make[1]: *** [obj/CGObjCGNU.o] Error 1
> make: *** [st.all.tool.variables] Error 2
>
> I have downloaded and installed LLVM 2.3 source code release by
> typing ./configure && make && sudo make install. Any ideas?
In that case, I was wrong about it working with LLVM 2.3. Just after
2.3, a lot of LLVM was modified to support return values being
aggregate types. This changed a few of the methods on the llvm::Type
class, including the ones that are used here. This means you will
need a recent LLVM trunk checkout, not a release.
On the plus side, it was only 4 months between LLVM 2.2 and 2.3 being
released, and it should work with 2.4 :-)
David
_______________________________________________
Etoile-dev mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-dev