libtiff.map is missing some exported symbols
Summary
the libtiff.map is missing TIFFFax* symbols which causes them to be discarded from libtiff.so
Version
4.5.0
Steps to reproduce
build libtiff normally following the instructions
(How one can reproduce the issue - this is very important)
build libtiff normally, verify there are no TIFFax symbols:
$ nm -D src/tiff-4.5.0/build/libtiff/libtiff.so.6 | grep TIFFFax
$
(Operating system, architecture, compiler details)
alpine linux edge, x86_64, gcc-12.2
if you pass -Dld-version-script=OFF
(or the equivalent for configure), they appear:
$ nm -D src/tiff-4.5.0/build/libtiff/libtiff.so.6 | grep TIFFFax
0000000000043de0 R TIFFFaxBlackCodes
0000000000044320 R TIFFFaxBlackTable
000000000005c320 R TIFFFaxMainTable
0000000000044080 R TIFFFaxWhiteCodes
0000000000054320 R TIFFFaxWhiteTable
000000000001a301 T _TIFFFax3fillruns
$
these symbols are used by hylafax (they do some weird stuff where they declare these extern in headers and expect to find them..), but to my understanding, a lot of these should be there- for instance the tif_fax3sm.c file contains three of those, and isn't used anywhere except as part of libtiff.so. it would be strange if they were discarded in the .so after being generated by mkg3states as then there is no point to have them there at all.