Source: measurement-kit
Version: 0.7.1-1
Severity: important
Tags: upstream
Justification: fails to build from source

Builds of measurement-kit for most 32-bit architectures have been failing:

  ./.libs/libmeasurement_kit.so: undefined reference to `__atomic_fetch_sub_8'
  ./.libs/libmeasurement_kit.so: undefined reference to `__atomic_load_8'
  ./.libs/libmeasurement_kit.so: undefined reference to `__atomic_fetch_add_8'
  collect2: error: ld returned 1 exit status

So far, this error has occurred on armel, mips, and the non-release
architectures hppa, m68k, powerpc, and sh4; I expect mipsel and the
non-release architecture powerpcspe will encounter it as well.  At any
rate, on these architectures, it's necessary to link against -latomic
to pick these symbols up.  If you'd rather not have that dependency
elsewhere, you can either conditionalize the use of -latomic or
precede it with -Wl,--as-needed (in which case you might want to
follow it with -Wl,--no-as-needed).

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