20071013 snapshot fails to build on s390x
William Cohen
wcohen@redhat.com
Mon Oct 15 01:49:00 GMT 2007
David Wilder wrote:
> 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..
This patch is also needed for x86_64. -Will
More information about the Systemtap
mailing list