Bug#723681: libsoundtouch0: breaks ABI on armel

Sebastian Ramacher sramacher at debian.org
Fri Sep 20 23:50:42 UTC 2013


Control: tags -1 + pending
Control: tags 707741 + pending

On 2013-09-18 22:07:39, Sebastian Ramacher wrote:
> Package: libsoundtouch0
> Version: 1.7.1-1
> Severity: serious
> Tags: sid jessie patch
> Control: affects -1 + src:audacity
> 
> In version 1.7.1 of soundtouch
> |     #if (defined(__SOFTFP__))
> |         // For Android compilation: Force use of Integer samples in case that
> |         // compilation uses soft-floating point emulation - soft-fp is way too slow
> |         #undef  SOUNDTOUCH_FLOAT_SAMPLES
> |         #define SOUNDTOUCH_INTEGER_SAMPLES      1
> |     #endif
> was added to include/STTypes.h [1]. Since __SOFTFP__ is defined on
> armel, SAMPLETYPE changed from float to short and the signatures of some
> functions changed.
> 
> For example, take the following simple program:
> | #include <soundtouch/FIFOSampleBuffer.h>
> | int main()
> | {
> |   soundtouch::FIFOSampleBuffer f;
> |   soundtouch::SAMPLETYPE s = 0;
> |   f.putSamples(&s, 1);
> | }
> 
> When compiled and linked against a version prior to 1.7.1 and then
> upgrading to 1.7.1, the program fails to run:
> % ./a.out
> ./a.out: symbol lookup error: ./a.out: undefined symbol: _ZN10soundtouch16FIFOSampleBuffer10putSamplesEPKfj
> 
> The attached patch reverts this change and restores ABI compatibility.

I've applied the patch to the git repository. gstreamer1.0-plugins-bad
and yatm got built against 1.7.1-2 and will binNMUs once this is fixed.
The other reverse dependencies got built against earlier versions and
are fine.

Regards
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20130921/b344c0ac/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list