[Bug server/22066] New: stap fails to link correctly when not using nss or http

sgw at linux dot intel.com sourceware-bugzilla@sourceware.org
Sat Sep 2 02:00:00 GMT 2017


https://sourceware.org/bugzilla/show_bug.cgi?id=22066

            Bug ID: 22066
           Summary: stap fails to link correctly when not using nss or
                    http
           Product: systemtap
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: server
          Assignee: systemtap at sourceware dot org
          Reporter: sgw at linux dot intel.com
  Target Milestone: ---

Created attachment 10387
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10387&action=edit
Potential Patch

During the link phase, I got the following error:

| stap-main.o: In function `passes_0_4(systemtap_session&)':
| main.cxx:(.text+0x4493): undefined reference to
`compile_server_client::passes_0_4()'
| collect2: error: ld returned 1 exit status

I saw that the other instance of the passes_0_4() call was wrapped with an
ifdef of NEED_BASE_CLIENT_CODE, so I cut and paste that to this code and it
seems to resolve the link failure.

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


More information about the Systemtap mailing list