Bug#866107: jack-capture: FTBFS on mips, mipsel: undefined reference to `__atomic_load_8'

Jaromír Mikeš mira.mikes at gmail.com
Tue Jun 27 12:29:02 UTC 2017


2017-06-27 13:47 GMT+02:00 James Cowgill <jcowgill at debian.org>:

> Source: jack-capture
> Version: 0.9.73-1
> Severity: serious
> Tags: sid buster
>
> Hi,
>
> jack-capture FTBFS on mips, mipsel and various ports architectures with
> the error:
> > /tmp/ccZYp8m1.o: In function `print_console':
> > ./jack_capture.c:721: undefined reference to `__atomic_load_8'
> > ./jack_capture.c:721: undefined reference to `__atomic_load_8'
> > /tmp/ccZYp8m1.o: In function `process':
> > ./jack_capture.c:1723: undefined reference to `__atomic_load_8'
> > ./jack_capture.c:1728: undefined reference to `__atomic_fetch_add_8'
> > ./jack_capture.c:1730: undefined reference to `__atomic_load_8'
> > ./jack_capture.c:1742: undefined reference to `__atomic_fetch_add_8'
> > ./jack_capture.c:1723: undefined reference to `__atomic_load_8'
> > ./jack_capture.c:1723: undefined reference to `__atomic_load_8'
> > ./jack_capture.c:1728: undefined reference to `__atomic_fetch_add_8'
> > ./jack_capture.c:1730: undefined reference to `__atomic_load_8'
> > ./jack_capture.c:1742: undefined reference to `__atomic_fetch_add_8'
> > ./jack_capture.c:1723: undefined reference to `__atomic_load_8'
> > collect2: error: ld returned 1 exit status
>
> This is because jack-capture uses 64-bit atomics which requires the use
> of the libatomic helper library on some architectures.
>
> The simple fix is to add "-latomic" to DEB_LDFLAGS_MAINT_APPEND like this:
> > export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -latomic
>
> Alternatively you could add the library to the LINKFLAGS variable in the
> upstream Makefile.
>

Thank you ... Fixed

mira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20170627/cd8d529a/attachment.html>


More information about the pkg-multimedia-maintainers mailing list