bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gprofng/30895] New: gprofng is not relocatable


From: bugmenot at mailinator dot com
Subject: [Bug gprofng/30895] New: gprofng is not relocatable
Date: Mon, 25 Sep 2023 14:37:35 +0000

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

            Bug ID: 30895
           Summary: gprofng is not relocatable
           Product: binutils
           Version: 2.41
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: gprofng
          Assignee: vladimir.mezentsev at oracle dot com
          Reporter: bugmenot at mailinator dot com
  Target Milestone: ---

To reproduce on a clean system:

./configure
make
make install DESTDIR=/tmp
cd /tmp/usr/local/bin
./gprofng collect app ls
Creating experiment directory test.1.er (Process ID: 4132928) ...
configuration error: can not find libgp-collector.so. run aborted
LD_LIBRARY_PATH=../lib ./gprofng collect app ls
Creating experiment directory test.1.er (Process ID: 4136138) ...
configuration error: can not find libgp-collector.so. run aborted

Ideally (one or all):
* there is an environment variable to override the search path
* the shared library is found via the link loader path
* the shared library is searched not fixed on compile-time constant LIBDIR but
relative to the installed binary (which would make gprofng relocatable)

I didn't found an option to run that outside of the configure-time installation
path - is there one?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]