<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-06-27 13:47 GMT+02:00 James Cowgill <span dir="ltr"><<a href="mailto:jcowgill@debian.org" target="_blank">jcowgill@debian.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Source: jack-capture<br>
Version: 0.9.73-1<br>
Severity: serious<br>
Tags: sid buster<br>
<br>
Hi,<br>
<br>
jack-capture FTBFS on mips, mipsel and various ports architectures with<br>
the error:<br>
> /tmp/ccZYp8m1.o: In function `print_console':<br>
> ./jack_capture.c:721: undefined reference to `__atomic_load_8'<br>
> ./jack_capture.c:721: undefined reference to `__atomic_load_8'<br>
> /tmp/ccZYp8m1.o: In function `process':<br>
> ./jack_capture.c:1723: undefined reference to `__atomic_load_8'<br>
> ./jack_capture.c:1728: undefined reference to `__atomic_fetch_add_8'<br>
> ./jack_capture.c:1730: undefined reference to `__atomic_load_8'<br>
> ./jack_capture.c:1742: undefined reference to `__atomic_fetch_add_8'<br>
> ./jack_capture.c:1723: undefined reference to `__atomic_load_8'<br>
> ./jack_capture.c:1723: undefined reference to `__atomic_load_8'<br>
> ./jack_capture.c:1728: undefined reference to `__atomic_fetch_add_8'<br>
> ./jack_capture.c:1730: undefined reference to `__atomic_load_8'<br>
> ./jack_capture.c:1742: undefined reference to `__atomic_fetch_add_8'<br>
> ./jack_capture.c:1723: undefined reference to `__atomic_load_8'<br>
> collect2: error: ld returned 1 exit status<br>
<br>
This is because jack-capture uses 64-bit atomics which requires the use<br>
of the libatomic helper library on some architectures.<br>
<br>
The simple fix is to add "-latomic" to DEB_LDFLAGS_MAINT_APPEND like this:<br>
> export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -latomic<br>
<br>
Alternatively you could add the library to the LINKFLAGS variable in the<br>
upstream Makefile.<br></blockquote><div><br></div><div>Thank you ... Fixed<br><br></div><div>mira <br></div></div><br></div></div>