Package: agg
Version: 1:2.6.0-r132+dfsg1-2
Severity: minor
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu disco ubuntu-patch

Hi John,

The latest version of agg, 1:2.6.0-r132+dfsg1-2, fails to build from source
on ppc64el in Ubuntu due to a difference in the symbols output for the
shared library.  This is because Ubuntu defaults to -O3 on ppc64el, which
means some additional template symbols are omitted from the output that are
otherwise seen when building with -O2.

Since these are template symbols and not part of the shared library ABI, a
correct fix to make the library compatible with -O3 is to mark these symbols
optional as in the attached patch.  Please consider applying in Debian.

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/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru agg-2.6.0-r132+dfsg1/debian/libagg2.symbols 
agg-2.6.0-r132+dfsg1/debian/libagg2.symbols
--- agg-2.6.0-r132+dfsg1/debian/libagg2.symbols 2019-01-29 17:36:52.000000000 
-0800
+++ agg-2.6.0-r132+dfsg1/debian/libagg2.symbols 2019-02-01 08:55:30.000000000 
-0800
@@ -128,7 +128,7 @@
  _ZN3agg14verdana16_boldE@Base 2.6.0
  _ZN3agg14verdana17_boldE@Base 2.6.0
  _ZN3agg14verdana18_boldE@Base 2.6.0
- _ZN3agg15clip_move_pointIdEEbT_S1_S1_S1_RKNS_9rect_baseIS1_EEPS1_S6_j@Base 
2.6.0
+ 
(optional)_ZN3agg15clip_move_pointIdEEbT_S1_S1_S1_RKNS_9rect_baseIS1_EEPS1_S6_j@Base
 2.6.0
  _ZN3agg15gamma_ctrl_impl11calc_pointsEv@Base 2.6.0
  _ZN3agg15gamma_ctrl_impl11calc_valuesEv@Base 2.6.0
  _ZN3agg15gamma_ctrl_impl12border_widthEdd@Base 2.6.0
@@ -298,7 +298,7 @@
  _ZN3agg19vpgen_clip_polyline7move_toEdd@Base 2.6.0
  _ZN3agg20mcs11_prop_condensedE@Base 2.6.0
  _ZN3agg20vertex_block_storageIdLj8ELj256EE12storage_ptrsEPPd@Base 2.6.0
- _ZN3agg20vertex_block_storageIdLj8ELj256EE8free_allEv@Base 2.6.0
+ (optional)_ZN3agg20vertex_block_storageIdLj8ELj256EE8free_allEv@Base 2.6.0
  _ZN3agg3arc19approximation_scaleEd@Base 2.6.0
  _ZN3agg3arc4initEddddddb@Base 2.6.0
  _ZN3agg3arc6rewindEj@Base 2.6.0

Reply via email to