G++ crash when compiling Qt5
-
I have spent the last week trying to build a full Qt5 on the Pi.
After 48 hours of straight compiling, I get a g++ internal error on the source file SVGAllInOne.cpp
@{standard input}: Assembler messages:
{standard input}:177523: Warning: end of file not at end of a line; newline inserted
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
make[3]: *** [.obj/release-shared/svg/SVGAllInOne.o] Error 4
make[3]: Leaving directory/qt5/qtwebkit/Source/WebCore' make[2]: *** [sub-Target-pri-make_first-ordered] Error 2 make[2]: Leaving directory
/qt5/qtwebkit/Source/WebCore'
make[1]: *** [sub-Source-WebCore-WebCore-pro-make_first-ordered] Error 2
make[1]: Leaving directory `/qt5/qtwebkit'
make: *** [module-qtwebkit-make_first] Error 2@My configure options are: -prefix -nomake tests -nomake examples -no-pch
Edit: Can't attach the full g++ command line (>6000 characters). I'll provide it on demand.
-
https://bitcointalk.org/index.php?topic=110627.0
The Raspberry Pi doesn't have a whole lot of RAM, but Qt (especially Qt WebKit) is huge. You could be running out of memory.
Why not cross-compile? Your PC has more RAM and CPU grunt to to the task; your PC should also be able to finish compilation in only a few hours, rather than a few days
-
- Because I have way more issues with my Linux distro than with Raspbian
- Because I need my PC for other stuff, but have idle time on the Pi
- Because it's fun
But I get your point
-
Ah, the dilemmas that face us nerds... ;)
I wish you all the best
-
Well, I'll do without WebKit for now, and cross-compile once I have some time on my hands.