d-ronin / dRonin

The dRonin flight controller software.
http://dronin.org
Other
289 stars 167 forks source link

Windows GCS build failure with -j #584

Closed droidicus closed 8 years ago

droidicus commented 8 years ago

I have been experiencing GCS build failures on windows recently after using 'make all_clean && make all -j', it will work fine with -j4, and in the case of my i7 processor I believe that -j is using 8 threads. Here is an example of the end of the build process:

g++ -shared -Wl,-subsystem,console -mthreads -Wl,--out-implib,C:/tau/dRoninFork/build/ground/gcs/lib/dr/plugins/TauLabs/libUAVObjectUtild.a -o ../../../lib/dr/plugins/TauLabs/UAVObjectUtild.dll debug/uavobjectutilmanager.o debug/uavobjectutilplugin.o debug/devicedescriptorstruct.o debug/moc_uavobjectutilmanager.o debug/moc_uavobjectutilplugin.o  -LC:/tau/dRoninFork/build/ground/gcs/lib/dr -LC:/tau/dRoninFork/build/ground/gcs/lib/dr/plugins/TauLabs -lAggregationd -lExtensionSystemd -lUtilsd -lCored -lUAVObjectsd -LC:/Qt/Qt5.5.0/5.5/mingw492_32/lib -lQt5Widgetsd -lQt5Guid -lQt5Testd -lQt5Cored
C:/Qt/Qt5.5.0/5.5/mingw492_32/bin/ccache g++ -c -pipe -fno-keep-inline-dllexport -mno-ms-bitfields -g -std=c++0x -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DBRANDING_PATH=\"C:/tau/dRoninFork/ground/gcs/../../branding\" -DGCS_PROJECT_BRANDING=\"dr\" -DGCS_PROJECT_BRANDING_PRETTY=\"dRonin\" -DGCS_PROJECT_BRANDING_HELP=\"http://dronin.org\" -DGCS_LIBRARY_BASENAME=\"lib\" -DWITH_TESTS -DGCS_VERSION_INFO_FILE=\"C:/tau/dRoninFork/build/ground/gcs/gcsversioninfo.h\" -DGCS_DATA_BASENAME=\"share\" -DQT_NO_CAST_TO_ASCII -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"C:/tau/dRoninFork/build/ground/gcs/src/plugins/uavobjectbrowser"' -IC:/tau/dRoninFork/ground/gcs/src/plugins/uavobjectbrowser -I. -IC:/tau/dRoninFork/shared/api -IC:/tau/dRoninFork/ground/gcs/src/libs -IC:/tau/dRoninFork/ground/gcs/src/plugins -IC:/tau/dRoninFork/build/uavobject-synthetics/gcs -IC:/tau/dRoninFork/ground/gcs/src/plugins/uavobjects -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtWidgets -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtGui -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtANGLE -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtTest -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtCore -Idebug -I. -IC:/Qt/Qt5.5.0/5.5/mingw492_32/mkspecs/win32-g++  -o debug/moc_fieldtreeitem.o debug/moc_fieldtreeitem.cpp
C:/Qt/Qt5.5.0/5.5/mingw492_32/bin/ccache g++ -c -pipe -fno-keep-inline-dllexport -mno-ms-bitfields -g -std=c++0x -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DBRANDING_PATH=\"C:/tau/dRoninFork/ground/gcs/../../branding\" -DGCS_PROJECT_BRANDING=\"dr\" -DGCS_PROJECT_BRANDING_PRETTY=\"dRonin\" -DGCS_PROJECT_BRANDING_HELP=\"http://dronin.org\" -DGCS_LIBRARY_BASENAME=\"lib\" -DWITH_TESTS -DGCS_VERSION_INFO_FILE=\"C:/tau/dRoninFork/build/ground/gcs/gcsversioninfo.h\" -DGCS_DATA_BASENAME=\"share\" -DQT_NO_CAST_TO_ASCII -DQWT_DLL -DQT_PLUGIN -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"C:/tau/dRoninFork/build/ground/gcs/src/plugins/gpsdisplay"' -IC:/tau/dRoninFork/ground/gcs/src/plugins/gpsdisplay -I. -IC:/tau/dRoninFork/shared/api -IC:/tau/dRoninFork/ground/gcs/src/libs -IC:/tau/dRoninFork/ground/gcs/src/plugins -IC:/tau/dRoninFork/build/uavobject-synthetics/gcs -IC:/tau/dRoninFork/ground/gcs/src/plugins/uavobjects -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtSvg -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtWidgets -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtGui -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtANGLE -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtSerialPort -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtTest -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtCore -Idebug -I. -IC:/Qt/Qt5.5.0/5.5/mingw492_32/mkspecs/win32-g++  -o debug/moc_gpsparser.o debug/moc_gpsparser.cpp
C:/Qt/Qt5.5.0/5.5/mingw492_32/bin/ccache g++ -c -pipe -fno-keep-inline-dllexport -mno-ms-bitfields -g -std=c++0x -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DBRANDING_PATH=\"C:/tau/dRoninFork/ground/gcs/../../branding\" -DGCS_PROJECT_BRANDING=\"dr\" -DGCS_PROJECT_BRANDING_PRETTY=\"dRonin\" -DGCS_PROJECT_BRANDING_HELP=\"http://dronin.org\" -DGCS_LIBRARY_BASENAME=\"lib\" -DWITH_TESTS -DGCS_VERSION_INFO_FILE=\"C:/tau/dRoninFork/build/ground/gcs/gcsversioninfo.h\" -DGCS_DATA_BASENAME=\"share\" -DQT_NO_CAST_TO_ASCII -DQT_PLUGIN -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"C:/tau/dRoninFork/build/ground/gcs/src/plugins/dial"' -IC:/tau/dRoninFork/ground/gcs/src/plugins/dial -I. -IC:/tau/dRoninFork/shared/api -IC:/tau/dRoninFork/ground/gcs/src/libs -IC:/tau/dRoninFork/ground/gcs/src/plugins -IC:/tau/dRoninFork/build/uavobject-synthetics/gcs -IC:/tau/dRoninFork/ground/gcs/src/plugins/uavobjects -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtSvg -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtWidgets -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtGui -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtANGLE -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtTest -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtCore -Idebug -I. -IC:/Qt/Qt5.5.0/5.5/mingw492_32/mkspecs/win32-g++  -o debug/moc_dialgadget.o debug/moc_dialgadget.cpp
C:/Qt/Qt5.5.0/5.5/mingw492_32/bin/ccache g++ -c -pipe -fno-keep-inline-dllexport -mno-ms-bitfields -g -std=c++0x -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DBRANDING_PATH=\"C:/tau/dRoninFork/ground/gcs/../../branding\" -DGCS_PROJECT_BRANDING=\"dr\" -DGCS_PROJECT_BRANDING_PRETTY=\"dRonin\" -DGCS_PROJECT_BRANDING_HELP=\"http://dronin.org\" -DGCS_LIBRARY_BASENAME=\"lib\" -DWITH_TESTS -DGCS_VERSION_INFO_FILE=\"C:/tau/dRoninFork/build/ground/gcs/gcsversioninfo.h\" -DGCS_DATA_BASENAME=\"share\" -DQT_NO_CAST_TO_ASCII -DQWT_DLL -DQT_PLUGIN -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"C:/tau/dRoninFork/build/ground/gcs/src/plugins/gpsdisplay"' -IC:/tau/dRoninFork/ground/gcs/src/plugins/gpsdisplay -I. -IC:/tau/dRoninFork/shared/api -IC:/tau/dRoninFork/ground/gcs/src/libs -IC:/tau/dRoninFork/ground/gcs/src/plugins -IC:/tau/dRoninFork/build/uavobject-synthetics/gcs -IC:/tau/dRoninFork/ground/gcs/src/plugins/uavobjects -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtSvg -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtWidgets -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtGui -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtANGLE -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtSerialPort -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtTest -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtCore -Idebug -I. -IC:/Qt/Qt5.5.0/5.5/mingw492_32/mkspecs/win32-g++  -o debug/moc_nmeaparser.o debug/moc_nmeaparser.cpp
C:/Qt/Qt5.5.0/5.5/mingw492_32/bin/ccache g++ -c -pipe -fno-keep-inline-dllexport -mno-ms-bitfields -g -std=c++0x -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DBRANDING_PATH=\"C:/tau/dRoninFork/ground/gcs/../../branding\" -DGCS_PROJECT_BRANDING=\"dr\" -DGCS_PROJECT_BRANDING_PRETTY=\"dRonin\" -DGCS_PROJECT_BRANDING_HELP=\"http://dronin.org\" -DGCS_LIBRARY_BASENAME=\"lib\" -DWITH_TESTS -DGCS_VERSION_INFO_FILE=\"C:/tau/dRoninFork/build/ground/gcs/gcsversioninfo.h\" -DGCS_DATA_BASENAME=\"share\" -DQT_NO_CAST_TO_ASCII -DQT_PLUGIN -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"C:/tau/dRoninFork/build/ground/gcs/src/plugins/dial"' -IC:/tau/dRoninFork/ground/gcs/src/plugins/dial -I. -IC:/tau/dRoninFork/shared/api -IC:/tau/dRoninFork/ground/gcs/src/libs -IC:/tau/dRoninFork/ground/gcs/src/plugins -IC:/tau/dRoninFork/build/uavobject-synthetics/gcs -IC:/tau/dRoninFork/ground/gcs/src/plugins/uavobjects -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtSvg -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtWidgets -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtGui -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtANGLE -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtTest -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtCore -Idebug -I. -IC:/Qt/Qt5.5.0/5.5/mingw492_32/mkspecs/win32-g++  -o debug/moc_dialgadgetoptionspage.o debug/moc_dialgadgetoptionspage.cpp
C:/Qt/Qt5.5.0/5.5/mingw492_32/bin/ccache g++ -c -pipe -fno-keep-inline-dllexport -mno-ms-bitfields -g -std=c++0x -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DBRANDING_PATH=\"C:/tau/dRoninFork/ground/gcs/../../branding\" -DGCS_PROJECT_BRANDING=\"dr\" -DGCS_PROJECT_BRANDING_PRETTY=\"dRonin\" -DGCS_PROJECT_BRANDING_HELP=\"http://dronin.org\" -DGCS_LIBRARY_BASENAME=\"lib\" -DWITH_TESTS -DGCS_VERSION_INFO_FILE=\"C:/tau/dRoninFork/build/ground/gcs/gcsversioninfo.h\" -DGCS_DATA_BASENAME=\"share\" -DQT_NO_CAST_TO_ASCII -DQWT_DLL -DQT_PLUGIN -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"C:/tau/dRoninFork/build/ground/gcs/src/plugins/gpsdisplay"' -IC:/tau/dRoninFork/ground/gcs/src/plugins/gpsdisplay -I. -IC:/tau/dRoninFork/shared/api -IC:/tau/dRoninFork/ground/gcs/src/libs -IC:/tau/dRoninFork/ground/gcs/src/plugins -IC:/tau/dRoninFork/build/uavobject-synthetics/gcs -IC:/tau/dRoninFork/ground/gcs/src/plugins/uavobjects -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtSvg -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtWidgets -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtGui -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtANGLE -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtSerialPort -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtTest -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtCore -Idebug -I. -IC:/Qt/Qt5.5.0/5.5/mingw492_32/mkspecs/win32-g++  -o debug/moc_gpsdisplaygadget.o debug/moc_gpsdisplaygadget.cpp
C:/Qt/Qt5.5.0/5.5/mingw492_32/bin/ccache g++ -c -pipe -fno-keep-inline-dllexport -mno-ms-bitfields -g -std=c++0x -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DBRANDING_PATH=\"C:/tau/dRoninFork/ground/gcs/../../branding\" -DGCS_PROJECT_BRANDING=\"dr\" -DGCS_PROJECT_BRANDING_PRETTY=\"dRonin\" -DGCS_PROJECT_BRANDING_HELP=\"http://dronin.org\" -DGCS_LIBRARY_BASENAME=\"lib\" -DWITH_TESTS -DGCS_VERSION_INFO_FILE=\"C:/tau/dRoninFork/build/ground/gcs/gcsversioninfo.h\" -DGCS_DATA_BASENAME=\"share\" -DQT_NO_CAST_TO_ASCII -DQT_PLUGIN -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"C:/tau/dRoninFork/build/ground/gcs/src/plugins/lineardial"' -IC:/tau/dRoninFork/ground/gcs/src/plugins/lineardial -I. -IC:/tau/dRoninFork/shared/api -IC:/tau/dRoninFork/ground/gcs/src/libs -IC:/tau/dRoninFork/ground/gcs/src/plugins -IC:/tau/dRoninFork/build/uavobject-synthetics/gcs -IC:/tau/dRoninFork/ground/gcs/src/plugins/uavobjects -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtSvg -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtWidgets -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtGui -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtANGLE -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtTest -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtCore -Idebug -I. -IC:/Qt/Qt5.5.0/5.5/mingw492_32/mkspecs/win32-g++  -o debug/moc_lineardialgadgetwidget.o debug/moc_lineardialgadgetwidget.cpp
g++ -shared -Wl,-subsystem,console -mthreads -Wl,--out-implib,C:/tau/dRoninFork/build/ground/gcs/lib/dr/plugins/TauLabs/libGCSControld.a -o ../../../lib/dr/plugins/TauLabs/GCSControld.dll object_script.GCSControld.Debug  -LC:/tau/dRoninFork/build/ground/gcs/lib/dr -LC:/tau/dRoninFork/build/ground/gcs/lib/dr/plugins/TauLabs -lAggregationd -lExtensionSystemd -lUtilsd -lCored -lUAVObjectsd -lUAVObjectUtild -LC:/Qt/Qt5.5.0/5.5/mingw492_32/lib -lQt5Svgd -lQt5Widgetsd -lQt5Guid -lQt5Testd -lQt5Networkd -lQt5Cored
C:/Qt/Qt5.5.0/5.5/mingw492_32/bin/ccache g++ -c -pipe -fno-keep-inline-dllexport -mno-ms-bitfields -g -std=c++0x -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DBRANDING_PATH=\"C:/tau/dRoninFork/ground/gcs/../../branding\" -DGCS_PROJECT_BRANDING=\"dr\" -DGCS_PROJECT_BRANDING_PRETTY=\"dRonin\" -DGCS_PROJECT_BRANDING_HELP=\"http://dronin.org\" -DGCS_LIBRARY_BASENAME=\"lib\" -DWITH_TESTS -DGCS_VERSION_INFO_FILE=\"C:/tau/dRoninFork/build/ground/gcs/gcsversioninfo.h\" -DGCS_DATA_BASENAME=\"share\" -DQT_NO_CAST_TO_ASCII -DUAVTALK_LIBRARY -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"C:/tau/dRoninFork/build/ground/gcs/src/plugins/uavtalk"' -IC:/tau/dRoninFork/ground/gcs/src/plugins/uavtalk -I. -IC:/tau/dRoninFork/shared/api -IC:/tau/dRoninFork/ground/gcs/src/libs -IC:/tau/dRoninFork/ground/gcs/src/plugins -IC:/tau/dRoninFork/build/uavobject-synthetics/gcs -IC:/tau/dRoninFork/ground/gcs/src/plugins/uavobjects -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtWidgets -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtGui -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtANGLE -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtNetwork -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtTest -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtCore -Idebug -IC:/Qt/Qt5.5.0/5.5/mingw492_32/mkspecs/win32-g++  -o debug/moc_telemetrymonitor.o debug/moc_telemetrymonitor.cpp
C:/Qt/Qt5.5.0/5.5/mingw492_32/bin/ccache g++ -c -pipe -fno-keep-inline-dllexport -mno-ms-bitfields -g -std=c++0x -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DBRANDING_PATH=\"C:/tau/dRoninFork/ground/gcs/../../branding\" -DGCS_PROJECT_BRANDING=\"dr\" -DGCS_PROJECT_BRANDING_PRETTY=\"dRonin\" -DGCS_PROJECT_BRANDING_HELP=\"http://dronin.org\" -DGCS_LIBRARY_BASENAME=\"lib\" -DWITH_TESTS -DGCS_VERSION_INFO_FILE=\"C:/tau/dRoninFork/build/ground/gcs/gcsversioninfo.h\" -DGCS_DATA_BASENAME=\"share\" -DQT_NO_CAST_TO_ASCII -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"C:/tau/dRoninFork/build/ground/gcs/src/plugins/uavobjectbrowser"' -IC:/tau/dRoninFork/ground/gcs/src/plugins/uavobjectbrowser -I. -IC:/tau/dRoninFork/shared/api -IC:/tau/dRoninFork/ground/gcs/src/libs -IC:/tau/dRoninFork/ground/gcs/src/plugins -IC:/tau/dRoninFork/build/uavobject-synthetics/gcs -IC:/tau/dRoninFork/ground/gcs/src/plugins/uavobjects -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtWidgets -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtGui -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtANGLE -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtTest -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtCore -Idebug -I. -IC:/Qt/Qt5.5.0/5.5/mingw492_32/mkspecs/win32-g++  -o debug/moc_uavobjectbrowserwidget.o debug/moc_uavobjectbrowserwidget.cpp
C:/Qt/Qt5.5.0/5.5/mingw492_32/bin/ccache g++ -c -pipe -fno-keep-inline-dllexport -mno-ms-bitfields -g -std=c++0x -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DBRANDING_PATH=\"C:/tau/dRoninFork/ground/gcs/../../branding\" -DGCS_PROJECT_BRANDING=\"dr\" -DGCS_PROJECT_BRANDING_PRETTY=\"dRonin\" -DGCS_PROJECT_BRANDING_HELP=\"http://dronin.org\" -DGCS_LIBRARY_BASENAME=\"lib\" -DWITH_TESTS -DGCS_VERSION_INFO_FILE=\"C:/tau/dRoninFork/build/ground/gcs/gcsversioninfo.h\" -DGCS_DATA_BASENAME=\"share\" -DQT_NO_CAST_TO_ASCII -DUAVTALK_LIBRARY -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"C:/tau/dRoninFork/build/ground/gcs/src/plugins/uavtalk"' -IC:/tau/dRoninFork/ground/gcs/src/plugins/uavtalk -I. -IC:/tau/dRoninFork/shared/api -IC:/tau/dRoninFork/ground/gcs/src/libs -IC:/tau/dRoninFork/ground/gcs/src/plugins -IC:/tau/dRoninFork/build/uavobject-synthetics/gcs -IC:/tau/dRoninFork/ground/gcs/src/plugins/uavobjects -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtWidgets -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtGui -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtANGLE -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtNetwork -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtTest -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtCore -Idebug -IC:/Qt/Qt5.5.0/5.5/mingw492_32/mkspecs/win32-g++  -o debug/moc_uavtalkplugin.o debug/moc_uavtalkplugin.cpp
g++ -shared -Wl,-subsystem,console -mthreads -Wl,--out-implib,C:/tau/dRoninFork/build/ground/gcs/lib/dr/plugins/TauLabs/libDialGadgetd.a -o ../../../lib/dr/plugins/TauLabs/DialGadgetd.dll object_script.DialGadgetd.Debug  -LC:/tau/dRoninFork/build/ground/gcs/lib/dr -LC:/tau/dRoninFork/build/ground/gcs/lib/dr/plugins/TauLabs -lAggregationd -lExtensionSystemd -lUtilsd -lCored -lUAVObjectsd -LC:/Qt/Qt5.5.0/5.5/mingw492_32/lib -lQt5Svgd -lQt5Widgetsd -lQt5Guid -lQt5Testd -lQt5Cored
g++ -shared -Wl,-subsystem,console -mthreads -Wl,--out-implib,C:/tau/dRoninFork/build/ground/gcs/lib/dr/plugins/TauLabs/libMagicWaypointd.a -o ../../../lib/dr/plugins/TauLabs/MagicWaypointd.dll object_script.MagicWaypointd.Debug  -LC:/tau/dRoninFork/build/ground/gcs/lib/dr -LC:/tau/dRoninFork/build/ground/gcs/lib/dr/plugins/TauLabs -lAggregationd -lExtensionSystemd -lUtilsd -lCored -lUAVObjectsd -LC:/Qt/Qt5.5.0/5.5/mingw492_32/lib -lQt5Svgd -lQt5Widgetsd -lQt5Guid -lQt5Testd -lQt5Cored
g++ -shared -Wl,-subsystem,console -mthreads -Wl,--out-implib,C:/tau/dRoninFork/build/ground/gcs/lib/dr/plugins/TauLabs/libQMLViewd.a -o ../../../lib/dr/plugins/TauLabs/QMLViewd.dll object_script.QMLViewd.Debug  -LC:/tau/dRoninFork/build/ground/gcs/lib/dr -LC:/tau/dRoninFork/build/ground/gcs/lib/dr/plugins/TauLabs -lAggregationd -lExtensionSystemd -lUtilsd -lCored -lUAVObjectsd -LC:/Qt/Qt5.5.0/5.5/mingw492_32/lib -lQt5Svgd -lQt5Widgetsd -lQt5Quickd -lQt5Guid -lQt5Qmld -lQt5Networkd -lQt5Testd -lQt5Cored
C:/tau/dRoninFork/build/ground/gcs/lib/dr/plugins/TauLabs/UAVObjectUtild.dll: file not recognized: File truncated
collect2.exe: error: ld returned 1 exit status
g++ -shared -Wl,-subsystem,console -mthreads -Wl,--out-implib,C:/tau/dRoninFork/build/ground/gcs/lib/dr/plugins/TauLabs/libUAVObjectBrowserd.a -o ../../../lib/dr/plugins/TauLabs/UAVObjectBrowserd.dll object_script.UAVObjectBrowserd.Debug  -LC:/tau/dRoninFork/build/ground/gcs/lib/dr -LC:/tau/dRoninFork/build/ground/gcs/lib/dr/plugins/TauLabs -lAggregationd -lExtensionSystemd -lUtilsd -lCored -lUAVObjectsd -lQScienceSpinBoxd -LC:/Qt/Qt5.5.0/5.5/mingw492_32/lib -lQt5Widgetsd -lQt5Guid -lQt5Testd -lQt5Cored
g++ -shared -Wl,-subsystem,console -mthreads -Wl,--out-implib,C:/tau/dRoninFork/build/ground/gcs/lib/dr/plugins/TauLabs/libGpsDisplayGadgetd.a -o ../../../lib/dr/plugins/TauLabs/GpsDisplayGadgetd.dll object_script.GpsDisplayGadgetd.Debug  -LC:/tau/dRoninFork/build/ground/gcs/lib/dr -LC:/tau/dRoninFork/build/ground/gcs/lib/dr/plugins/TauLabs -lAggregationd -lExtensionSystemd -lUtilsd -lCored -lUAVObjectsd -lQwtd -LC:/Qt/Qt5.5.0/5.5/mingw492_32/lib -lQt5Svgd -lQt5Widgetsd -lQt5Guid -lQt5SerialPortd -lQt5Testd -lQt5Cored
Makefile.Debug:117: recipe for target '../../../lib/dr/plugins/TauLabs/GCSControld.dll' failed
mingw32-make[5]: *** [../../../lib/dr/plugins/TauLabs/GCSControld.dll] Error 1
Makefile:34: recipe for target 'debug' failed
mingw32-make[4]: *** [debug] Error 2
g++ -shared -Wl,-subsystem,console -mthreads -Wl,--out-implib,C:/tau/dRoninFork/build/ground/gcs/lib/dr/plugins/TauLabs/libUAVTalkd.a -o ../../../lib/dr/plugins/TauLabs/UAVTalkd.dll object_script.UAVTalkd.Debug  -LC:/tau/dRoninFork/build/ground/gcs/lib/dr -LC:/tau/dRoninFork/build/ground/gcs/lib/dr/plugins/TauLabs -lAggregationd -lExtensionSystemd -lUtilsd -lCored -lUAVObjectsd -LC:/Qt/Qt5.5.0/5.5/mingw492_32/lib -lQt5Widgetsd -lQt5Guid -lQt5Networkd -lQt5Testd -lQt5Cored
Makefile:877: recipe for target 'sub-gcscontrolplugin-make_first' failed
mingw32-make[3]: *** [sub-gcscontrolplugin-make_first] Error 2
mingw32-make[3]: *** Waiting for unfinished jobs....
C:/Qt/Qt5.5.0/5.5/mingw492_32/bin/ccache g++ -c -pipe -fno-keep-inline-dllexport -mno-ms-bitfields -g -std=c++0x -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DBRANDING_PATH=\"C:/tau/dRoninFork/ground/gcs/../../branding\" -DGCS_PROJECT_BRANDING=\"dr\" -DGCS_PROJECT_BRANDING_PRETTY=\"dRonin\" -DGCS_PROJECT_BRANDING_HELP=\"http://dronin.org\" -DGCS_LIBRARY_BASENAME=\"lib\" -DWITH_TESTS -DGCS_VERSION_INFO_FILE=\"C:/tau/dRoninFork/build/ground/gcs/gcsversioninfo.h\" -DGCS_DATA_BASENAME=\"share\" -DQT_NO_CAST_TO_ASCII -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"C:/tau/dRoninFork/build/ground/gcs/src/plugins/modelview"' -IC:/tau/dRoninFork/ground/gcs/src/plugins/modelview -I. -IC:/tau/dRoninFork/shared/api -IC:/tau/dRoninFork/ground/gcs/src/libs -IC:/tau/dRoninFork/ground/gcs/src/plugins -IC:/tau/dRoninFork/build/uavobject-synthetics/gcs -IC:/tau/dRoninFork/ground/gcs/src/plugins/uavobjects -IC:/tau/dRoninFork/ground/gcs/src/libs/glc_lib -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtOpenGL -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtWidgets -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtGui -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtANGLE -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtTest -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtCore -Idebug -I. -IC:/Qt/Qt5.5.0/5.5/mingw492_32/mkspecs/win32-g++  -o debug/moc_modelviewgadget.o debug/moc_modelviewgadget.cpp
C:/Qt/Qt5.5.0/5.5/mingw492_32/bin/ccache g++ -c -pipe -fno-keep-inline-dllexport -mno-ms-bitfields -g -std=c++0x -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DBRANDING_PATH=\"C:/tau/dRoninFork/ground/gcs/../../branding\" -DGCS_PROJECT_BRANDING=\"dr\" -DGCS_PROJECT_BRANDING_PRETTY=\"dRonin\" -DGCS_PROJECT_BRANDING_HELP=\"http://dronin.org\" -DGCS_LIBRARY_BASENAME=\"lib\" -DWITH_TESTS -DGCS_VERSION_INFO_FILE=\"C:/tau/dRoninFork/build/ground/gcs/gcsversioninfo.h\" -DGCS_DATA_BASENAME=\"share\" -DQT_NO_CAST_TO_ASCII -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"C:/tau/dRoninFork/build/ground/gcs/src/plugins/modelview"' -IC:/tau/dRoninFork/ground/gcs/src/plugins/modelview -I. -IC:/tau/dRoninFork/shared/api -IC:/tau/dRoninFork/ground/gcs/src/libs -IC:/tau/dRoninFork/ground/gcs/src/plugins -IC:/tau/dRoninFork/build/uavobject-synthetics/gcs -IC:/tau/dRoninFork/ground/gcs/src/plugins/uavobjects -IC:/tau/dRoninFork/ground/gcs/src/libs/glc_lib -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtOpenGL -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtWidgets -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtGui -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtANGLE -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtTest -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtCore -Idebug -I. -IC:/Qt/Qt5.5.0/5.5/mingw492_32/mkspecs/win32-g++  -o debug/moc_modelviewgadgetwidget.o debug/moc_modelviewgadgetwidget.cpp
g++ -shared -Wl,-subsystem,console -mthreads -Wl,--out-implib,C:/tau/dRoninFork/build/ground/gcs/lib/dr/plugins/TauLabs/libPathPlannerd.a -o ../../../lib/dr/plugins/TauLabs/PathPlannerd.dll object_script.PathPlannerd.Debug  -LC:/tau/dRoninFork/build/ground/gcs/lib/dr -LC:/tau/dRoninFork/build/ground/gcs/lib/dr/plugins/TauLabs -lAggregationd -lExtensionSystemd -lUtilsd -lCored -lUAVObjectsd -LC:/Qt/Qt5.5.0/5.5/mingw492_32/lib -lQt5Widgetsd -lQt5Guid -lQt5Xmld -lQt5Testd -lQt5Cored
g++ -shared -Wl,-subsystem,console -mthreads -Wl,--out-implib,C:/tau/dRoninFork/build/ground/gcs/lib/dr/plugins/TauLabs/libLineardialGadgetd.a -o ../../../lib/dr/plugins/TauLabs/LineardialGadgetd.dll object_script.LineardialGadgetd.Debug  -LC:/tau/dRoninFork/build/ground/gcs/lib/dr -LC:/tau/dRoninFork/build/ground/gcs/lib/dr/plugins/TauLabs -lAggregationd -lExtensionSystemd -lUtilsd -lCored -lUAVObjectsd -LC:/Qt/Qt5.5.0/5.5/mingw492_32/lib -lQt5Svgd -lQt5Widgetsd -lQt5Guid -lQt5Testd -lQt5Cored
g++ -shared -Wl,-subsystem,console -mthreads -Wl,--out-implib,C:/tau/dRoninFork/build/ground/gcs/lib/dr/plugins/TauLabs/libPfdQmld.a -o ../../../lib/dr/plugins/TauLabs/PfdQmld.dll object_script.PfdQmld.Debug  -LC:/tau/dRoninFork/build/ground/gcs/lib/dr -LC:/tau/dRoninFork/build/ground/gcs/lib/dr/plugins/TauLabs -lAggregationd -lExtensionSystemd -lUtilsd -lCored -lUAVObjectsd -LC:/Qt/Qt5.5.0/5.5/mingw492_32/lib -lQt5Svgd -lQt5Widgetsd -lQt5Quickd -lQt5Guid -lQt5Qmld -lQt5Networkd -lQt5Testd -lQt5Cored
g++ -shared -Wl,-subsystem,console -mthreads -Wl,--out-implib,C:/tau/dRoninFork/build/ground/gcs/lib/dr/plugins/TauLabs/libModelViewGadgetd.a -o ../../../lib/dr/plugins/TauLabs/ModelViewGadgetd.dll object_script.ModelViewGadgetd.Debug  -LC:/tau/dRoninFork/build/ground/gcs/lib/dr -LC:/tau/dRoninFork/build/ground/gcs/lib/dr/plugins/TauLabs -lAggregationd -lExtensionSystemd -lUtilsd -lCored -lGLC_libd -lUAVObjectsd -lopengl32 -LC:/Qt/Qt5.5.0/5.5/mingw492_32/lib -lQt5OpenGLd -lQt5Widgetsd -lQt5Guid -lQt5Testd -lQt5Cored
Makefile:84: recipe for target 'sub-plugins-make_first-ordered' failed
mingw32-make[2]: *** [sub-plugins-make_first-ordered] Error 2
makefile:40: recipe for target 'sub-src-make_first-ordered' failed
mingw32-make[1]: *** [sub-src-make_first-ordered] Error 2
makefile:267: recipe for target 'gcs' failed
mingw32-make: *** [gcs] Error 2

