Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove tests against hidden libwebp symbols in link_webp_test1.cc (#4525
) `link_webp_test1.cc` currently tests linking against a few internal-only symbols of the webp library. This sort of works with a static webp, but fails for a shared version. Here's what objdump shows for these symbols in the latest version of libwebp. Static: ``` objdump -t ~/.conan2/p/libwe0ab986b34fa07/p/lib/*.a | grep -P 'WebPGetDemuxVersion|WebPGetMuxVersion|WebPAllocateDecBuffer|WebPFreeDecBuffer|VP8LNew|VP8LClear' | grep -v '*UND*' | sort -u 0000000000000000 g F .text 0000000000000006 WebPGetMuxVersion 00000000000000f0 g F .text 0000000000000428 .hidden WebPAllocateDecBuffer 0000000000000570 g F .text 000000000000003b WebPFreeDecBuffer 0000000000000a40 g F .text 0000000000000031 .hidden VP8LClearBackwardRefs 0000000000000bb0 g F .text 0000000000000006 WebPGetDemuxVersion 0000000000002860 g F .text 000000000000002f .hidden VP8LNew 0000000000002890 g F .text 0000000000000101 .hidden VP8LClear ``` Shared: ``` objdump -T ~/.conan2/p/libwed5d42768c6b93/p/lib/*.so | grep -P 'WebPGetDemuxVersion|WebPGetMuxVersion|WebPAllocateDecBuffer|WebPFreeDecBuffer|VP8LNew|VP8LClear' | LC_COLLATE=C sort -u 0000000000002780 g DF .text 0000000000000006 Base WebPGetDemuxVersion 0000000000002da0 g DF .text 000000000000003b Base WebPFreeDecBuffer 0000000000003f10 g DF .text 000000000000003b Base WebPFreeDecBuffer 00000000000064a0 g DF .text 0000000000000006 Base WebPGetMuxVersion ``` For context, this cropped up in a PR for adding a TileDB recipe to the Conan Center Index: conan-io/conan-center-index#19381 --- TYPE: BUG DESC: Fix broken linking tests against a shared WebP library --------- Co-authored-by: Theodore Tsirpanis <[email protected]>
- Loading branch information