Hi
I compile the source in arm32 mode, there is some error occurred, some
function lack of param.
BR
Owen
-----邮件原件-----
发件人: Ivo Raisr [mailto:iv...@ivosh.net]
发送时间: 2018年1月24日 12:36
收件人: Wuweijia <wuwei...@huawei.com>
抄送: valgrind-users@lists.sourceforge.net; Fanbohao <fanbo...@huawei.com>
主题: Re: 答复: 答复: [Valgrind-users] [Help] Valgrind sometime run the program very
slowly sometimes , it last at least one hour. can you show me why or some way
to analyze it?
2018-01-24 1:36 GMT+01:00 Wuweijia <wuwei...@huawei.com>:
> Hi:
> But I can not access the git of valgrind. Is there any way to
> get the newest source code; Maybe the network configuration do not
> allow it;
It is hard to help you without any specific error shown.
If this is indeed a network configuration, there is a git mirror of Valgrind
accessible over http or https.
Have a look at http://repo.or.cz/w/valgrind.git
I.
m_stacktrace.c: In function 'in_same_fn':
../include/pub_tool_basics.h:70:30: error: incompatible type for argument 1 of
'vgPlain_get_fnname_raw'
#define VG_(str) VGAPPEND(vgPlain_, str)
^
../include/pub_tool_basics.h:68:29: note: in definition of macro 'VGAPPEND'
#define VGAPPEND(str1,str2) str1##str2
^
m_stacktrace.c:918:8: note: in expansion of macro 'VG_'
if (VG_(get_fnname_raw) (a1, &buf_a1)) {
^
../include/pub_tool_basics.h:70:30: note: expected 'DiEpoch' but argument is of
type 'Addr'
#define VG_(str) VGAPPEND(vgPlain_, str)
^
../include/pub_tool_basics.h:68:29: note: in definition of macro 'VGAPPEND'
#define VGAPPEND(str1,str2) str1##str2
^
pub_core_debuginfo.h:89:6: note: in expansion of macro 'VG_'
Bool VG_(get_fnname_raw) ( DiEpoch ep, Addr a, const HChar** buf );
^
m_stacktrace.c:918:33: warning: passing argument 2 of 'vgPlain_get_fnname_raw'
makes integer from pointer without a cast
if (VG_(get_fnname_raw) (a1, &buf_a1)) {
^
In file included from pub_core_basics.h:40:0,
from m_stacktrace.c:31:
../include/pub_tool_basics.h:70:30: note: expected 'Addr' but argument is of
type 'const HChar **'
#define VG_(str) VGAPPEND(vgPlain_, str)
^
../include/pub_tool_basics.h:68:29: note: in definition of macro 'VGAPPEND'
#define VGAPPEND(str1,str2) str1##str2
^
pub_core_debuginfo.h:89:6: note: in expansion of macro 'VG_'
Bool VG_(get_fnname_raw) ( DiEpoch ep, Addr a, const HChar** buf );
^
../include/pub_tool_basics.h:70:30: error: too few arguments to function
'vgPlain_get_fnname_raw'
#define VG_(str) VGAPPEND(vgPlain_, str)
^
../include/pub_tool_basics.h:68:29: note: in definition of macro 'VGAPPEND'
#define VGAPPEND(str1,str2) str1##str2
^
m_stacktrace.c:918:8: note: in expansion of macro 'VG_'
if (VG_(get_fnname_raw) (a1, &buf_a1)) {
^
../include/pub_tool_basics.h:70:30: note: declared here
#define VG_(str) VGAPPEND(vgPlain_, str)
^
../include/pub_tool_basics.h:68:29: note: in definition of macro 'VGAPPEND'
#define VGAPPEND(str1,str2) str1##str2
^
pub_core_debuginfo.h:89:6: note: in expansion of macro 'VG_'
Bool VG_(get_fnname_raw) ( DiEpoch ep, Addr a, const HChar** buf );
^
../include/pub_tool_basics.h:70:30: error: incompatible type for argument 1 of
'vgPlain_get_fnname_raw'
#define VG_(str) VGAPPEND(vgPlain_, str)
^
../include/pub_tool_basics.h:68:29: note: in definition of macro 'VGAPPEND'
#define VGAPPEND(str1,str2) str1##str2
^
m_stacktrace.c:921:11: note: in expansion of macro 'VG_'
if (VG_(get_fnname_raw) (a2, &buf_a2))
^
../include/pub_tool_basics.h:70:30: note: expected 'DiEpoch' but argument is of
type 'Addr'
#define VG_(str) VGAPPEND(vgPlain_, str)
^
../include/pub_tool_basics.h:68:29: note: in definition of macro 'VGAPPEND'
#define VGAPPEND(str1,str2) str1##str2
^
pub_core_debuginfo.h:89:6: note: in expansion of macro 'VG_'
Bool VG_(get_fnname_raw) ( DiEpoch ep, Addr a, const HChar** buf );
^
m_stacktrace.c:921:36: warning: passing argument 2 of 'vgPlain_get_fnname_raw'
makes integer from pointer without a cast
if (VG_(get_fnname_raw) (a2, &buf_a2))
^
In file included from pub_core_basics.h:40:0,
from m_stacktrace.c:31:
../include/pub_tool_basics.h:70:30: note: expected 'Addr' but argument is of
type 'const HChar **'
#define VG_(str) VGAPPEND(vgPlain_, str)
^
../include/pub_tool_basics.h:68:29: note: in definition of macro 'VGAPPEND'
#define VGAPPEND(str1,str2) str1##str2
^
pub_core_debuginfo.h:89:6: note: in expansion of macro 'VG_'
Bool VG_(get_fnname_raw) ( DiEpoch ep, Addr a, const HChar** buf );
^
../include/pub_tool_basics.h:70:30: error: too few arguments to function
'vgPlain_get_fnname_raw'
#define VG_(str) VGAPPEND(vgPlain_, str)
^
../include/pub_tool_basics.h:68:29: note: in definition of macro 'VGAPPEND'
#define VGAPPEND(str1,str2) str1##str2
^
m_stacktrace.c:921:11: note: in expansion of macro 'VG_'
if (VG_(get_fnname_raw) (a2, &buf_a2))
^
../include/pub_tool_basics.h:70:30: note: declared here
#define VG_(str) VGAPPEND(vgPlain_, str)
^
../include/pub_tool_basics.h:68:29: note: in definition of macro 'VGAPPEND'
#define VGAPPEND(str1,str2) str1##str2
^
pub_core_debuginfo.h:89:6: note: in expansion of macro 'VG_'
Bool VG_(get_fnname_raw) ( DiEpoch ep, Addr a, const HChar** buf );
^
make[3]: *** [libcoregrind_arm_linux_a-m_stacktrace.o] Error 1
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users