Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Intel Customer Support will be observing the Martin Luther King holiday on Monday, Jan. 17, and will return on Tues. Jan. 18.
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646
7592 Discussions

WIN64: 'unresolved external symbol __fastfail referenced in function' error for Debug Qt builds using Windows ICC


Hello, everyone,

For Qt builds using Windows ICC got error:

        if not exist ..\..\lib\Qt5Cored.dll if exist ..\..\lib\Qt5Cored.dll.embed.manifest del ..\..\lib\Qt5Cored.dll.embed.manifest
        if exist ..\..\lib\Qt5Cored.dll.embed.manifest copy /Y ..\..\lib\Qt5Cored.dll.embed.manifest ..\..\lib\Qt5Cored.dll_manifest.bak
        xilink /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /DLL /SUBSYSTEM:WINDOWS /VERSION:5.12 /MANIFEST /MANIFESTFILE:..\..\lib\Qt5Cored.dll.embed.manifest /OUT:..\..\lib\Qt5Cored.dll @C:\Users\test\AppData\Local\Temp\Qt5Cored.dll.4736.250.jom
   Creating library ..\..\lib\Qt5Cored.lib and object ..\..\lib\Qt5Cored.exp
qlogging.obj : error LNK2019: unresolved external symbol __fastfail referenced in function "void __cdecl qt_message_fatal(enum QtMsgType,class QMessageLogContext const &,class QString const &)" (?qt_message_fatal@@YAXW4QtMsgType@@AEBVQMessageLogContext@@AEBVQString@@@Z)
..\..\lib\Qt5Cored.dll : fatal error LNK1120: 1 unresolved externals
jom: C:\libQT-5.12-dev\build\qtbase\src\corelib\Makefile.Debug [..\..\lib\Qt5Cored.dll] Error 1120
jom: C:\libQT-5.12-dev\build\qtbase\src\corelib\Makefile [debug] Error 2
jom: C:\libQT-5.12-dev\build\qtbase\src\Makefile [sub-corelib-make_first] Error 2
jom: C:\libQT-5.12-dev\build\qtbase\Makefile [sub-src-make_first] Error 2
jom: C:\libQT-5.12-dev\build\Makefile [module-qtbase-make_first] Error 2

which relate to recently merged Change #225048.

Reproduced for:

  • builds using Windows ICC with Debug configuration,

not reproduced for:

  • builds using Windows ICC with Release configuration,
  • builds using mingw-w64 and MSVC.


It was reported on Qt bugtracker (see QTBUG-68751), and Qt Developers believe it's a compiler bug.





0 Kudos
0 Replies