Bug#881678: primesieve: FTBFS: __atomic_fetch_add_8 undefined
    Aaron M. Ucko 
    ucko at debian.org
       
    Tue Nov 14 01:19:59 UTC 2017
    
    
  
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?
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
    
    
More information about the debian-science-maintainers
mailing list