This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug uprobes/21241] build systemtap module fail for uprobe for target aarch64-android
- From: "ray.zheng at oceanwing dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Tue, 14 Mar 2017 04:47:10 +0000
- Subject: [Bug uprobes/21241] build systemtap module fail for uprobe for target aarch64-android
- Auto-submitted: auto-generated
- References: <bug-21241-6586@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=21241
--- Comment #2 from ray <ray.zheng at oceanwing dot com> ---
Hi,expert
I use systemtap module in android target,so I need to compile it to module.
I use gdb to trace, found that it enter the dwarf_builder::build,
and after it return to derive_probes, found the condition in line 1041&1042 is
right,so it throw the no match error.
1039 unsigned num_atend = dps.size();
1040
1041 if (! (loc->optional||parent_optional) && // something required,
but
1042 num_atbegin == num_atend) // nothing new derived!
1043 throw SEMANTIC_ERROR (_("no match"));
but it do not know what happen in the dwarf_builder::build.
what can I do next to check the reason of this problem?
back trace show below:
#0 dwarf_builder::build (this=0x30628e0, sess=..., base=0x2fa1060,
location=0xf64ba0, parameters=std::map with 2 elements = {...},
finished_results=std::vector of length 0, capacity 0) at tapsets.cxx:802
4
#1 0x000000000047fc74 in match_node::find_and_build (this=0x3067a50, s=...,
p=p@entry=0x2fa1060, loc=loc@entry=0xf64ba0, pos=pos@entry=2,
results=std::vector of length 0, capacity 0, builders=std::set wi
th 0 elements) at elaborate.cxx:474
#2 0x00000000004807c5 in match_node::find_and_build (this=0x2f798d0, s=...,
p=p@entry=0x2fa1060, loc=loc@entry=0xf64ba0, pos=pos@entry=1,
results=std::vector of length 0, capacity 0, builders=std::set wi
th 0 elements) at elaborate.cxx:648
#3 0x00000000004807c5 in match_node::find_and_build (this=0x8a3240, s=...,
p=p@entry=0x2fa1060, loc=loc@entry=0xf64ba0, pos=pos@entry=0,
results=std::vector of length 0, capacity 0, builders=std::set wit
h 0 elements) at elaborate.cxx:648
#4 0x000000000048170d in derive_probes (s=..., p=0x2fa1060, dps=std::vector of
length 0, capacity 0, optional=optional@entry=false,
rethrow_errors=rethrow_errors@entry=false) at elaborate.cxx:1022
#5 0x00000000004836a7 in semantic_pass_symbols (s=...) at elaborate.cxx:1883
#6 0x00000000004959ba in semantic_pass (s=...) at elaborate.cxx:2420
#7 0x0000000000412cd5 in passes_0_4 (s=...) at main.cxx:898
#8 0x000000000040b4e5 in main (argc=<optimized out>, argv=<optimized out>) at
main.cxx:1333
--
You are receiving this mail because:
You are the assignee for the bug.