Bug#830811: mathic: Symbols file compatibility with -O3

Steve Langasek steve.langasek at canonical.com
Mon Jul 11 19:08:47 UTC 2016


Package: mathic
Version: 1.0~git20160320-2
Severity: minor
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu yakkety ubuntu-patch

Hi Doug,

The Ubuntu ppc64el port uses -O3 optimization for package builds by default. 
Under -O3, there are a number of template symbols that are not exported in
libmathic because they wind up inlined instead.  As a result, mathic 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/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mathic_1.0~git20160320-2ubuntu1.debdiff
Type: text/x-diff
Size: 4766 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20160711/9f6ca7ef/attachment.diff>


More information about the debian-science-maintainers mailing list