This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/10512] STAP_PROBES don't work in c++ constructors/destructors


------- Additional Comments From mjw at redhat dot com  2009-08-12 15:00 -------
Created an attachment (id=4128)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4128&action=view)
class testcase

Testcase that shows the issue when compiled with:
$ g++ -I includes/sys -o test cxxclass.cxx 
/tmp/ccqveEm3.o:(.data._ZZN10ProbeClassC1ERiPKcE8labelval[ProbeClass::ProbeClass(int&,
char const*)::labelval]+0x0): undefined reference to `.L21'
/tmp/ccqveEm3.o:(.data._ZZN10ProbeClassD1EvE8labelval[ProbeClass::~ProbeClass()::labelval]+0x0):
undefined reference to `.L22'
collect2: ld returned 1 exit status

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10512

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]