El 04/11/10 22:14, Cristian Morales Vega escribió:
There are lots of libraries that aren't under LSB that also change sonames maintaining some symbols. Solve the problem only for LSB will not help with all the binaries out there that use extra libraries.
..And that is one scenario when the ABI compatibility this LSB thing is marketing,goes straight to hell.
Symbol versioning is the solution (but ideally upstream should do that). The pixbuf loader bug would have never happened in Debian because:
- Debian version $ objdump -T libjpeg.so.62 | fgrep jpeg_mem_init 000000000001d230 g DF .text 0000000000000006 LIBJPEG_6.2 jpeg_mem_init
- openSUSE 11.3 version $ objdump -T /usr/lib64/libjpeg.so.62 | fgrep jpeg_mem_init 000000000001cac0 g DF .text 0000000000000003 Base jpeg_mem_init
Ok, now we have a clue, question is how we implement a solution like this... first step if to figure out why this symbol is exported(!) in the first place.. AFAICS it is a private function... and should be guarded with __visibility__("hidden") or I am missing something ? Cheers. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org