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

-DCMAKE_BUILD_TYPE=RelWithDebInfo does not complete to link module crtdll with MSVC2010SP1 16.0.40219.1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None

    Description

      using 0.4.14-release-15-gb6088a6 and as a compiler MSVC2010SP1 16.0.40219.1 I can complete building the livecd fine if I use

      configure -DCMAKE_BUILD_TYPE=Release
      ninja livecd
      

      using 0.4.14-release-15-gb6088a6 and as a compiler MSVC2010SP1 16.0.40219.1 I can complete building the livecd fine if I use

      configure -DCMAKE_BUILD_TYPE=Debug
      ninja livecd
      

      but using 0.4.14-release-15-gb6088a6 and as a compiler MSVC2010SP1 16.0.40219.1 it fails to complete building the livecd by linking a module at ~33% :

      configure -DCMAKE_BUILD_TYPE=RelWithDebInfo
      ninja livecd
      

      with the following output:

      [3814/11155] Linking CXX shared module dll\win32\crtdll\crtdll.dll
      FAILED: dll/win32/crtdll/crtdll.dll
      cmd.exe /C "cd . && C:\RosBE2_1_6\Bin\cmake.exe -E vs_link_dll C:\VS2010_SP1\VC\bin\link.exe /nologo dll\win32\crtdll\CMakeFiles\crtdll.dir\dllmain.c.
      obj dll\win32\crtdll\CMakeFiles\crtdll.dir\crtdll.rc.res  /out:dll\win32\crtdll\crtdll.dll  /pdb:msvc_pdb\crtdll.pdb /dll /version:0.0 /machine:X86 /O
      PT:REF /OPT:ICF /MANIFEST:NO /INCREMENTAL:NO /SAFESEH:NO /NODEFAULTLIB /RELEASE /FUNCTIONPADMIN:5 /IGNORE:4039 /debug /DEF:C:\0414VSrls_withsymbols\dl
      l\win32\crtdll\crtdll.def  /VERSION:5.01 /ENTRY:DllMain@12 /BASE:0x79d20000 /DLL  /DEF:dll\win32\crtdll\crtdll.def  sdk\lib\crt\crt.lib sdk\lib\3rdpar
      ty\libwine\wine.lib sdk\lib\crt\msvcrtex.lib dll\win32\msvcrt\libmsvcrt.lib sdk\lib\crt\oldnames.lib dll\win32\kernel32\libkernel32.lib dll\ntdll\libn
      tdll.lib sdk\lib\crt\chkstk.lib  && cd ."
      libmsvcrt.lib(msvcrt.dll) : error LNK2005: _strchr already defined in crt.lib(strchr_asm.s.obj)
         Creating library dll\win32\crtdll\crtdll.lib and object dll\win32\crtdll\crtdll.exp
      crt.lib(cpp.c.obj) : error LNK2019: unresolved external symbol __SEH_epilog referenced in function _MSVCRT___RTtypeid
      crt.lib(cpp.c.obj) : error LNK2019: unresolved external symbol __SEH_prolog referenced in function _MSVCRT___RTtypeid
      dll\win32\crtdll\crtdll.dll : fatal error LNK1120: 2 unresolved externals
      LINK failed. with 1120
      ninja: build stopped: subcommand failed.
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              reactosfanboy reactosfanboy
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: