[Zlib-devel] zlib 1.2.3.6 available for testing
glennrp at comcast.net
glennrp at comcast.net
Tue Jan 19 07:47:42 EST 2010
1) >> IIRC we now have multiple versions of some functions (the libxml issue),
>> I'd like to see a way for getting rid of the old ones at compile time.
>
>Only one set of functions is compiled for a given build.
See some recent discussion on png-mng-implement.
It seems that now instead of building libfoo.so.0, libfoo.so.2, libfoo.so.4
the linker no longer uses the final suffix. Instead when you build
libfoo.so, internally each symbol (function, global variable, etc.)
gets a version symbol appended and they all go into the same library
You compile libfoo and it contains an entry point foo()
Somehow when you construct the shared library,
libfoo.so.1 contains entry points like
foo{0}()
foo{2}()
foo{4}()
if I understand the png-mng implement discussion and gcc documentation
correctly. We aren't doing it that way with libpng, but some downstream
distros might be. I don't even know how the step of merging several
versions into one library is done. In libpng we build separate
libraries
libfoo00.so.0
libfoo02.so.0
libfoo04.so.0
I could easily have misunderstood the entire discussion though.
2) As you may know I'm using git with libpng, but really only as another
output format. It's extra work for me but others seem to like
it.
3) I built pngcrush with 1.2.3.6 and nothing remarkable happened.
I did notice that the supplied Makefile dies not finding
main() on FreeBSD and SunOS, but "configure; make" works fine.
Glenn
More information about the Zlib-devel
mailing list