[Poppler-bugs] [Bug 97622] New: poppler compilation fails with "./configure --disable-shared"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 7 07:47:55 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=97622

            Bug ID: 97622
           Summary: poppler compilation fails with "./configure
                    --disable-shared"
           Product: poppler
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: hanno at hboeck.de

Created attachment 126269
  --> https://bugs.freedesktop.org/attachment.cgi?id=126269&action=edit
failing make output

The --disable-shared parameter of the poppler configure script causes the build
to fail later on. Seems to be some linker error.
Affects both current git and version 0.47.0.

(--disable-shared is often very useful for testing - e.g. fuzzing - because one
gets the tools as a single executable without dependencies on built libraries
and one doesn't have to fiddle around with LD_PRELOAD when testing builds)

Start of error message (will attach full one).

  GISCAN   Poppler-0.18.gir
poppler-action.cc:671: error: undefined reference to '__dynamic_cast'
poppler-action.cc:643: error: undefined reference to '__dynamic_cast'
poppler-action.cc:659: error: undefined reference to '__dynamic_cast'
poppler-action.cc:651: error: undefined reference to '__dynamic_cast'
poppler-action.cc:483: error: undefined reference to 'operator new(unsigned
long)'
./.libs/libpoppler-glib.a(libpoppler_glib_la-poppler-action.o):poppler-action.cc:typeinfo
for LinkAction: error: undefined reference to 'vtable for
__cxxabiv1::__class_type_info'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld:
the vtable symbol may be undefined because the class is missing its key
function
poppler-document.cc:151: error: undefined reference to 'operator new(unsigned
long)'
poppler-document.cc:761: error: undefined reference to 'operator new(unsigned
long)'
poppler-document.cc:2233: error: undefined reference to 'operator
delete(void*)'
poppler-document.cc:2233: error: undefined reference to 'operator
delete(void*)'
poppler-document.cc:2212: error: undefined reference to 'operator new(unsigned
long)'
poppler-document.cc:474: error: undefined reference to 'operator delete(void*)'
poppler-document.cc:127: error: undefined reference to 'operator delete(void*)'
./.libs/libpoppler-glib.a(libpoppler_glib_la-poppler-cached-file-loader.o):poppler-cached-file-loader.cc:typeinfo
for CachedFileLoader: error: undefined reference to 'vtable for
__cxxabiv1::__class_type_info'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld:
the vtable symbol may be undefined because the class is missing its key
function
[and many more]

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20160907/5c33d5a1/attachment.html>


More information about the Poppler-bugs mailing list