Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319995 - [Solaris] Build change to support -agentpath in Solaris port
Summary: [Solaris] Build change to support -agentpath in Solaris port
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: PC Solaris
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Mike Reid CLA
QA Contact: Kathy Chan CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-15 10:43 EDT by Mike Reid CLA
Modified: 2016-05-05 11:01 EDT (History)
1 user (show)

See Also:


Attachments
patch (4.71 KB, patch)
2010-07-15 11:05 EDT, Mike Reid CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Reid CLA 2010-07-15 10:43:21 EDT
This is a build change for the Solaris port required to support the work in bug 319616. The solution there is to take advantage of Solaris' support for an "rpath origin" linker option, which directs the runtime linker to use the location of the library being loaded as a path for loading dependent libraries. On Solaris however, the behaviour of this flag is not transitive, i.e.:

 - libA.so depends on libB.so
 - libB.so depends on libC.so
 - libA is built with "rpath origin" and so when loaded is able to find libB which is stored in the same directory
 - However, since libB was not built with "rpath origin", it is unable to resolve libC without help from the LD_LIBRARY_PATH env var

Since the JVMTI profiler depends on some AC libraries in order to facilitate the communication with the AC, some libraries in the Agent Controller need to be built with this option to complete the work in bug 319616.
Comment 1 Mike Reid CLA 2010-07-15 11:05:00 EDT
Created attachment 174406 [details]
patch

Attaching patch.
Comment 2 Mike Reid CLA 2010-07-15 11:16:38 EDT
Changes committed to HEAD.
Comment 3 Kathy Chan CLA 2011-02-11 13:46:36 EST
This defect had been resolved as FIXED for more than 1 month.  Please verify with the latest TPTP 4.7.2 driver.  If this defect is still left unverified by February 25, we'll close it on the originator's behalf.

TPTP 4.7.2 driver can be downloaded from:

http://www.eclipse.org/tptp/home/downloads/?ver=4.7.2
Comment 4 Mike Reid CLA 2011-04-04 11:03:42 EDT
Closing.