Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>This could be a problem related to how you build boost and your application. The mutex lock implementations are different if you compile for thumb and without thumb. Make sure you compile both the application and the boost library with the same thumb settings.</p> <p>Here's an example <code>user-config.jam</code> I use to compile <code>boost</code>:</p> <pre><code>if [ os.name ] = CYGWIN || [ os.name ] = NT { HOST_TAG = windows ; } else if [ os.name ] = LINUX { HOST_TAG = linux-x86 ; } else if [ os.name ] = MACOSX { HOST_TAG = darwin-x86 ; } modules.poke : NO_BZIP2 : 1 ; modules.poke : NO_GZIP : 1 ; LIB_ROOT = /home/user/lib ; NDK_ROOT = $(LIB_ROOT)/android-ndk-r8c ; LLVM_VERSION = 3.1 ; LLVM_NAME = llvm-$(LLVM_VERSION) ; LLVM_TOOLCHAIN_ROOT = $(NDK_ROOT)/toolchains/$(LLVM_NAME) ; LLVM_TOOLCHAIN_PREBUILT_ROOT = $(LLVM_TOOLCHAIN_ROOT)/prebuilt/$(HOST_TAG) ; LLVM_TOOLCHAIN_PREFIX = $(LLVM_TOOLCHAIN_PREBUILT_ROOT)/bin/ ; TOOLCHAIN_VERSION = 4.6 ; TOOLCHAIN_NAME = arm-linux-androideabi-$(TOOLCHAIN_VERSION) ; TOOLCHAIN_ROOT = $(NDK_ROOT)/toolchains/$(TOOLCHAIN_NAME) ; TOOLCHAIN_PREBUILT_ROOT = $(TOOLCHAIN_ROOT)/prebuilt/$(HOST_TAG) ; TOOLCHAIN_PREFIX = $(TOOLCHAIN_PREBUILT_ROOT)/bin/arm-linux-androideabi- ; using clang : $(TOOLCHAIN_VERSION) : $(LLVM_TOOLCHAIN_PREFIX)clang : &lt;compileflags&gt;"-gcc-toolchain $(TOOLCHAIN_PREBUILT_ROOT)" &lt;compileflags&gt;"-isystem $(LLVM_TOOLCHAIN_PREBUILT_ROOT)/lib/clang/$(LLVM_VERSION)/include" &lt;compileflags&gt;"-isysroot $(NDK_ROOT)/platforms/android-9/arch-arm/usr/include" &lt;compileflags&gt;-std=gnu++11 &lt;compileflags&gt;-stdlib=libc++ &lt;compileflags&gt;-fomit-frame-pointer &lt;compileflags&gt;-ffast-math &lt;compileflags&gt;"-target armv7-none-linux-androideabi" &lt;compileflags&gt;-march=armv7-a &lt;compileflags&gt;-mfloat-abi=softfp &lt;compileflags&gt;-mfpu=neon &lt;compileflags&gt;-DPAGE_SIZE=sysconf\\(_SC_PAGESIZE\\) &lt;compileflags&gt;-I$(NDK_ROOT)/boost/include &lt;compileflags&gt;-I$(NDK_ROOT)/sources/cxx-stl/gnu-libstdc++/$(TOOLCHAIN_VERSION)/include &lt;compileflags&gt;-I$(NDK_ROOT)/sources/cxx-stl/gnu-libstdc++/$(TOOLCHAIN_VERSION)/libs//armeabi-v7a/include &lt;compileflags&gt;-I$(NDK_ROOT)/platforms/android-9/arch-arm/usr/include &lt;linkflags&gt;-s &lt;archiver&gt;$(TOOLCHAIN_PREFIX)ar &lt;ranlib&gt;$(TOOLCHAIN_PREFIX)ranlib ; </code></pre> <p>Note, that in this example, I did not compile with thumb enabled.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload