On Fri, Feb 17, 2012 at 08:53:30PM +0100, Julian Taylor wrote: > Package: src:plplot > Version: 5.9.9-2 > Severity: normal > > -fvisibility=hidden set in debian/rules breaks gnudatalanguage bindings. > it removes the plP_w3wc? functions from plcvt.c: > > CFLAGS = $(shell dpkg-buildflags --get CFLAGS) > CFLAGS += -fvisibility=hidden > > nm ./debian/build_tmp/src/libplplotd.so | grep w3wc > gives this result when not build with =hidden > 000000000001d000 T plP_gw3wc > 0000000000023410 T plP_w3wcx > 0000000000023440 T plP_w3wcy > 0000000000023490 T plP_w3wcz > > and only this if built with =hidden. > 000000000001d000 T plP_gw3w > > debian is "lucky" in that sense that the CFLAGS are not exported to the > build, so the symbols are there and gnudatalanguage builds. See the > buildlogs. > In Ubuntu the flag is added and gnudatalanguage breaks. > Not sure if this is a bug in the packaging, debian or ubuntu. > > please reassign the bug to gnudatalanguage is the symbols are meant to > be hidden and gnudatalanguage should not using them.
The plP_* symbols are not part of the public API for plplot but are internal functions. Recent versions of plplot have tightened up the external interface and the -fvisibility=hidden option will now only export the public API. This is therefore a bug in gnudatalanguage. If you think you really need this function and that is should be a part of the plplot public API then I would take it up with upstream via the plplot-devel mailing list on sourceforge. Andrew -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org