Boost logo

Boost-Build :

Subject: Re: [Boost-build] Boost for Android
From: Vladimir Prus (vladimir.prus_at_[hidden])
Date: 2016-10-14 06:12:43


Hi Michael,

On Tue, Oct 11, 2016 at 8:36 PM, Michael McGrath <lswt65_at_[hidden]> wrote:

> Hello all,
>
> I’m having trouble building a working set of boost libs for Android with
> NDK r12b. I can build them but when the app runs there is an error when
> loading libgnustl_shared.so;
>
> dlopen failed: cannot locate symbol "__gnu_thumb1_case_shi" referenced by
> "/data/app/com.companyname.app/lib/arm/libboost_system.so"
>
> Is this a problem with how I've built the library?
>

this symbols appears to be used when code is built with thumb1 mode with
space optimization. It should be provided by GCC runtime library.
Therefore, I have two guesses:

- Your application is not using thumb mode, but your build of Boost is
- There is mismatch between NDK used to build boost and your app.

Could you look into these options?

Thanks,
Volodya



Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk