Bug#788411: libgmp10: please update symbols for musl-linux-*
Helmut Grohne
helmut at subdivi.de
Thu Jun 11 06:15:50 UTC 2015
Package: libgmp10
Version: 2:6.0.0+dfsg-6
Severity: wishlist
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap
Dear gmp maintainers,
Please add architecture qualifiers for musl architectures to
libgmp10.symbols. Without this update gmp FTBFS on these architectures.
I am attaching a shell script that computes the necessary modification
(symbol_update.sh) as well as the computed diff (libgmp10.symbols.diff).
There are two changes being done here:
* Add the corresponding musl architecture to each occurrence of a glibc
architecture. Architecture-specific symbols work exactly the same way
on glibc and on musl. Thus adding the musl names here.
An alternative to this approach is to use wildcard patterns. So
instead of replacing (arch=ppc64) with (arch=ppc64 musl-linux-ppc64),
one could use (arch=any-ppc64). However, wildcards must be used with
care. For instance, any-amd64 matches x32.
* The second aspect is that musl does not implement GNU obstack. Thus
the obstack related symbols need to be disabled for musl
architectures.
Thanks for considering
Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: symbol_update.sh
Type: application/x-sh
Size: 265 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20150611/6d60c2af/attachment.sh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgmp10.symbols.diff
Type: text/x-diff
Size: 18238 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20150611/6d60c2af/attachment.diff>
More information about the debian-science-maintainers
mailing list