-
Notifications
You must be signed in to change notification settings - Fork 865
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update toolchain to support gcc 4.9 raspi3/jessie #73
Comments
Which compiler are you using? |
I'm using tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin - I was following the this tutorial https://wiki.qt.io/RaspberryPi2EGLFS#Step_by_step compile qt 5.7 - everything worked great until I needed to mix in some libs which I needed to compile on a raspi3. |
That is an old compiler built by linaro. They no longer make specific raspberry pi builds. |
I will try to rebuild qt based on the newer compiler - thanks a lot for the quick help! |
with the compile 4.9.2 in this github
ERROR: Cannot compile a minimal program. The toolchain or QMakeSpec is broken. |
liner arm linux 4.9.4 official 2017 01 have you a simply method for work qt 5.8 in raspberry pi. |
@popcornmix What device should be specified if building for RPi3? I'm following the same guide as @larry104 (https://wiki.qt.io/RaspberryPi2EGLFS), but changed to the
|
for those that want to compile qt5.8 the scripts on this page work and patch the gcc on raspi/tools for x64 Linux and build qt5.8 |
I am using Wiring pi for Controlling Raspberry pi GPIO. We have written a C++ programming in QT Creator. I have followed the given procedure https://github.com/neuronalmotion/qtrpi for QT Cross compilation. Here added some sample modules for cross compilation. I have added modules in txt file then I have added dependencies. Then tried for cross compilation.
Help me to solve this issue |
I believe wiringPi has already been updated to cope with this change. Have you got the latest source and, if so, where are you getting it from? |
I have tried for cross compilation https://github.com/neuronalmotion/qtrpi/blob/master/utils/synchronize-toolchain.sh |
Can we get this toolchain updated so it is based on the current gcc version of the current Jessie release? I need to merge in libs into sysroot which are natively compiled on the current Jessie release - Unfortunately when cross-compiling I get errors like error: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20' which I believe are due to the compiler gcc4.7/gcc4.9 missmatch of the toolchain.
The text was updated successfully, but these errors were encountered: