]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/libcephfs: copy DT_NEEDED entries from input libraries 63719/head
authorPatrick Donnelly <pdonnell@ibm.com>
Wed, 16 Apr 2025 20:24:23 +0000 (16:24 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Wed, 4 Jun 2025 13:09:24 +0000 (09:09 -0400)
commitca5084745ed131dbef77d9ba15ce599d5d5da5df
tree596fb579784749568541b3ea2b62dd5219b270a5
parent3638c551e8fa719aabec698a780063b7bc689c19
test/libcephfs: copy DT_NEEDED entries from input libraries

On Ubuntu 22.04, the linker is not stumbling thinking the libceph-common
library is missing on the command-line. This appears to be a bug and the only
workaround I've found is to copy the DT_NEEDED entries for the input shared
objects (which is traditional linker behavior). I don't have an explanation for
why this occurs only for a few test executables.

Fixes: https://tracker.ceph.com/issues/70498
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit c6ac71d398c16afa4aa888feaf7087bf61038bf0)
src/test/libcephfs/CMakeLists.txt