[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#961647: akonadi: FTBFS on armel: missing -latomic



Hey,

Whoo I'm quite impressed to have two different solutions that fast! Thank you 
both for proposing me solutions. You made my day!

> The easy workaround is in debian/rules:
> 
> ifneq (,$(filter $(DEB_HOST_ARCH), armel m68k mipsel powerpc sh4))
>   export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-as-needed -latomic
> -Wl,--as-needed endif

thanks for this easy workaround! I implemented that one for now.

> It might, but due to gcc defaulting to -Wl,--as-needed it wouldn't be an 
issue. There is also https://phabricator.kde.org/D16184 that only links 
libatomic if necessary.

I will propose a proper patch upstream based on the patch you proposed. Maybe 
we integrate CheckAtomic into extra-cmake-modules.

hefee

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: