[Pkg-phototools-devel] Bug#807079: openexr: additional template symbols that should be marked optional

Steve Langasek steve.langasek at canonical.com
Sat Dec 5 01:12:39 UTC 2015


Package: openexr
Version: 2.2.0-7
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu xenial ubuntu-patch

Dear maintainer,

The openexr 2.2.0-7 package has been synced from Debian experimental to
Ubuntu, where it fails to build on ppc64el.  This is because the Ubuntu
ppc64el port uses -O3 as the default optimization level when building,
whereas the Debian port uses -O2.  This results in a different set of
symbols being exported (vs. inlined) for templated methods that are not part
of the library's public ABI.

It's therefore appropriate to mark these symbols optional, in Debian as well
as Ubuntu.  The attached patch does this for 64-bit archs - something
similar may be appropriate for 32-bit archs, though I'm not aware of anyone
doing -O3 builds for any 32-bit architectures.

This would also be unnecessary if a fix for bug #802317 were to be
implemented.

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/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openexr_2.2.0-7ubuntu1.debdiff
Type: text/x-diff
Size: 25049 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-phototools-devel/attachments/20151204/7b3043be/attachment-0001.diff>


More information about the Pkg-phototools-devel mailing list