hivex: Exported foreign symbols in libhivex.so.0.0.0
The symbols file generated in the Debian package to aid the package maintainer automatically detect future changes shows internal library and helper function names, whereas it should only be exporting hivex_* function names. This page may help with this: http://gcc.gnu.org/wiki/Visibility Symbols: asnprintf@Base 1.2.1 c_isalnum@Base 1.2.1 c_isalpha@Base 1.2.1 c_isascii@Base 1.2.1 c_isblank@Base 1.2.1 c_iscntrl@Base 1.2.1 c_isdigit@Base 1.2.1 c_isgraph@Base 1.2.1 c_islower@Base 1.2.1 c_isprint@Base 1.2.1 c_ispunct@Base 1.2.1 c_isspace@Base 1.2.1 c_isupper@Base 1.2.1 c_isxdigit@Base 1.2.1 c_tolower@Base 1.2.1 c_toupper@Base 1.2.1 exit_failure@Base 1.2.1 full_read@Base 1.2.1 full_write@Base 1.2.1 printf_fetchargs@Base 1.2.1 printf_parse@Base 1.2.1 program_name@Base 1.2.1 safe_read@Base 1.2.1 safe_write@Base 1.2.1 set_program_name@Base 1.2.1 vasnprintf@Base 1.2.1 xstrtol@Base 1.2.1 xstrtol_fatal@Base 1.2.1 xstrtoll@Base 1.2.1 xstrtoul@Base 1.2.1 xstrtoull@Base 1.2.1
On Sat, Apr 03, 2010 at 09:03:16AM +0100, TJ wrote:
The symbols file generated in the Debian package to aid the package maintainer automatically detect future changes shows internal library and helper function names, whereas it should only be exporting hivex_* function names. This page may help with this:
Yup this is a bug too. In libguestfs we control symbol visibility with a linker script. We need to port this over to hivex too. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones New in Fedora 11: Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 70 libraries supprt'd http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
This is a patch to fix the bug mentioned in this thread. Note after applying this, you need to rerun the generator: ./generator/generator.ml Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones New in Fedora 11: Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 70 libraries supprt'd http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
participants (2)
-
Richard W.M. Jones -
TJ