Divad1111 / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
0 stars 0 forks source link

Failed to compile #468

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After update the project via svn, the build process fail. The error reported is:

epbase=`echo src/processor/cfi_frame_info.o | sed 
's|[^/]*$|.deps/&|;s|\.o$||'`;\
    g++ -DHAVE_CONFIG_H -I. -I./src  -I./src   -g -O2 -MT src/processor/cfi_frame_info.o -MD -MP -MF $depbase.Tpo -c -o src/processor/cfi_frame_info.o src/processor/cfi_frame_info.cc &&\
    mv -f $depbase.Tpo $depbase.Po
./src/processor/postfix_evaluator-inl.h: In member function ‘bool 
google_breakpad::PostfixEvaluator<ValueType>::EvaluateInternal(const 
std::string&, std::map<std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >, bool, std::less<std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > >, 
std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >, bool> > >*) [with ValueType = unsigned int]’:
./src/processor/postfix_evaluator-inl.h:234:   instantiated from ‘bool 
google_breakpad::PostfixEvaluator<ValueType>::EvaluateForValue(const 
std::string&, ValueType*) [with ValueType = unsigned int]’
src/processor/cfi_frame_info.cc:63:   instantiated from ‘bool 
google_breakpad::CFIFrameInfo::FindCallerRegs(const 
google_breakpad::CFIFrameInfo::RegisterValueMap<ValueType>&, const 
google_breakpad::MemoryRegion&, 
google_breakpad::CFIFrameInfo::RegisterValueMap<ValueType>*) const [with 
ValueType = unsigned int]’
src/processor/cfi_frame_info.cc:94:   instantiated from here
./src/processor/postfix_evaluator-inl.h:133: error: invalid cast from type 
‘int’ to type ‘unsigned int’
./src/processor/postfix_evaluator-inl.h: In member function ‘bool 
google_breakpad::PostfixEvaluator<ValueType>::EvaluateInternal(const 
std::string&, std::map<std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >, bool, std::less<std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > >, 
std::allocator<std::pair<const std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >, bool> > >*) [with ValueType = long unsigned int]’:
./src/processor/postfix_evaluator-inl.h:234:   instantiated from ‘bool 
google_breakpad::PostfixEvaluator<ValueType>::EvaluateForValue(const 
std::string&, ValueType*) [with ValueType = long unsigned int]’
src/processor/cfi_frame_info.cc:63:   instantiated from ‘bool 
google_breakpad::CFIFrameInfo::FindCallerRegs(const 
google_breakpad::CFIFrameInfo::RegisterValueMap<ValueType>&, const 
google_breakpad::MemoryRegion&, 
google_breakpad::CFIFrameInfo::RegisterValueMap<ValueType>*) const [with 
ValueType = long unsigned int]’
src/processor/cfi_frame_info.cc:98:   instantiated from here
./src/processor/postfix_evaluator-inl.h:133: error: invalid cast from type 
‘int’ to type ‘long unsigned int’
make: *** [src/processor/cfi_frame_info.o] Error 1

I see that the corrupted file could be:

/trunk/src/processor/postfix_evaluator-inl.h   r923

If I get the previously revision the build work good.

What steps will reproduce the problem?
1. svn checkout http://google-breakpad.googlecode.com/svn/trunk/ 
google-breakpad-read-only
2. ./configure
3. make

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
Linux noel-generic #61-Ubuntu SMP Tue Oct 11 17:52:57 UTC 2011 x86_64 GNU/Linux

Please provide any additional information below.

Original issue reported on code.google.com by raffa...@techsquare.a-tono.net on 22 Feb 2012 at 5:28

GoogleCodeExporter commented 9 years ago
Fixed in r924 (http://code.google.com/p/google-breakpad/source/detail?r=924)

Original comment by benc...@chromium.org on 29 Mar 2012 at 9:58