Source: i2pd
Version: 2.17.0-1
Severity: important
Tags: upstream
Justification: fails to build from source

Builds of i2pd for several architectures (listed below) have been
failing with multiple occurrences each of

  /usr/include/c++/7/bits/atomic_base.h:396: undefined reference to 
`__atomic_load_8'

and

  /usr/include/c++/7/bits/atomic_base.h:312: undefined reference to 
`__atomic_fetch_add_8'

Linking against -latomic should address these errors.  To avoid a
formal runtime dependency on this library on the remaining
architectures, you can either add this library conditionally or
precede it with -Wl,--as-needed.  (In the unlikely event that this
flag breaks anything, you can keep it from affecting any other
libraries by adding --Wl,--no-as-needed after -latomic.)

FTR, these errors have been occurring on armel, mips, mipsel, and the
non-release architectures powerpc and powerpcspe, but I suspect builds
for a couple of non-release architectures that are currently failing
with compilation errors would also be affected if they got far enough.

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/?a...@monk.mit.edu

Reply via email to