20071013 snapshot fails to build on s390x

David Wilder dwilder@us.ibm.com
Sun Oct 14 17:43:00 GMT 2007


David Wilder wrote:
> It build ok on i386 but not on s390x.
> 
> Here is the error.
> 
> mv -f .deps/stap-translate.Tpo .deps/stap-translate.Po
> g++ -DHAVE_CONFIG_H -I.  -DBINDIR='"/usr/local/bin"' 
> -DPKGDATADIR='"/usr/local/share/systemtap"' 
> -DPKGLIBDIR='"/usr/local/libexec/systemtap"' -Iinclude-elfutils  -Wall 
> -Wextra -Werror -g -O2 -MT stap-tapsets.o -MD -MP -MF 
> .deps/stap-tapsets.Tpo -c -o stap-tapsets.o `test -f 'tapsets.cxx' || 
> echo './'`tapsets.cxx
> tapsets.cxx: In member function ‘virtual void 
> mark_query::handle_query_module()Â’:
> tapsets.cxx:5221: error: cast from ‘char*’ to ‘unsigned int’ loses 
> precision
> tapsets.cxx:5223: error: cast from ‘char*’ to ‘unsigned int’ loses 
> precision
> tapsets.cxx:5239: error: cast from ‘char*’ to ‘uint’ loses precision
> tapsets.cxx:5240: error: cast from ‘char*’ to ‘uint’ loses precision
> tapsets.cxx:5254: error: cast from ‘char*’ to ‘uint’ loses precision
> tapsets.cxx:5258: error: cast from ‘char*’ to ‘uint’ loses precision
> tapsets.cxx:5266: error: cast from ‘char*’ to ‘uint’ loses precision
> tapsets.cxx:5268: error: cast from ‘char*’ to ‘uint’ loses precision
> make[2]: *** [stap-tapsets.o] Error 1


Here is the patch.
David S.  Please review my patch and make sure it won't break your last 
update.

http://sources.redhat.com/ml/systemtap-cvs/2007-q4/msg00077.html

Dave..

-------------- next part --------------
A non-text attachment was scrubbed...
Name: tapsets.patch
Type: text/x-patch
Size: 2143 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20071014/259cb6ca/attachment.bin>


More information about the Systemtap mailing list