Package: wfmath
Version: 1.0.2+dfsg1-1
Severity: minor
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu yakkety ubuntu-patch

Hi Olek,

The Ubuntu ppc64el port uses -O3 optimization for package builds by default. 
Under -O3, there are a number of additional template symbols that are not
exported in libwfmath because they wind up inlined instead.  As a result,
wfmath fails to build with a mismatched symbols file error.

The attached patch has been applied in Ubuntu to mark these additional
symbols optional, since they are not part of the ABI, and allows the package
to build wherever -O3 is used.

Thanks for considering the patch.
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru wfmath-1.0.2+dfsg1/debian/libwfmath-1.0-1v5.symbols wfmath-1.0.2+dfsg1/debian/libwfmath-1.0-1v5.symbols
--- wfmath-1.0.2+dfsg1/debian/libwfmath-1.0-1v5.symbols	2016-07-11 02:32:53.000000000 -0700
+++ wfmath-1.0.2+dfsg1/debian/libwfmath-1.0-1v5.symbols	2016-07-11 15:47:58.000000000 -0700
@@ -605,11 +605,11 @@
  _ZN6WFMath9TimeStamp3nowEv@Base 0.3.11
  _ZN6WFMath9TimeStampC1Ellb@Base 0.3.11
  _ZN6WFMath9TimeStampC2Ellb@Base 0.3.11
- _ZN6WFMath9_miniball5BasisILi2EE4pushERKNS0_13Wrapped_arrayILi2EEE@Base 0.3.11
- _ZN6WFMath9_miniball5BasisILi3EE4pushERKNS0_13Wrapped_arrayILi3EEE@Base 1.0.0
- _ZN6WFMath9_miniball8MiniballILi2EE13move_to_frontESt14_List_iteratorINS0_13Wrapped_arrayILi2EEEE@Base 0.3.11
+ (optional=inline)_ZN6WFMath9_miniball5BasisILi2EE4pushERKNS0_13Wrapped_arrayILi2EEE@Base 0.3.11
+ (optional=inline)_ZN6WFMath9_miniball5BasisILi3EE4pushERKNS0_13Wrapped_arrayILi3EEE@Base 1.0.0
+ (optional=inline)_ZN6WFMath9_miniball8MiniballILi2EE13move_to_frontESt14_List_iteratorINS0_13Wrapped_arrayILi2EEEE@Base 0.3.11
  _ZN6WFMath9_miniball8MiniballILi2EE6mtf_mbESt14_List_iteratorINS0_13Wrapped_arrayILi2EEEE@Base 0.3.11
- _ZN6WFMath9_miniball8MiniballILi3EE13move_to_frontESt14_List_iteratorINS0_13Wrapped_arrayILi3EEEE@Base 1.0.0
+ (optional=inline)_ZN6WFMath9_miniball8MiniballILi3EE13move_to_frontESt14_List_iteratorINS0_13Wrapped_arrayILi3EEEE@Base 1.0.0
  _ZN6WFMath9_miniball8MiniballILi3EE6mtf_mbESt14_List_iteratorINS0_13Wrapped_arrayILi3EEEE@Base 1.0.0
  _ZN6WFMathdVILi2EEERNS_6VectorIXT_EEES3_f@Base 0.3.11
  _ZN6WFMathdVILi3EEERNS_6VectorIXT_EEES3_f@Base 0.3.11
@@ -1014,18 +1014,18 @@
  (regex)_ZNSt6vectorIN6WFMath5PointILi2EEESaIS2_EE17_M_default_appendE[jm]@Base 1.0.2
  _ZNSt6vectorIN6WFMath5PointILi2EEESaIS2_EE19_M_emplace_back_auxIIRKS2_EEEvDpOT_@Base 1.0.2
  _ZNSt6vectorIN6WFMath5PointILi2EEESaIS2_EE19_M_emplace_back_auxIJRKS2_EEEvDpOT_@Base 1.0.2
- _ZNSt6vectorIN6WFMath5PointILi2EEESaIS2_EEaSERKS4_@Base 0.3.11
+ (optional=inline)_ZNSt6vectorIN6WFMath5PointILi2EEESaIS2_EEaSERKS4_@Base 0.3.11
  _ZNSt6vectorIN6WFMath5PointILi3EEESaIS2_EE13_M_insert_auxIIRKS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_@Base 1.0.0
  _ZNSt6vectorIN6WFMath5PointILi3EEESaIS2_EE13_M_insert_auxIJRKS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_@Base 1.0.0
- _ZNSt6vectorIN6WFMath5PointILi3EEESaIS2_EEaSERKS4_@Base 1.0.0
+ (optional=inline)_ZNSt6vectorIN6WFMath5PointILi3EEESaIS2_EEaSERKS4_@Base 1.0.0
  (regex|optional=inline)_ZNSt6vectorIfSaIfEED[12]Ev@Base 0.3.12
  _ZNSt6vectorIfSaIfEE13_M_insert_auxIIRKfEEEvN9__gnu_cxx17__normal_iteratorIPfS1_EEDpOT_@Base 1.0.2
  _ZNSt6vectorIfSaIfEE13_M_insert_auxIJRKfEEEvN9__gnu_cxx17__normal_iteratorIPfS1_EEDpOT_@Base 1.0.2
  _ZNSt6vectorIfSaIfEE19_M_emplace_back_auxIIRKfEEEvDpOT_@Base 1.0.2
  _ZNSt6vectorIfSaIfEE19_M_emplace_back_auxIJRKfEEEvDpOT_@Base 1.0.2
- _ZNSt6vectorIfSaIfEE6insertEN9__gnu_cxx17__normal_iteratorIPKfS1_EERS4_@Base 1.0.2
+ (optional=inline)_ZNSt6vectorIfSaIfEE6insertEN9__gnu_cxx17__normal_iteratorIPKfS1_EERS4_@Base 1.0.2
  (regex)_ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIPfSt6vectorIfSaIfEEEE[il]fNS0_5__ops15_Iter_less_iterEEvT_T0_SA_T1_T2_@Base 1.0.2
- _ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPfSt6vectorIfSaIfEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_@Base 1.0.2
+ (optional=inline)_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPfSt6vectorIfSaIfEEEENS0_5__ops15_Iter_less_iterEEvT_S9_T0_@Base 1.0.2
  _ZTIN6WFMath10ParseErrorE@Base 0.3.11
  _ZTIN6WFMath15ColinearVectorsILi2EEE@Base 0.3.11
  _ZTIN6WFMath15ColinearVectorsILi3EEE@Base 0.3.11
@@ -1042,5 +1042,5 @@
  _ZZN6WFMath5PointILi3EE4ZEROEvE9zeroPoint@Base 0.3.11
  _ZZN6WFMath6VectorILi2EE4ZEROEvE10zeroVector@Base 0.3.11
  _ZZN6WFMath6VectorILi3EE4ZEROEvE10zeroVector@Base 0.3.11
- _ZZN6WFMath8LogGammaIdEET_S1_E6coeffs@Base 1.0.0
- _ZZN6WFMath8LogGammaIfEET_S1_E6coeffs@Base 1.0.0
+ (optional=inline)_ZZN6WFMath8LogGammaIdEET_S1_E6coeffs@Base 1.0.0
+ (optional=inline)_ZZN6WFMath8LogGammaIfEET_S1_E6coeffs@Base 1.0.0

Reply via email to