Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt5 Build Error in MSYS/MinGW environment

Qt5 Build Error in MSYS/MinGW environment

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
msysmingw
2 Posts 2 Posters 1.6k 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.
  • P Offline
    P Offline
    Paul H.
    wrote on 22 Jun 2015, 21:29 last edited by A Former User 2 Mar 2017, 17:40
    #1

    Hello. I am trying to build QT 5.4.2 in a MSYS shell, using this toolchain: x86_64-4.9.2-release-win32-seh-rt_v4-rev3. I get the following error:
    "as.exe: .obj/release/qopenglversionfunctionsfactory.o: too many sections (35780)
    Fatal error: can't close .obj/release/qopenglversionfunctionsfactory.o: File too big"

    This is my configuration command:
    ../qt5/configure -prefix /local64/qt5 -platform win32-g++
    -debug-and-release -opensource -no-icu
    -opengl desktop -confirm-license -nomake tests -nomake examples
    -no-openssl
    I have tried this on my Windows 7 desktop as well as my WIndows 8.1 laptop, and get the same error. I have successfully built this version in a windows command shell with the same toolchain, with icu, openssl, and qtwebkit. I just wanted to see if I could build it in an MSYS shell. Anybody here know why I am getting the error mentioned above?
    Thank you.
    Paul

    1 Reply Last reply
    0
    • B Offline
      B Offline
      Bran
      wrote on 3 Feb 2017, 10:52 last edited by
      #2

      I have the same problem with Qt 5.8 and MinGW64 6.3:

      C:/Program Files/mingw-w64/x86_64-6.3.0-posix-seh-rt_v5-rev1/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/6.3.0/../../../../x86_64-w64-mingw32/bin/as.exe: .obj\debug\IFCReaderGen1.o: too many sections (40453)
      {standard input}: Assembler messages:
      {standard input}: Fatal error: can't write 169 bytes to section .text of .obj\debug\IFCReaderGen1.o because: 'File too big'

      ~/> as.exe --version
      GNU assembler (GNU Binutils) 2.27
      This assembler was configured for a target of `x86_64-w64-mingw32'.

      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