Bug#1018243: libhash-sharedmem-perl: FTBFS on mipsel: undefined symbol: __sync_bool_compare_and_swap_8

Niko Tyni <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <Ywpd1JetBO2vp77f__12569.8687553935$1661623957$gmane$org@estella.local.invalid>
Source: libhash-sharedmem-perl
Version: 0.005-1
Severity: important
Tags: ftbfs
x-debbugs-cc: [email protected]

This package failed to build on mipsel (and has never built there).

>From the build log:

  #   Failed test 'use Hash::SharedMem;'
  #   at t/bad_dir.t line 8.
  #     Tried to use 'Hash::SharedMem'.
  #     Error:  Can't load '/<<PKGBUILDDIR>>/blib/arch/auto/Hash/SharedMem/SharedMem.so' for module Hash::SharedMem: /<<PKGBUILDDIR>>/blib/arch/auto/Hash/SharedMem/SharedMem.so: undefined symbol: __sync_bool_compare_and_swap_8 at /usr/lib/mipsel-linux-gnu/perl-base/DynaLoader.pm line 187.
  #  at t/bad_dir.t line 8.
  # Compilation failed in require at t/bad_dir.t line 8.
  # BEGIN failed--compilation aborted at t/bad_dir.t line 8.
 
[...]

  Result: FAIL
  Failed 29/31 test programs. 607/619 subtests failed.
  dh_auto_test: error: /usr/bin/perl Build test --verbose 1 returned exit code 3

I see the source uses __sync_bool_compare_and_swap in
lib/Hash/SharedMem.xs:470 .  Apparently this is not available on 32-bit
MIPS architectures (or 32-bit PPC either for that matter.)

I'm copying the MIPS porters. Is there a known workaround for this?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.