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. Error Too Many sections
Forum Updated to NodeBB v4.3 + New Features

Error Too Many sections

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 3 Posters 2.0k Views
  • 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.
  • M Offline
    M Offline
    ManiRon
    wrote on 11 Feb 2020, 09:15 last edited by
    #1

    I am trying to compile an application and while compiling i am facing an issue. While compiling an error occurs (Too Many Sections) that to it says that the error is in .o file . How to solve this issue .
    I am using QT5.5

    J 1 Reply Last reply 11 Feb 2020, 09:20
    0
    • M ManiRon
      11 Feb 2020, 09:15

      I am trying to compile an application and while compiling i am facing an issue. While compiling an error occurs (Too Many Sections) that to it says that the error is in .o file . How to solve this issue .
      I am using QT5.5

      J Offline
      J Offline
      JonB
      wrote on 11 Feb 2020, 09:20 last edited by JonB 2 Nov 2020, 14:02
      #2

      @ManiRon
      I suppose you leave us to guess that you are using gcc/mingw? Have you Googled for gcc too many sections or mingw too many sections?

      M 1 Reply Last reply 11 Feb 2020, 09:32
      1
      • J JonB
        11 Feb 2020, 09:20

        @ManiRon
        I suppose you leave us to guess that you are using gcc/mingw? Have you Googled for gcc too many sections or mingw too many sections?

        M Offline
        M Offline
        ManiRon
        wrote on 11 Feb 2020, 09:32 last edited by
        #3

        @JonB I am using mingw32

        J 1 Reply Last reply 11 Feb 2020, 09:36
        0
        • M ManiRon
          11 Feb 2020, 09:32

          @JonB I am using mingw32

          J Offline
          J Offline
          JonB
          wrote on 11 Feb 2020, 09:36 last edited by
          #4

          @ManiRon
          So have you tried Googling?

          M 1 Reply Last reply 12 Feb 2020, 04:12
          0
          • J JonB
            11 Feb 2020, 09:36

            @ManiRon
            So have you tried Googling?

            M Offline
            M Offline
            ManiRon
            wrote on 12 Feb 2020, 04:12 last edited by
            #5

            @JonB yes i was not able to understand thats why i seek your help

            J 1 Reply Last reply 12 Feb 2020, 05:10
            0
            • M ManiRon
              12 Feb 2020, 04:12

              @JonB yes i was not able to understand thats why i seek your help

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 12 Feb 2020, 05:10 last edited by
              #6

              @ManiRon How big is that object file (.o)? According to https://stackoverflow.com/questions/16596876/object-file-has-too-many-sections this happens if the object file is too big. And what do you do in the cpp file from which the object file is created?

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              M 2 Replies Last reply 13 Feb 2020, 04:05
              0
              • J jsulm
                12 Feb 2020, 05:10

                @ManiRon How big is that object file (.o)? According to https://stackoverflow.com/questions/16596876/object-file-has-too-many-sections this happens if the object file is too big. And what do you do in the cpp file from which the object file is created?

                M Offline
                M Offline
                ManiRon
                wrote on 13 Feb 2020, 04:05 last edited by
                #7

                @jsulm when i ran the compiled in release mode it compiled correctly

                1 Reply Last reply
                0
                • J jsulm
                  12 Feb 2020, 05:10

                  @ManiRon How big is that object file (.o)? According to https://stackoverflow.com/questions/16596876/object-file-has-too-many-sections this happens if the object file is too big. And what do you do in the cpp file from which the object file is created?

                  M Offline
                  M Offline
                  ManiRon
                  wrote on 13 Feb 2020, 04:06 last edited by
                  #8

                  @jsulm size of my .o file is 11MB

                  J 1 Reply Last reply 13 Feb 2020, 06:41
                  0
                  • M ManiRon
                    13 Feb 2020, 04:06

                    @jsulm size of my .o file is 11MB

                    J Offline
                    J Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on 13 Feb 2020, 06:41 last edited by
                    #9

                    @ManiRon The corresponding cpp file must be also quite big?
                    Maybe you should restructure your code?

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    1

                    1/9

                    11 Feb 2020, 09:15

                    • Login

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