Bug#843136: drumgizmo FTBFS on mips and mipsel: error: undefined reference to `__atomic_load_8'
Radovan Birdic
Radovan.Birdic at imgtec.com
Mon Nov 7 13:10:22 UTC 2016
Hi,
On 04/11/16 10:58, James Cowgill wrote:
> > + #include <cstdinti>
> Typo? You want <cstdint>
Yes, this is my fault. The name of the library is not properly specified.
> > #include <atomic>
> > + std::atomic<uintptr_t> x;
> > + std::atomic<uintmax_t> y;
> I don't think you should rely on these types being in the global namespace.
I modified test and removed uintptr_t type, because this type may not be defined in some library implementations.
More about that:
http://www.cplusplus.com/reference/cstdint/
Could you please take a look at new patch I attached? It includes a new test for checking is libatomic needed to link.
Regards,
Radovan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-libatomic-as-needed.patch
Type: text/x-patch
Size: 459 bytes
Desc: add-libatomic-as-needed.patch
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20161107/abc94825/attachment.bin>
More information about the pkg-multimedia-maintainers
mailing list