Yeap, I'm quite sure. readelf -d is not showing libstdc++ or gnu_shared as dependencies. Did you manage to run tests linking dynamically? On Jul 9, 2013 9:55 PM, "Ben Pope [via Boost]" < ml-node+s2283326n4649560h65@n4.nabble.com> wrote:
On 10/07/13 03:41, Augusto Righetto wrote:
After some investigation, I've figured out that the crash only happens when my app links dynamically against boost_system and boost_filesystem. Everything works fine when I link statically.
I'm building boost using a standalone toolchain built with NDK 8e 64-bit. The toolchain is targeted to android-14 (actually, android-9 since it is the highest platform available on NDK 8e).
My app is linking statically against GNU STL (libstdc++) and supc++ (enabling exceptions). Besides that, I'm enabling -fexceptions and -frtti. Following Google's recommendation about ABI compatibility, I'm enabling -march=armv7-a, -mfloat-abi=softfp and -mfpu=vfpv3-d16.
I'm using Android's engineering build, so I'm able to run the Boost's Filesystem test apps directly on device without any Java/Dalvik code.
Did you try to build and link Boost as a shared library?
Are you sure you're compiling and dynamically linking everything (Boost and your app) against the same shared C++ runtime?
Ben
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
------------------------------ If you reply to this email, your message will be added to the discussion below:
http://boost.2283326.n4.nabble.com/filesystem-Please-take-care-of-8706-tp464... To unsubscribe from [filesystem] Please take care of #8706, click herehttp://boost.2283326.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4648813&code=YXVndXN0b3JpZ2hldHRvQGdtYWlsLmNvbXw0NjQ4ODEzfC0xNjU5ODQ2MjQz . NAMLhttp://boost.2283326.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
-- View this message in context: http://boost.2283326.n4.nabble.com/filesystem-Please-take-care-of-8706-tp464... Sent from the Boost - Dev mailing list archive at Nabble.com.