Race condition maybe?

mlyle commented 8 years ago

This means you ctrl-c'd a previous build while it was compiling / linking C:/tau/dRoninFork/build/ground/gcs/lib/dr/plugins/TauLabs/UAVObjectUtild.dll Make on windows isn't always able to force the removal of that file.

mlyle commented 8 years ago

(If I erroneously closed this, --- e.g. you're sure you did a full clean before like stated-- i'm sorry. But every time I've seen this it's been because I've aborted a prior build).

droidicus commented 8 years ago

@mlyle I have had that same problem with ctrl-c in the past as well, but I am 99% sure it is not that this time. Just to be sure I re-ran the tests, and observed the following, in the order of execution: make all_clean && make all -j --> Failure make all_clean && make all -j4 --> Success make all_clean && make all -j --> Failure

This time I saw the problem with GCSControld.dll. I also noted that it didn't fail with '-j' on one attempt, seems random. Please re-open the issue, and let me know if there is further debugging you would like me to do.

mlyle commented 8 years ago

I guess there's a build dep missing somewhere

tracernz commented 8 years ago

Also, j by itself is bad news, make will launch as many processes as it possibly can.

droidicus commented 8 years ago

Not disagreeing, I was playing with build options trying to find the fastest build time possible, and was surprised when it failed. It is easy to work around, so I wouldn't put it at high priority, but I do think that it indicates a missing build dep.

tracernz commented 8 years ago

Yeah, if the deps are correct it should still build, just slowly if you have too many threads. :P

mlyle commented 8 years ago

I thought about this -- maybe not. If resources run out and a process doesn't start or is abnormally terminated and make doesn't notice, you might get something like this...

droidicus commented 8 years ago

After talking with @mlyle in IRC, I ran a test with 'make all_clean && make all -j9' and repeated it 10 times. I was not able to reproduce the issue while doing this, and so am closing this with the instruction of "friends don't let friends use -j".