Hi Timo and Paul,
On 16/08/2024 18:10, Timo Röhling wrote:
Hi Alec,
* Alec Leamas <leamas.a...@gmail.com> [2024-08-16 17:46]:
/usr/include/c++/14/bits/atomic_futex.h:278:(.text+0x16dc): undefined
reference to
`std::__atomic_futex_unsigned_base::_M_futex_notify_all(unsigned int*)'
/usr/bin/ld:
/usr/include/c++/14/bits/atomic_futex.h:278:(.text+0x29d8): undefined
reference to
`std::__atomic_futex_unsigned_base::_M_futex_notify_all(unsigned int*)
AFAIK the armel architecture has no lock-free atomic primitives, so
you probably need to link against the atomic library because opencpn
uses std::atomic somewhere in its codebase.
Try adding
export DEB_CXXFLAGS_MAINT_APPEND += -latomic
to your debian/rules.
Thanks for explanations!
Just uploaded new version using -latomic. Did it with a patch against
upstream which eventually will land there in some form . If anyone else
finds this is in the archive: relevant bug:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81358
Cheers!
--alec