ldanko

Results 7 comments of ldanko

I was building some application based on Boost Asio. It seems that the issue is caused by two macros `_GLIBCXX_HAS_GTHREADS` and `_GLIBCXX_USE_C99_STDINT_TR1` (from `bits/c++config.h`), undefined at compile time but defined...

I don't see anything weird, but there is 12k lines of log. Both macros seems to be defined: ``` #define _GLIBCXX_USE_C99_STDINT_TR1 1 ... #define _GLIBCXX_HAS_GTHREADS 1 ``` [musl-cross-make/build/local/arm-linux-musleabihf/obj_gcc/arm-linux-musleabihf/libstdc++-v3/config.log](https://github.com/richfelker/musl-cross-make/files/3866724/config.log)

Ahh, sorry. There are two lines of ifdefs in `futex.cc`. ``` #if defined(_GLIBCXX_HAS_GTHREADS) && defined(_GLIBCXX_USE_C99_STDINT_TR1) #if defined(_GLIBCXX_HAVE_LINUX_FUTEX) && ATOMIC_INT_LOCK_FREE > 1 ``` The issue is with `ATOMIC_INT_LOCK_FREE`.

On Arm atomics support depends on architecture version, so for example building with `-march=armv4` will set `ATOMIC_INT_LOCK_FREE` to 1, but building with `-march=armv6` will set `ATOMIC_INT_LOCK_FREE` to 2. It looks...

Rebuilded the toolchain with settings matching my CPU ``` GCC_CONFIG += --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard GCC_CONFIG += --enable-cxx-flags='-march=armv7-a -mtune=cortex-a9 -mfloat-abi=hard -mfpu=vfpv3-d16' ``` Now everything works fine.

I can't run any OpenGL rust application. It seems that OpenGL 2.1 is supported in VirtualBox, `glxinfo` says: `OpenGL version string: 2.1 Chromium 1.9` But as you said maybe something...

@Rubber1Duck I've never had to work on armv6.