Hi Quentin,

On Tue, July 28, 2009, Quentin Math� wrote:

> > I've just tried to build Etoile from the SVN again after it had
> > failed for the n'th time last time (some weeks ago). This time
> > it was llvm (again) - 2.5 did not suffice, I then pulled the
> > latest trunk and it failed again - at a different point.
> 
> What is the current build error?

With LLVM 2.5 the symbol LLVMContext was undefined. With the
current SVN trunk I get the error as listed at the bottom of
this mail.

>> [... LLVM ...]
> I agree that depending that on LLVM svn is a bit troublesome,  
> specially when you consider that most people are most interested in  
> trying Etoile 'trunk' than 'stable'.
> However it is also the price to pay because both LanguageKit and LLVM  
> are moving targets evolving quickly.

I could think of two variants: (a) fork prereleases from LLVM which 
could then be referenced as build dependencies or (b) at least
document which LLVM SVN revision was used when building before 
committing code including any changes to the LLVM stuff.

> I might be wrong but we don't depend on any other svn version of third  
> party libs. In the past, we also depended on GNUstep svn version, but  
> I don't think it is the case currently. If not, let me know so I can  
> fix it.

Yes, I was not very precise here, I was actually thinking of
the GNUStep libraries.

Cheers,

M'bert

The LLVM-related error:

Making all for framework LanguageKitCodeGen...
 Compiling file CGObjCGNU.cpp ...
 CGObjCGNU.cpp: In constructor ‘<unnamed>::CGObjCGNU::CGObjCGNU(llvm::Module&, 
llvm::LLVMContext&, const llvm::Type*, const llvm::Type*)’:
 CGObjCGNU.cpp:228: error: ‘class llvm::LLVMContext’ has no member named 
‘getConstantInt’
 CGObjCGNU.cpp: In member function ‘virtual 
llvm::Constant*<unnamed>::CGObjCGNU::GenerateConstantString(const char*, 
size_t)’:
 CGObjCGNU.cpp:403: error: ‘class llvm::LLVMContext’ has no member named 
‘getConstantInt’
 CGObjCGNU.cpp: In member function 
‘llvm::Constant*<unnamed>::CGObjCGNU::GenerateMethodList(const std::string&, 
const std::string&, const llvm::SmallVectorImpl<std::basic_string<char,
 std::char_traits<char>, std::allocator<char> > >&, const 
llvm::SmallVectorImpl<std::basic_string<char, std::char_traits<char>, 
std::allocator<char> > >&, bool)’:
 CGObjCGNU.cpp:717: error: ‘class llvm::LLVMContext’ has no member named 
‘getConstantInt’
 CGObjCGNU.cpp: In member function 
‘llvm::Constant*<unnamed>::CGObjCGNU::GenerateIvarList(const 
llvm::SmallVectorImpl<std::basic_string<char, std::char_traits<char>, 
std::allocator<char> > >&,
 const llvm::SmallVectorImpl<std::basic_string<char, std::char_traits<char>, 
std::allocator<char> > >&, const llvm::SmallVectorImpl<int>&)’:
 CGObjCGNU.cpp:744: error: ‘class llvm::LLVMContext’ has no member named 
‘getConstantInt’
 CGObjCGNU.cpp:754: error: ‘class llvm::LLVMContext’ has no member named 
‘getConstantInt’
 CGObjCGNU.cpp: In member function 
‘llvm::Constant*<unnamed>::CGObjCGNU::GenerateClassStructure(llvm::Constant*, 
llvm::Constant*, unsigned int, const char*, llvm::Constant*, llvm::Constant*,
 llvm::Constant*, llvm::Constant*, llvm::Constant*)’:
 CGObjCGNU.cpp:797: error: ‘class llvm::LLVMContext’ has no member named 
‘getConstantInt’
 CGObjCGNU.cpp:810: error: ‘class llvm::LLVMContext’ has no member named 
‘getConstantInt’
 CGObjCGNU.cpp: In member function 
