[flext] Trying to compile gendy~ as a static library for iOS
Thomas Grill
gr at grrrr.org
Tue Jul 11 23:17:21 CEST 2017
>
> On the device, I get an EXC_ARM_DA_ALIGN error in cas.hpp during this function call:
>
> return __sync_bool_compare_and_swap_8(reinterpret_cast<volatile long long*>(addr), old.l, nw.l);
>
> this is probably some architecture specific stuff that I'll have to fix.
>
Interesting.
AFAIR, there are gcc extensions to force data alignment to certain byte multiples.
The syntax is something like "__attribute__ ((aligned (16)))", see https://gcc.gnu.org/onlinedocs/gcc-3.3.6/gcc/Variable-Attributes.html#Variable-Attributes
best, Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://grrrr.org/pipermail/flext/attachments/20170711/6d95934c/attachment.sig>
More information about the flext
mailing list