[Debian-med-packaging] Bug#875328: jellyfish1: FTBFS: __sync_val_compare_and_swap_8 undefined

Aaron M. Ucko ucko at debian.org
Sun Sep 10 18:45:11 UTC 2017


Source: jellyfish1
Version: 1.1.11-2
Severity: important
Tags: upstream
Justification: fails to build from source

Builds of jellyfish1 for mips(el) and the non-release architectures
m68k, powerpc(spe), and sh4 have been failing:

  ././jellyfish/atomic_gcc.hpp:27: undefined reference to `__sync_val_compare_and_swap_8'
  jellyfish/mer_counter.o:././jellyfish/atomic_gcc.hpp:27: more undefined references to `__sync_val_compare_and_swap_8' follow
  collect2: error: ld returned 1 exit status
  Makefile:1082: recipe for target 'bin/jellyfish' failed

Please link against -latomic, at least on these architectures.  You
can avoid a formal dependency on libatomic on architectures that don't
actually need it without hardcoding an architecture list by prefacing
-latomic with -Wl,--as-needed (and optionally following it with
-Wl,--no-as-needed).

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-med-packaging mailing list