Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. G++ crash when compiling Qt5
Forum Updated to NodeBB v4.3 + New Features

G++ crash when compiling Qt5

Scheduled Pinned Locked Moved QtonPi
5 Posts 2 Posters 5.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Asperamanca
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      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

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Asperamanca
        wrote on last edited by
        #3
        1. Because I have way more issues with my Linux distro than with Raspbian
        2. Because I need my PC for other stuff, but have idle time on the Pi
        3. Because it's fun

        But I get your point

        1 Reply Last reply
        0
        • JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          Ah, the dilemmas that face us nerds... ;)

          I wish you all the best

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Asperamanca
            wrote on last edited by
            #5

            Well, I'll do without WebKit for now, and cross-compile once I have some time on my hands.

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved