{"action":"created","issue":{"url":"https://api.github.com/repos/alexcrichton/curl-rust/issues/124","repository_url":"https://api.github.com/repos/alexcrichton/curl-rust","labels_url":"https://api.github.com/repos/alexcrichton/curl-rust/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/alexcrichton/curl-rust/issues/124/comments","events_url":"https://api.github.com/repos/alexcrichton/curl-rust/issues/124/events","html_url":"https://github.com/alexcrichton/curl-rust/issues/124","id":172452885,"number":124,"title":"Use of '`pthread' fails in Windows 32bits","user":{"login":"LeMoussel","id":1816573,"avatar_url":"https://avatars.githubusercontent.com/u/1816573?v=3","gravatar_id":"","url":"https://api.github.com/users/LeMoussel","html_url":"https://github.com/LeMoussel","followers_url":"https://api.github.com/users/LeMoussel/followers","following_url":"https://api.github.com/users/LeMoussel/following{/other_user}","gists_url":"https://api.github.com/users/LeMoussel/gists{/gist_id}","starred_url":"https://api.github.com/users/LeMoussel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeMoussel/subscriptions","organizations_url":"https://api.github.com/users/LeMoussel/orgs","repos_url":"https://api.github.com/users/LeMoussel/repos","events_url":"https://api.github.com/users/LeMoussel/events{/privacy}","received_events_url":"https://api.github.com/users/LeMoussel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-22T13:31:15Z","updated_at":"2016-08-22T17:26:51Z","closed_at":null,"body":"I come across this error when trying to compile on Windows 32bits. I have MSYS2 installed. It seems that 'pthread' is not supported by MSYS2 / mingw32.\r\n\r\n> error: linking with `gcc` failed: exit code: 1\r\n> D:/Applications/msys32/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.1.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x1a3): undefined reference to `pthread_mutex_init'\r\n> D:/Applications/msys32/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.1.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0xfd9): undefined reference to `pthread_once'\r\n> D:/Applications/msys32/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.1.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0xfe5): undefined reference to `pthread_mutex_lock'\r\n> D:/Applications/msys32/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.1.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x10f4): undefined reference to `pthread_once'\r\n> D:/Applications/msys32/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.1.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x1100): undefined reference to `pthread_mutex_lock'\r\n> D:/Applications/msys32/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.1.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x11cb): undefined reference to `pthread_once'\r\n> D:/Applications/msys32/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.1.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x11d7): undefined reference to `pthread_mutex_lock'\r\n> D:/Applications/msys32/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.1.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x1239): undefined reference to `pthread_mutex_unlock'\r\n> D:/Applications/msys32/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.1.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x1268): undefined reference to `pthread_mutex_unlock'\r\n> D:/Applications/msys32/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.1.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x12ef): undefined reference to `pthread_once'\r\n> D:/Applications/msys32/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.1.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x12fb): undefined reference to `pthread_mutex_lock'\r\n> D:/Applications/msys32/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.1.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x1337): undefined reference to `pthread_mutex_unlock'\r\n> D:/Applications/msys32/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.1.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x13f6): undefined reference to `pthread_mutex_unlock'\r\n> D:/Applications/msys32/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.1.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x1004): undefined reference to `pthread_mutex_unlock'\r\n> D:/Applications/msys32/mingw32/bin/../lib/gcc/i686-w64-mingw32/6.1.0/libgcc_eh.a(unwind-dw2-fde.o):(.text+0x111f): undefined reference to `pthread_mutex_unlock'\r\n> collect2.exe: error: ld returned 1 exit status\r\n\r\n\r\nCould there be something I missed in my install?\r\nI cannot find much about this error online except that this function is not on Windows."},"comment":{"url":"https://api.github.com/repos/alexcrichton/curl-rust/issues/comments/241486458","html_url":"https://github.com/alexcrichton/curl-rust/issues/124#issuecomment-241486458","issue_url":"https://api.github.com/repos/alexcrichton/curl-rust/issues/124","id":241486458,"user":{"login":"LeMoussel","id":1816573,"avatar_url":"https://avatars.githubusercontent.com/u/1816573?v=3","gravatar_id":"","url":"https://api.github.com/users/LeMoussel","html_url":"https://github.com/LeMoussel","followers_url":"https://api.github.com/users/LeMoussel/followers","following_url":"https://api.github.com/users/LeMoussel/following{/other_user}","gists_url":"https://api.github.com/users/LeMoussel/gists{/gist_id}","starred_url":"https://api.github.com/users/LeMoussel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeMoussel/subscriptions","organizations_url":"https://api.github.com/users/LeMoussel/orgs","repos_url":"https://api.github.com/users/LeMoussel/repos","events_url":"https://api.github.com/users/LeMoussel/events{/privacy}","received_events_url":"https://api.github.com/users/LeMoussel/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T17:26:51Z","updated_at":"2016-08-22T17:26:51Z","body":"I installed \r\n\r\n- MSYS2 with [MSYS2 installer](https://msys2.github.io/) \r\n- Rust V1.11.0 Windows (GNU ABI)  with no linker and platform libraries"}}
{"actor":{"display_login":"LeMoussel"}}