0

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?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Teckm
  • 41
  • 1
  • 6
  • 3
    Stackoverflow is not very suitable for this kind of troubleshooting. The Buildroot mailing-list is a lot more useful in this case. I suggest you post the question there, along with your defconfig and the error message you get. – Luca Ceresoli Nov 27 '19 at 21:31
  • Thanks, I'll keep trying some more and then post it on the mailing-list as you suggested. – Teckm Nov 27 '19 at 21:44
  • 3
    Very likely your problem is that you did a partial build. Please restart your build from scratch by running "make clean all". See https://buildroot.org/downloads/manual/manual.html#full-rebuild for more details. – Thomas Petazzoni Nov 28 '19 at 10:42
  • Thanks for the suggestion, I've came across your document about buildroot and I liked it. I'm currently building the toolchain and kernel on one go, and it seems to be working so far. I'll post the result after it finished. – Teckm Nov 28 '19 at 12:06
  • Building the toolchain and system in one go, worked for me. Still having some issues with PyQt5, but the system is working nonetheless. – Teckm Nov 28 '19 at 22:12

0 Answers0