Opened 8 years ago
Closed 8 years ago
#10296 closed Bugs (fixed)
Boost.Thread 1.56 rc1 does not compile on Mingw
Reported by: | Niall Douglas | Owned by: | Niall Douglas |
---|---|---|---|
Milestone: | Boost 1.57.0 | Component: | thread |
Version: | Boost 1.56.0 | Severity: | Problem |
Keywords: | Cc: |
Description
bin.v2\libs\thread\build\gcc-mingw-4.8.1\debug\threading-multi\win32\thread.o: In function `ZN5boost6detail5win3223GetTickCount64emulationEv@0': c:\jenkins\workspace\Boost.AFIO Build NT_Win64_Mingw32\boost-local/./boost/thread/win32/thread_primitives.hpp:189: undefined reference to `_InterlockedCompareExchange' c:\jenkins\workspace\Boost.AFIO Build NT_Win64_Mingw32\boost-local/./boost/thread/win32/thread_primitives.hpp:197: undefined reference to `_InterlockedCompareExchange' c:\jenkins\workspace\Boost.AFIO Build NT_Win64_Mingw32\boost-local/./boost/thread/win32/thread_primitives.hpp:220: undefined reference to `_InterlockedCompareExchange' collect2.exe: error: ld returned 1 exit status
Change History (4)
follow-up: 2 comment:1 by , 8 years ago
comment:2 by , 8 years ago
Replying to ned14:
Hmm, I don't seem to have the rights to close issues.
Have you tried to assign the issue to you?
Anyway I committed a fix for this at https://github.com/boostorg/thread/commit/26042ca26a9783c9055a40ada6b8bb26d3dd65b6
Is this fix also needed https://github.com/boostorg/thread/commit/78f1044c684eaf660cfb2d1bbdfd6c4a84087db6?
comment:3 by , 8 years ago
Yes, the next commit undoes the special behaviour for Mingw32 on Mingw64 which is not stupidly broken.
I cannot assign myself this problem. Nor modify it, my only Action is leave as new.
N
comment:4 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Hmm, I don't seem to have the rights to close issues. Anyway I committed a fix for this at https://github.com/boostorg/thread/commit/26042ca26a9783c9055a40ada6b8bb26d3dd65b6