<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - poppler compilation fails with "./configure --disable-shared""
href="https://bugs.freedesktop.org/show_bug.cgi?id=97622">97622</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>poppler compilation fails with "./configure --disable-shared"
</td>
</tr>
<tr>
<th>Product</th>
<td>poppler
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>poppler-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>hanno@hboeck.de
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=126269" name="attach_126269" title="failing make output">attachment 126269</a> <a href="attachment.cgi?id=126269&action=edit" title="failing make output">[details]</a></span>
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]</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>