Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt 4.8.6 gmake failed with segmentation fault under Vagrant/VirtualBox
Forum Updated to NodeBB v4.3 + New Features

Qt 4.8.6 gmake failed with segmentation fault under Vagrant/VirtualBox

Scheduled Pinned Locked Moved Unsolved General and Desktop
14 Posts 2 Posters 3.4k 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.
  • mrjjM Offline
    mrjjM Offline
    mrjj
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi And welcome.
    Sadly the upload is still broken so not possible to see the actual error.

    1 GB ram seems not so much for OS + compiler but i cant say its that for sure.

    There seems to be no precompiled
    https://download.qt.io/official_releases/qt/4.8/4.8.6/

    Can I ask why you want/need such old version ?

    1 Reply Last reply
    0
    • U Offline
      U Offline
      umair
      wrote on last edited by
      #3

      I tried to upload the file again but it failed. https://gist.github.com/umrashrf/ee41119cda859cf28413d69ae249305d

      I also tried again with:
      ./configure -opensource -no-webkit -no-qt3support -fast
      And it was fast this time but same error.
      https://gist.github.com/umrashrf/bb16bb4b831aa993f1a490ecca026b7c

      I am debugging issues in a software which was made a long time ago and it depends on Qt4. I did try Qt5 and couldn't compile on Scientific Linux 6.5 which is more like CentOS 6. I have a history of failing to install newer versions of software on CentOS 6.

      mrjjM 1 Reply Last reply
      0
      • U umair

        I tried to upload the file again but it failed. https://gist.github.com/umrashrf/ee41119cda859cf28413d69ae249305d

        I also tried again with:
        ./configure -opensource -no-webkit -no-qt3support -fast
        And it was fast this time but same error.
        https://gist.github.com/umrashrf/bb16bb4b831aa993f1a490ecca026b7c

        I am debugging issues in a software which was made a long time ago and it depends on Qt4. I did try Qt5 and couldn't compile on Scientific Linux 6.5 which is more like CentOS 6. I have a history of failing to install newer versions of software on CentOS 6.

        mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #4

        @umair
        Hi

        • kernel/qauthenticator.cpp:1436: internal compiler error: Segmentation fault

        What version of gcc ? Would it be possible to try a newer one ?
        I doubt its related to running out of memory but more likely compiler bug/
        something else.

        https://bugreports.qt.io/browse/QTBUG-45974

        Ok, good old maintenance :)

        • failing to install newer versions of software on CentOS 6.

        But if you are using virtual machines, cant you just use another linux variant if
        CentOS 6 is troublesome ?

        1 Reply Last reply
        1
        • U Offline
          U Offline
          umair
          wrote on last edited by
          #5

          [vagrant@localhost qt-everywhere-opensource-src-4.8.6]$ gcc --version
          gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18)
          Copyright (C) 2010 Free Software Foundation, Inc.
          This is free software; see the source for copying conditions. There is NO
          warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

          1 Reply Last reply
          0
          • mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #6

            Ok that is pretty old :)

            Im trying to find out what gcc version is expected for 4.8.6 since
            it might be that.

            1 Reply Last reply
            0
            • U Offline
              U Offline
              umair
              wrote on last edited by
              #7

              But if you are using virtual machines, cant you just use another linux variant if
              CentOS 6 is troublesome ?

              Can't. It's a school project :)

              The idea is to grab a version of Scientific Linux 6 from the official website and run a bunch of scripts to meet deps and then install the aged software.

              I am going to do the same for Scientific Linux 7 and will use the newer versions of deps.

              If the conclusion is to not use Scientific Linux 6 then it's not a solution. I have the liberty to convince people to move to newer OS and that'd be very easy for me but it's like giving up very early :)

              mrjjM 1 Reply Last reply
              0
              • U umair

                But if you are using virtual machines, cant you just use another linux variant if
                CentOS 6 is troublesome ?

                Can't. It's a school project :)

                The idea is to grab a version of Scientific Linux 6 from the official website and run a bunch of scripts to meet deps and then install the aged software.

                I am going to do the same for Scientific Linux 7 and will use the newer versions of deps.

                If the conclusion is to not use Scientific Linux 6 then it's not a solution. I have the liberty to convince people to move to newer OS and that'd be very easy for me but it's like giving up very early :)

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #8

                @umair
                Oh. i did not mean to give up Scientific Linux 6.
                Just asking as sometimes developers can use one version of Os to develop for other
                version. Like its possible to use win 10 to make app for win xp. Where as
                running the compiler on win Xp is not supported.
                Same applies to linux. you could produce programs from linux distro X to
                say CentOS 6.

                But i think you will need a newer gcc.
                Is that possible ?

                1 Reply Last reply
                0
                • U Offline
                  U Offline
                  umair
                  wrote on last edited by
                  #9

                  I can upgrade gcc but I am afraid it will break other stuff. Let me try it anyway with version gcc 4.9.

                  Could you find which gcc version it should work with?

                  mrjjM 1 Reply Last reply
                  0
                  • U umair

                    I can upgrade gcc but I am afraid it will break other stuff. Let me try it anyway with version gcc 4.9.

                    Could you find which gcc version it should work with?

                    mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by mrjj
                    #10

                    @umair
                    Use copy of virtual machine so if it breaks it wont matter :)

                    Well i cant as it dont go that far back
                    https://doc.qt.io/qt-5/supported-platforms-and-configurations.html

                    But im sure some of the others will know.

                    I found some docs hinting gcc 4.4 but could not really find solid doc.

                    1 Reply Last reply
                    2
                    • U Offline
                      U Offline
                      umair
                      wrote on last edited by
                      #11

                      thanks @mrjj

                      mrjjM 1 Reply Last reply
                      1
                      • U umair

                        thanks @mrjj

                        mrjjM Offline
                        mrjjM Offline
                        mrjj
                        Lifetime Qt Champion
                        wrote on last edited by mrjj
                        #12

                        @umair
                        Currently trying building 4.8.6 in mint linux just to see
                        it does in fact just build with newer gcc.
                        (its gcc 5.4 (2015) )

                        Update:
                        did just build.

                        So good chances a slightly newer gcc will work.

                        U 1 Reply Last reply
                        3
                        • mrjjM mrjj

                          @umair
                          Currently trying building 4.8.6 in mint linux just to see
                          it does in fact just build with newer gcc.
                          (its gcc 5.4 (2015) )

                          Update:
                          did just build.

                          So good chances a slightly newer gcc will work.

                          U Offline
                          U Offline
                          umair
                          wrote on last edited by
                          #13

                          @mrjj my gcc make is still running :)

                          mrjjM 1 Reply Last reply
                          1
                          • U umair

                            @mrjj my gcc make is still running :)

                            mrjjM Offline
                            mrjjM Offline
                            mrjj
                            Lifetime Qt Champion
                            wrote on last edited by mrjj
                            #14

                            @umair
                            If you are using a multi core system make sure to use
                            make -jX
                            so it uses all cores it can get. that speeds up considerably
                            X being your numbers of cores

                            ps. crossing fingers :)

                            1 Reply Last reply
                            2

                            • Login

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