tags:

views:

231

answers:

1

When debugging a link error (undefined reference to _dso_handle) using the Android x86 toolchain, I noticed it's statically linking crtbegin_dynamic.o. What is the purpose of this file? There is another similar crtbegin.o in the toolchain install directory that contains the missing symbol (_dso_handle). What is the difference between crtbegin.o and crtbegin_dynamic.o?

A: 

I think they relate to dynamic libraries (shared objects) and executables, but not quite sure. Hope this provides you a lead.

Alex B.