Привет, друзья!
Пытаюсь собрать Qt с помощью компилятора mingw64 версии
COLLECT_GCC=C:\Development\mingw64\bin\g++.exe
COLLECT_LTO_WRAPPER=C:/Development/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/5.2.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../../../src/gcc-5.2.0/configure --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --target=x86_64-
w64-mingw32 --prefix=/mingw64 --with-sysroot=/c/mingw520/x86_64-520-posix-seh-rt_v4-rev0/mingw64 --with-gxx-include-dir
=/mingw64/x86_64-w64-mingw32/include/c++ --enable-shared --enable-static --disable-multilib --enable-languages=c,c++,fo
rtran,objc,obj-c++,lto --enable-libstdcxx-time=yes --enable-threads=posix --enable-libgomp --enable-libatomic --enable-
lto --enable-graphite --enable-checking=release --enable-fully-dynamic-string --enable-version-specific-runtime-libs --
disable-isl-version-check --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-bootstrap --disable-rpath --disabl
e-win32-registry --disable-nls --disable-werror --disable-symvers --with-gnu-as --with-gnu-ld --with-arch=n
ocona --with-tune=core2 --with-libiconv --with-system-zlib --with-gmp=/c/mingw520/prerequisites/x86_64-w64-mingw32-stat
ic --with-mpfr=/c/mingw520/prerequisites/x86_64-w64-mingw32-static --with-mpc=/c/mingw520/prerequisites/x86_64-w64-ming
w32-static --with-isl=/c/mingw520/prerequisites/x86_64-w64-mingw32-static --with-pkgversion='x86_64-posix-seh-rev0, Bui
lt by MinGW-W64 project' --with-bugurl=http://sourceforge.net/projects/mingw-w64 CFLAGS='-O2 -pipe -I/c/mingw520/x86_64
-520-posix-seh-rt_v4-rev0/mingw64/opt/include -I/c/mingw520/prerequisites/x86_64-zlib-static/include -I/c/mingw520/prer
equisites/x86_64-w64-mingw32-static/include' CXXFLAGS='-O2 -pipe -I/c/mingw520/x86_64-520-posix-seh-rt_v4-rev0/mingw64/
opt/include -I/c/mingw520/prerequisites/x86_64-zlib-static/include -I/c/mingw520/prerequisites/x86_64-w64-mingw32-stati
c/include' CPPFLAGS= LDFLAGS='-pipe -L/c/mingw520/x86_64-520-posix-seh-rt_v4-rev0/mingw64/opt/lib -L/c/mingw520/prerequ
isites/x86_64-zlib-static/lib -L/c/mingw520/prerequisites/x86_64-w64-min
gw32-static/lib '
Thread model: posix
gcc version 5.2.0 (x86_64-posix-seh-rev0, Built by MinGW-W64 project)
Конфигурация протекает успешно:
+ cd qtbase
+ C:\src\1\qt-everywhere-opensource-src-5.5.1\qtbase\configure.bat -top-level -confirm-license -prefix C:\Qt\Qt5.5.1_mingw64 -debug-and-release -opensource -c++11 -shared -make tools -opengl desktop -no-angle -nomake tests -nomake examples
This is the Qt for Windows Open Source Edition.
You have already accepted the terms of the license.
...
Running configuration tests...
Environment:
INCLUDE=
Unset
LIB=
Unset
PATH=
C:\Development\mingw64\bin
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
C:\jom\
C:\Python34\
C:\Python34\Scripts
C:\Perl64\site\bin
C:\Perl64\bin
C:\Program Files (x86)\Cuminas\Document Express DjVu Plug-in\
C:\Program Files (x86)\Intel\iCLS Client\
C:\Program Files\Intel\iCLS Client\
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Program Files\Intel\Intel(R) Management Engine Components\DAL
C:\Program Files\Intel\Intel(R) Management Engine Components\IPT
C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL
C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT
C:\Program Files (x86)\Google\Google Apps Sync\
C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\
C:\Program Files\Microsoft SQL Server\110\Tools\Binn\
C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\
C:\Program Files\Microsoft SQL Server\100\Tools\Binn\
C:\Program Files\Microsoft SQL Server\100\DTS\Binn\
C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\
C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\
C:\Users\dbabkov\AppData\Local\Programs\Git\bin
Configuration:
pcre
debug
compile_examples
Qt Configuration:
minimal-config
small-config
medium-config
large-config
full-config
debug_and_release build_all release
debug
c++11
shared
system-zlib
png
freetype
harfbuzz
build_all
accessibility
opengl
audio-backend
native-gestures
qpa
iconv
concurrent
QMAKESPEC...................win32-g++ (detected)
Architecture................x86_64, features: cx16 mmx sse sse2 sse3
Host Architecture...........x86_64, features: cx16 mmx sse sse2 sse3
Maketool....................mingw32-make
Debug build.................yes (combined)
Default build...............debug
Force debug info............no
C++11 support...............yes
Link Time Code Generation...no
Accessibility support.......yes
RTTI support................yes
SSE2 support................yes
SSE3 support................yes
SSSE3 support...............yes
SSE4.1 support..............yes
SSE4.2 support..............yes
AVX support.................yes
AVX2 support................yes
NEON support................no
OpenGL support..............yes
Large File support..........yes
NIS support.................no
Iconv support...............yes
Evdev support...............no
Mtdev support...............no
Inotify support.............no
eventfd(7) support..........no
Glib support................no
CUPS support................no
OpenVG support..............no
SSL support.................no
OpenSSL support.............no
libproxy support............no
Qt D-Bus support............no
Qt Widgets module support...yes
Qt GUI module support.......yes
QML debugging...............yes
DirectWrite support.........no
Use system proxies..........no
QPA Backends:
GDI.....................yes
Direct2D................no
Third Party Libraries:
ZLIB support............system
GIF support.............plugin
JPEG support............plugin
PNG support.............yes
FreeType support........yes
Fontconfig support......no
HarfBuzz support........qt
PCRE support............qt
ICU support.............no
ANGLE...................no
Dynamic OpenGL..........no
Styles:
Windows.................yes
Windows XP..............yes
Windows Vista...........yes
Fusion..................yes
Windows CE..............no
Windows Mobile..........no
Sql Drivers:
ODBC....................no
MySQL...................no
OCI.....................no
PostgreSQL..............no
TDS.....................no
DB2.....................no
SQLite..................plugin (qt)
SQLite2.................no
InterBase...............no
Sources are in..............C:\src\1\qt-everywhere-opensource-src-5.5.1\qtbase
Build is done in............C:\src\1\qt-everywhere-opensource-src-5.5.1\qtbase
Install prefix..............C:\Qt\Qt5.5.1_mingw64
Headers installed to........C:\Qt\Qt5.5.1_mingw64\include
Libraries installed to......C:\Qt\Qt5.5.1_mingw64\lib
Arch-dep. data to...........C:\Qt\Qt5.5.1_mingw64
Plugins installed to........C:\Qt\Qt5.5.1_mingw64\plugins
Library execs installed to..C:\Qt\Qt5.5.1_mingw64\bin
QML1 imports installed to...C:\Qt\Qt5.5.1_mingw64\imports
QML2 imports installed to...C:\Qt\Qt5.5.1_mingw64\qml
Binaries installed to.......C:\Qt\Qt5.5.1_mingw64\bin
Arch-indep. data to.........C:\Qt\Qt5.5.1_mingw64
Docs installed to...........C:\Qt\Qt5.5.1_mingw64\doc
Translations installed to...C:\Qt\Qt5.5.1_mingw64\translations
Examples installed to.......C:\Qt\Qt5.5.1_mingw64\examples
Tests installed to..........C:\Qt\Qt5.5.1_mingw64\tests
Info: creating super cache file C:\src\1\qt-everywhere-opensource-src-5.5.1\.qmake.super
Qt is now configured for building. Just run mingw32-make.
To reconfigure, run mingw32-make confclean and configure.
Сборка тоже протекает успешно, компиль только периодически ругается (предупреждения)
В момент установки происходит копирование файлов, а также снова что-то компилится... И в этом процессе выскакивает ошибка:
c:/Development/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/as.exe: .obj/debug/IFCReaderGen.o: too many sections (41731)
{standard input}: Assembler messages:
{standard input}: Fatal error: can't write .obj/debug/IFCReaderGen.o: File too big
c:/Development/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.2.0/../../../../x86_64-w64-mingw32/bin/as.exe: .obj/debug/IFCReaderGen.o: too many sections (41731)
{standard input}: Fatal error: can't close .obj/debug/IFCReaderGen.o: File too big
В гугле нашёл фразу:
Was the file built with -ffunction-sections?
Хотел бы узнать, как мне вставить этот параметр при компиляции 3rdparty/assimp?