[Debian-med-packaging] Bug#948398: libfastahack: mark an additional templated symbol optional for compatibility with gcc -O3

Steve Langasek steve.langasek at canonical.com
Wed Jan 8 06:41:31 GMT 2020


Package: libfastahack
Version: 1.0.0+dfsg-2
Severity: minor
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu focal ubuntu-patch

Hi Andreas,

In Ubuntu, libfastahack 1.0.0+dfsg-2 has been failing to build on ppc64el
because one of the symbols listed in the symbols file is not found in the
resulting library.

The symbol in question is a C++ template symbol, and therefore of course not
part of the supported ABI of the library.

Ubuntu ppc64el tends to run into problems with missing symbols of this kind
more than other architectures because Ubuntu defaults to building ppc64el
with -O3, so more symbols tend to be optimized away via inlining.

Please consider the attached patch, which allows libfastahack to build on
Ubuntu ppc64el.

Thanks,
-- 
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                                   https://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
diff -Nru libfastahack-1.0.0+dfsg/debian/libfastahack0.symbols libfastahack-1.0.0+dfsg/debian/libfastahack0.symbols
--- libfastahack-1.0.0+dfsg/debian/libfastahack0.symbols	2019-09-09 04:33:41.000000000 -0700
+++ libfastahack-1.0.0+dfsg/debian/libfastahack0.symbols	2020-01-07 22:37:43.000000000 -0800
@@ -42,7 +42,7 @@
  (optional)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag at Base 0.0+git20160702.bbc645f
  (optional)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag at Base 0.0+git20160702.bbc645f
  (optional)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_15FastaIndexEntryESt10_Select1stIS9_ESt4lessIS5_ESaIS9_EE10_M_insert_IS6_IS5_S8_ENSF_11_Alloc_nodeEEESt17_Rb_tree_iteratorIS9_EPSt18_Rb_tree_node_baseSM_OT_RT0_ at Base 0.0+git20160702.bbc645f
- _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_15FastaIndexEntryESt10_Select1stIS9_ESt4lessIS5_ESaIS9_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSH_PSt13_Rb_tree_nodeIS9_E at Base 0.0+git20160702.bbc645f
+ (optional)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_15FastaIndexEntryESt10_Select1stIS9_ESt4lessIS5_ESaIS9_EE14_M_insert_nodeEPSt18_Rb_tree_node_baseSH_PSt13_Rb_tree_nodeIS9_E at Base 0.0+git20160702.bbc645f
  (optional)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_15FastaIndexEntryESt10_Select1stIS9_ESt4lessIS5_ESaIS9_EE16_M_insert_uniqueIS6_IS5_S8_EEES6_ISt17_Rb_tree_iteratorIS9_EbEOT_ at Base 0.0+git20160702.bbc645f
  _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_15FastaIndexEntryESt10_Select1stIS9_ESt4lessIS5_ESaIS9_EE17_M_emplace_uniqueIJS6_IS5_S8_EEEES6_ISt17_Rb_tree_iteratorIS9_EbEDpOT_ at Base 0.0+git20160702.bbc645f
  _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_15FastaIndexEntryESt10_Select1stIS9_ESt4lessIS5_ESaIS9_EE22_M_emplace_hint_uniqueIJRKSt21piecewise_construct_tSt5tupleIJRS7_EESK_IJEEEEESt17_Rb_tree_iteratorIS9_ESt23_Rb_tree_const_iteratorIS9_EDpOT_ at Base 0.0+git20160702.bbc645f


More information about the Debian-med-packaging mailing list