‘llvm::Constant*<unnamed>::CGObjCGNU::GenerateProtocolMethodList(const 
llvm::SmallVectorImpl<llvm::Constant*>&, const 
llvm::SmallVectorImpl<llvm::Constant*>&)’:
 CGObjCGNU.cpp:848: error: ‘class llvm::LLVMContext’ has no member named 
‘getConstantInt’
 CGObjCGNU.cpp: In member function 
‘llvm::Constant*<unnamed>::CGObjCGNU::GenerateProtocolList(const 
llvm::SmallVectorImpl<std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >
 >&)’:
 CGObjCGNU.cpp:876: error: ‘class llvm::LLVMContext’ has no member named 
‘getConstantInt’
 CGObjCGNU.cpp: In member function ‘virtual 
void<unnamed>::CGObjCGNU::GenerateProtocol(const char*, const 
llvm::SmallVectorImpl<std::basic_string<char, std::char_traits<char>, 
std::allocator<char>
 > >&, const llvm::SmallVectorImpl<llvm::Constant*>&, const 
 > >llvm::SmallVectorImpl<llvm::Constant*>&, const 
 > >llvm::SmallVectorImpl<llvm::Constant*>&, const 
 > >llvm::SmallVectorImpl<llvm::Constant*>&)’:
 CGObjCGNU.cpp:914: error: ‘class llvm::LLVMContext’ has no member named 
‘getConstantInt’
 CGObjCGNU.cpp: In member function ‘virtual 
void<unnamed>::CGObjCGNU::GenerateClass(const char*, const char*, int, const 
llvm::SmallVectorImpl<std::basic_string<char, std::char_traits<char>,
 std::allocator<char> > >&, const llvm::SmallVectorImpl<std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > >&, const 
llvm::SmallVectorImpl<int>&, const
 llvm::SmallVectorImpl<std::basic_string<char, std::char_traits<char>, 
std::allocator<char> > >&, const llvm::SmallVectorImpl<std::basic_string<char, 
std::char_traits<char>, std::allocator<char> >
 >&, const llvm::SmallVectorImpl<std::basic_string<char, 
 >std::char_traits<char>, std::allocator<char> > >&, const 
 >llvm::SmallVectorImpl<std::basic_string<char, std::char_traits<char>,
 std::allocator<char> > >&, const llvm::SmallVectorImpl<std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > >&)’:
 CGObjCGNU.cpp:990: error: ‘class llvm::LLVMContext’ has no member named 
‘getConstantInt’
 CGObjCGNU.cpp:995: error: ‘class llvm::LLVMContext’ has no member named 
‘getConstantInt’
 CGObjCGNU.cpp: In member function ‘virtual 
llvm::Function*<unnamed>::CGObjCGNU::ModuleInitFunction()’:
 CGObjCGNU.cpp:1078: error: ‘class llvm::LLVMContext’ has no member named 
‘getConstantInt’
 CGObjCGNU.cpp:1091: error: ‘class llvm::LLVMContext’ has no member named 
‘getConstantInt’
 CGObjCGNU.cpp:1106: error: ‘class llvm::LLVMContext’ has no member named 
‘getConstantInt’
 CGObjCGNU.cpp:1116: error: ‘class llvm::LLVMContext’ has no member named 
‘getConstantInt’
 CGObjCGNU.cpp:1119: error: ‘class llvm::LLVMContext’ has no member named 
‘getConstantInt’
 CGObjCGNU.cpp:1137: error: ‘class llvm::LLVMContext’ has no member named 
‘getConstantInt’
 CGObjCGNU.cpp:1140: error: ‘class llvm::LLVMContext’ has no member named 
‘getConstantInt’
 make[4]: *** [obj/CGObjCGNU.cpp.o] Error 1
 make[3]: *** [LanguageKitCodeGen.all.framework.variables] Error 2
 make[2]: *** [internal-all] Error 2
 make[1]: *** [internal-all] Error 2
 make: *** [internal-all] Error 2

-- 
----------- / http://herbert.the-little-red-haired-girl.org / -------------
=+= 
My opinions may have changed, but not the fact that I am right. 

_______________________________________________
Etoile-dev mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-dev

Reply via email to