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

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

            elenst Elena Stepanova created issue -
            elenst Elena Stepanova made changes -
            Field Original Value New Value
            sanja Oleksandr Byelkin made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            sanja Oleksandr Byelkin made changes -
            Assignee Oleksandr Byelkin [ sanja ] Sergei Golubchik [ serg ]
            Status In Progress [ 3 ] In Review [ 10002 ]
            serg Sergei Golubchik made changes -
            Assignee Sergei Golubchik [ serg ] Oleksandr Byelkin [ sanja ]
            Status In Review [ 10002 ] Stalled [ 10000 ]
            sanja Oleksandr Byelkin made changes -
            Fix Version/s 10.1.5 [ 18813 ]
            Fix Version/s 10.1 [ 16100 ]
            Resolution Fixed [ 1 ]
            Status Stalled [ 10000 ] Closed [ 6 ]
            svoj Sergey Vojtovich made changes -
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 67733 ] MariaDB v4 [ 149219 ]

            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.