I had the same pb when porting 0.151 to android using standalone toolchain (r8 and r9).
Some wise dev point me a fix for ARM port for
delegate.c & emualloc.c .
for emmullaoc.c in resource_pool::add
Code:
if (entry == NULL)
#ifdef USE_ARM_HACK
entry = memory_entry::find(reinterpret_cast(item.m_ptr) - 8);
#else
entry = memory_entry::find(reinterpret_cast(item.m_ptr) - sizeof(size_t));
#endif
and in delegate_mfp::convert_to_generic
Code:
#ifdef USE_ARM_HACK
object = reinterpret_cast(reinterpret_cast(object));
if (!(m_this_delta))
return reinterpret_cast(m_function);
UINT8 *vtable_base = *reinterpret_cast(object);
return *reinterpret_cast(vtable_base + m_function);
#else
with this patch , i was able to compile and execute fine on android .
anyways , Great if it will be not needed with 0.153 and then more ARM friendly .