Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-14540

Failed to build with clang 6.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Untriaged
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Any program written in C++ will fail to link with the same error.

      [82/7196] Linking CXX executable base\applications\fltmc\fltmc.exe
      FAILED: base/applications/fltmc/fltmc.exe
      cmd.exe /C "cd . && "c:\Program Files\RosBE\Bin\cmake.exe" -E vs_link_exe C:\PRO
      GRA~1\MICROS~1.0\VC\bin\link.exe /nologo base\applications\fltmc\CMakeFiles\fltm
      c.dir\fltmc.cpp.obj base\applications\fltmc\CMakeFiles\fltmc.dir\fltmc.rc.res /
      out:base\applications\fltmc\fltmc.exe /pdb:msvc_pdb\fltmc.pdb /version:0.0 /mac
      hine:X86 /MANIFEST:NO /OPT:REF /OPT:ICF /MANIFEST:NO /INCREMENTAL:NO /SAFESEH:NO
      /NODEFAULTLIB /RELEASE /FUNCTIONPADMIN:5 /debug /subsystem:console /SUBSYSTEM:
      CONSOLE,5.01 /VERSION:5.01 /ENTRY:wmainCRTStartup sdk\lib\cpprt\cpprt.lib sdk\l
      ib\atl\atlnew.lib dll\win32\fltlib\libfltlib.lib sdk\lib\crt\msvcrtex.lib dll\wi
      n32\msvcrt\libmsvcrt.lib dll\win32\kernel32\libkernel32.lib dll\win32\advapi32\l
      ibadvapi32.lib && cd ."
      fltmc.cpp.obj : error LNK2019: unresolved external symbol __tls_array referenced
      in function "public: static class ATL::IAtlStringMgr * __cdecl ATL::CAtlStringM
      gr::GetInstance(void)" (?GetInstance@CAtlStringMgr@ATL@@SAPAVIAtlStringMgr@2@XZ)
       
      fltmc.cpp.obj : error LNK2019: unresolved external symbol __Init_thread_epoch re
      ferenced in function "public: static class ATL::IAtlStringMgr * __cdecl ATL::CAt
      lStringMgr::GetInstance(void)" (?GetInstance@CAtlStringMgr@ATL@@SAPAVIAtlStringM
      gr@2@XZ)
      fltmc.cpp.obj : error LNK2019: unresolved external symbol __Init_thread_header r
      eferenced in function "public: static class ATL::IAtlStringMgr * __cdecl ATL::CA
      tlStringMgr::GetInstance(void)" (?GetInstance@CAtlStringMgr@ATL@@SAPAVIAtlString
      Mgr@2@XZ)
      fltmc.cpp.obj : error LNK2019: unresolved external symbol __Init_thread_footer r
      eferenced in function "public: static class ATL::IAtlStringMgr * __cdecl ATL::CA
      tlStringMgr::GetInstance(void)" (?GetInstance@CAtlStringMgr@ATL@@SAPAVIAtlString
      Mgr@2@XZ)
      base\applications\fltmc\fltmc.exe : fatal error LNK1120: 4 unresolved externals
      LINK failed. with 1120
      [83/7196] Linking C executable base\applications\extrac32\extrac32.exe
      ninja: build stopped: subcommand failed.
       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bug zilla Bug Zilla
                Reporter:
                Amira Amira
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: