bug-binutils
[Top][All Lists]
Advanced

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

[Bug gprofng/29663] New: gprofng fails to find libgp-collector.so


From: doko at debian dot org
Subject: [Bug gprofng/29663] New: gprofng fails to find libgp-collector.so
Date: Mon, 10 Oct 2022 08:48:54 +0000

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

            Bug ID: 29663
           Summary: gprofng fails to find libgp-collector.so
           Product: binutils
           Version: 2.39
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gprofng
          Assignee: vladimir.mezentsev at oracle dot com
          Reporter: doko at debian dot org
  Target Milestone: ---

seen on a multiarch Linux system (Debian / Ubuntu):

https://bugs.debian.org/1016725

It looks like the *only* way to find the plugin directory is the configuration
file, which currently lists:

# Set path where the gprofng libraries are installed
preload_libdirs ../lib:../lib32:../lib64

Changing that to
preload_libdirs ../lib/x86_64-linux-gnu:../lib:../lib32:../lib64

lets gprofng work (although the configuration file is then architecture
dependent, which creates another problem for an Multi-Arch: all package.

lib32 and lib64 are deprecated on multiarch systems, making this ../lib32
../lib64  biarch dirs obsolete on Debian and Ubuntu.


gprofng should have a default path, derived from the --libdir configure option
which is also used for a lookup. Relying on a config file for default operation
should not be necessary.

-- 
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]