From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30674 invoked by alias); 22 Jan 2013 20:05:38 -0000 Received: (qmail 30531 invoked by uid 48); 22 Jan 2013 20:05:08 -0000 From: "dsmith at redhat dot com" To: systemtap@sourceware.org Subject: [Bug dyninst/15052] New: externalvar.exp fails with dyninst Date: Tue, 22 Jan 2013 20:05:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: dyninst X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dsmith at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2013-q1/txt/msg00045.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15052 Bug #: 15052 Summary: externalvar.exp fails with dyninst Product: systemtap Version: unspecified Status: NEW Severity: normal Priority: P2 Component: dyninst AssignedTo: systemtap@sourceware.org ReportedBy: dsmith@redhat.com Classification: Unclassified Commit 421edbd added dyninst support to the testsuite/systemtap.base/externalvar.exp testcase. Every dyninst test fails, with compilation errors: ==== cmd: stap --runtime=dyninst -d /discer.farm/es/scratch/dsmith/systemtap/rawhide-64/testsuite/libexternalvar.so -d /discer.farm/es/scratch/dsmith/systemtap/rawhide-64/testsuite/externalvar -c /discer.farm/es/scratch/dsmith/systemtap/rawhide-64/testsuite/externalvar ../../src/testsuite/systemtap.base/externalvar.stp cmd output: /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c: In function 'function__dwarf_tvar_get_lib_s_20': /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c:1763:163: error: 'current' undeclared (first use in this function) /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c:1763:163: note: each undeclared identifier is reported only once for each function it appears in /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c: In function 'function__dwarf_tvar_get_lib_s_21': /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c:1830:163: error: 'current' undeclared (first use in this function) /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c: In function 'function__dwarf_tvar_get_lib_s_22': /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c:1897:163: error: 'current' undeclared (first use in this function) /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c: In function 'function__dwarf_tvar_get_lib_s_26': /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c:1964:163: error: 'current' undeclared (first use in this function) /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c: In function 'function__dwarf_tvar_get_lib_s_27': /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c:2023:163: error: 'current' undeclared (first use in this function) /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c: In function 'function__dwarf_tvar_get_lib_s_28': /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c:2093:163: error: 'current' undeclared (first use in this function) /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c: In function 'function__dwarf_tvar_get_libvar_18': /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c:2163:163: error: 'current' undeclared (first use in this function) /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c: In function 'function__dwarf_tvar_get_stat_lib_s_23': /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c:2717:163: error: 'current' undeclared (first use in this function) /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c: In function 'function__dwarf_tvar_get_stat_lib_s_24': /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c:2784:163: error: 'current' undeclared (first use in this function) /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c: In function 'function__dwarf_tvar_get_stat_lib_s_25': /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c:2851:163: error: 'current' undeclared (first use in this function) /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c: In function 'function__dwarf_tvar_get_stat_lib_s_29': /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c:2918:163: error: 'current' undeclared (first use in this function) /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c: In function 'function__dwarf_tvar_get_stat_lib_s_31': /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c:2977:163: error: 'current' undeclared (first use in this function) /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c: In function 'function__dwarf_tvar_get_stat_libvar_19': /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c:3047:163: error: 'current' undeclared (first use in this function) /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c: In function 'systemtap_module_init': /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c:3926:3: error: implicit declaration of function '_stp_vma_init' [-Werror=implicit-function-declaration] /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c:3930:5: error: implicit declaration of function 'stap_start_task_finder' [-Werror=implicit-function-declaration] /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c:3932:7: error: implicit declaration of function 'stap_stop_task_finder' [-Werror=implicit-function-declaration] /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c:3946:5: error: implicit declaration of function 'stap_task_finder_post_init' [-Werror=implicit-function-declaration] /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c: In function 'systemtap_module_exit': /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c:3981:3: error: implicit declaration of function '_stp_vma_done' [-Werror=implicit-function-declaration] In file included from /usr/local/share/systemtap/runtime/dyninst/sym.c:2:0, from /usr/local/share/systemtap/runtime/dyninst/runtime.h:127, from /usr/local/share/systemtap/runtime/runtime.h:28, from /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c:21: /tmp/stapBAGO8A/stap_35d9039386514fc1089dd9c31c183d48_27486_src.c: At top level: /usr/local/share/systemtap/runtime/dyninst/../sym.h:111:22: error: '_stp_umodule_relocate' used but never defined [-Werror] cc1: all warnings being treated as errors WARNING: gcc exited with status: 1 Pass 4: compilation failed. [man error::pass4] FAIL: externalvar-m64-dyninst ==== It looks like there is some kernel code sneaking in there - references to "current", the task_finder, etc. It also looks _stp_umodule_relocate() may need a dyninst version. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.