[SOLVED] Internal Compiler Error trying to compile qt5 and PyQt5
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Internal Compiler Error trying to compile qt5 and PyQt5
Hello all,
The issue was overheating.
I am experimenting with freeslack on Librem 15,
It's a fresh install, slackpkg upraded-it-all (using freeslack's mirror). Trying to get qutebrowser I went on compiling most of the dependencies from SBo repositories.
I first had a segmentation fault compiling qt5. and went around it using AlienBob's build. Same story with qt5-webkit.
Now I am trying to compile PyQt5 and I got the following:
Code:
In file included from /usr/include/c++/5.3.0/bits/basic_ios.h:37:0,
from /usr/include/c++/5.3.0/ios:44,
from /usr/include/c++/5.3.0/ostream:38,
from /usr/include/c++/5.3.0/iterator:64,
from /usr/include/qt5/QtCore/qbytearray.h:53,
from /usr/include/qt5/QtCore/qmetatype.h:46,
from /usr/include/qt5/QtCore/QMetaType:1,
from sipAPIQtLocation.h:30,
from sipQtLocationQPlaceIdReply.cpp:24:
/usr/include/c++/5.3.0/bits/locale_facets.h:1587:75: internal compiler error: Illegal instruction
_S_format_float(const ios_base& __io, char* __fptr, char __mod) throw();
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Makefile:820: recipe for target 'sipQtLocationQPlaceIdReply.o' failed
make[1]: *** [sipQtLocationQPlaceIdReply.o] Error 1
make[1]: Leaving directory '/tmp/SBo/PyQt5_gpl-5.6/QtLocation'
Makefile:1457: recipe for target 'sub-QtLocation-make_first-ordered' failed
make: *** [sub-QtLocation-make_first-ordered] Error 2
Also I compiled python3-sip from slackbuilds.
I am not sure where the issue could come from.
QMake version 3.0
Using Qt version 5.7.0 in /usr/lib64
In file included from /usr/include/c++/5.3.0/random:42:0,
from /usr/include/c++/5.3.0/bits/stl_algo.h:66,
from /usr/include/c++/5.3.0/algorithm:62,
from /usr/include/qt5/QtCore/qglobal.h:94,
from /usr/include/qt5/QtCore/qmetatype.h:44,
from /usr/include/qt5/QtCore/QMetaType:1,
from sipAPIQtCore.h:30,
from sipQtCoreQResource.cpp:24:
/usr/include/c++/5.3.0/limits:1734:10: internal compiler error: Segmentation fault
= round_to_nearest;
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Makefile:2128: recipe for target 'sipQtCoreQResource.o' failed
make[1]: *** [sipQtCoreQResource.o] Error 1
make[1]: Leaving directory '/tmp/SBo/PyQt5_gpl-5.6/QtCore'
Somewhere in the compil output it says : The Python dbus module doesn't seem to be installed.
could that be a reason to fail the compil?
In file included from /usr/include/c++/5.3.0/random:42:0,
from /usr/include/c++/5.3.0/bits/stl_algo.h:66,
from /usr/include/c++/5.3.0/algorithm:62,
from /usr/include/qt5/QtCore/qglobal.h:94,
from /usr/include/qt5/QtCore/qmetatype.h:44,
from /usr/include/qt5/QtCore/QMetaType:1,
from sipAPIQtCore.h:30,
from sipQtCoreQResource.cpp:24:
/usr/include/c++/5.3.0/limits:1734:10: internal compiler error: Segmentation fault
= round_to_nearest;
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Makefile:2128: recipe for target 'sipQtCoreQResource.o' failed
make[1]: *** [sipQtCoreQResource.o] Error 1
make[1]: Leaving directory '/tmp/SBo/PyQt5_gpl-5.6/QtCore'
I suggest you to check your cpu temperature. In the bios for instance or by running the command below :
Code:
$ sensors
If you get this message :
Code:
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
as root, run the command modprobe coretemp, then re-run the command sensors
if you get the same message as earlier, then, run, as root, the command sensors-detect and validate default answer to each question. At the end, it will give you a list of command as below :
At this point, run, as root, each of the commands that sensors-detect has returned, and run the command sensors, which should give you something like that :
I'll let the computer cool a bit and run the sensors test before and after.. from what I have seen, during compilation the temperature oscilates between 72C and 80C
CPU is just one part that can overheat. 80° C is rather hot, I do not let my laptop go over 70° C. I switch over to powersave governor to keep the temperature down when needed.
Actually I just tried to compile again and even with the CPU's at 55C I just got
/usr/include/c++/5.3.0/limits:1809:13: internal compiler error: Segmentation fault
round_to_nearest;
EDIT: trying again with an icepack under the laptop...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.