I'm trying to build an embedded Linux on Raspberry Pi 3 with Buildroot in order to run an application with PyQt 5. And to do so Python 3 and Qt 5 libraries need toolchain with threads support.
The issue is when trying to build the toolchain with NPTL threads support, I get an error while building, saying that my GCC / binutils versions does not support the thread support.
I'm using Buildroot 2019.11 RC3 on a VM running Ubuntu 19.10 (Eoan Ermine) with GCC 9.2.1, binutils 2.33, and kernel 5.3.
I tried compiling the toolchain with kernel 5.3, GCC 9.x, and binutils 2.32, but nothing - the same error. I also tried with older versions: kernel 4.19, GCC 8.x, adn binutils 2.31.
How can I fix this?