[xml/sgml-pkgs] Bug#315398: libxml2: FTBFS with gcc-4.0: problems with symbol aliasing

Daniel Schepler Daniel Schepler <schepler@math.berkeley.edu>, 315398@bugs.debian.org
Wed, 22 Jun 2005 04:11:25 -0700


Package: libxml2
Version: 2.6.16-7
Severity: normal

>From my build log:

...
 gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -Wall -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -MT SAX.lo -MD -MP -MF .deps/SAX.Tpo -c SAX.c  -fPIC -DPIC -o .libs/SAX.o
elfgcchack.h:60: error: '__xmlGenericError' aliased to undefined symbol '__xmlGenericError__internal_alias'
elfgcchack.h:64: error: '__xmlGenericErrorContext' aliased to undefined symbol '__xmlGenericErrorContext__internal_alias'
elfgcchack.h:71: error: 'docbCreatePushParserCtxt' aliased to undefined symbol 'docbCreatePushParserCtxt__internal_alias'
...
elfgcchack.h:7637: error: 'xmlXPtrWrapLocationSet' aliased to undefined symbol 'xmlXPtrWrapLocationSet__internal_alias'
make[3]: *** [SAX.lo] Error 1
make[3]: Leaving directory `/tmp/buildd/libxml2-2.6.16'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/libxml2-2.6.16'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/libxml2-2.6.16'
make: *** [build-stamp] Error 2

The 2.6.19 upstream version fixes this build problem.

-- System Information:
Debian Release: testing/unstable
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-9-amd64-k8
Locale: LANG=en, LC_CTYPE=en (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)

Versions of packages libxml2 depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  zlib1g                      1:1.2.2-4    compression library - runtime

Versions of packages libxml2 recommends:
ii  xml-core                      0.09       XML infrastructure and XML catalog

-- no debconf information

-- 
Daniel Schepler              "Please don't disillusion me.  I
schepler@math.berkeley.edu    haven't had breakfast yet."
                                 -- Orson Scott Card