[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#729534: RFS: libpoly2tri/0.3.3-1 [ITP]



* Christian Kastner <debian@kvr.at>, 2014-03-20, 22:49:
This is problematic. First, you need to demangle the symbols in there with c++filt (for examples, your package FTBFS on my host without this).

I haven't looked into details of this particular package, but in general unmangling rarely helps curing FTBFS due to missing symbols. The C++ mangling rules are (mostly?) architecture-idependent. What does vary with architecture are how various types (size_t, intN_t, va_list, etc.) are typedefed. But demangling doesn't help dealing with this variation.

For example, symbol names for a f(size_t) function are:
_Z1fj on i386,
_Z1fm on amd64.

After unmangling it becomes:
f(unsigned int) on i386,
f(unsigned long) on amd64.

--
Jakub Wilk


Reply to: