Bug#881678: primesieve: FTBFS: __atomic_fetch_add_8 undefined

Jerome BENOIT calculus at rezozer.net
Tue Nov 14 04:36:40 UTC 2017


Hi, thanks for your report.

On 14/11/17 05:19, Aaron M. Ucko wrote:
> Source: primesieve
> Version: 6.2+ds-1
> Severity: serious
> Tags: upstream
> Justification: fails to build from source (but built successfully in the past)
> 
> Builds of primesieve for armel, mips, mipsel, and the non-release
> architectures m68k, powerpc, powerpcspe, and sh4 have started failing:
> 
>   libprimesieve.so.8.2.0: undefined reference to `__atomic_fetch_add_8'
>   collect2: error: ld returned 1 exit status
> 
> On these architectures, you should be able to find this symbol in
> libatomic.  I'd suggest linking with -Wl,--as-needed -latomic
> everywhere so that you don't have to special-case any platforms or get
> formal dependencies on libatomic on the platforms that don't need it
> here.
> 
> Could you please take a look?

I have already discussed this matter with the upstream maintainer.
He was kind enough to react quickly: he released a version which
fixes the bugs observed on the 32bits arch and the atomic bugs.
I scheduled to package it next Friday (my next spare time dedicated to Debian).

Cheers,
Jerome

> 
> Thanks!
> 
> --
> Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
> http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu
> 

-- 
Jerome BENOIT | calculus+at-rezozer^dot*net
https://qa.debian.org/developer.php?login=calculus@rezozer.net
AE28 AE15 710D FF1D 87E5  A762 3F92 19A6 7F36 C68B

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1528 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20171114/a4ddeef8/attachment.sig>


More information about the debian-science-maintainers mailing list