Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-8241

Debug build on Windows is broken: error LNK2019: unresolved external symbol pthread_detach referenced in function ma_checkpoint_init

    XMLWordPrintable

Details

    Description

      http://buildbot.askmonty.org/buildbot/builders/win32-debug2/builds/7768/steps/build/logs/stdio

      aria.lib(ma_checkpoint.obj) : error LNK2019: unresolved external symbol _pthread_detach referenced in function _ma_checkpoint_init [C:\bzr\bb-win32\win32-debug2\build\sql\mysqld.vcxproj]
      C:\bzr\bb-win32\win32-debug2\build\sql\Debug\mysqld.exe : fatal error LNK1120: 1 unresolved externals [C:\bzr\bb-win32\win32-debug2\build\sql\mysqld.vcxproj]
      Done Building Project "C:\bzr\bb-win32\win32-debug2\build\sql\mysqld.vcxproj" (default targets) -- FAILED.

      Apparently it was introduced by this commit:
      https://github.com/MariaDB/server/commit/44cd6f22d4fdf7df8da6bb00caf6493f715854bc

           {
             /* thread lives, will have to be killed */
             checkpoint_control.status= THREAD_RUNNING;
      +      pthread_detach(th);
           }
         }
         DBUG_RETURN(res);

      Attachments

        Issue Links

          Activity

            People

              sanja Oleksandr Byelkin
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.