]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test/libcephfs: copy DT_NEEDED entries from input libraries
authorPatrick Donnelly <pdonnell@ibm.com>
Wed, 16 Apr 2025 20:24:23 +0000 (16:24 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Wed, 14 May 2025 00:48:00 +0000 (20:48 -0400)
commitc6ac71d398c16afa4aa888feaf7087bf61038bf0
treef8e436c79e5bb31e1677664fb0c4ce1578ddc175
parent600584f749ef262b858f599c82f16c7d58c8adcb
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>
src/test/libcephfs/CMakeLists.txt