Modify

Opened 3 years ago

Closed 3 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

Attachments (0)

Change History (4)

comment:1 Changed 3 years ago by Niall Douglas

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

comment:2 in reply to:  1 Changed 3 years ago by viboes

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 Changed 3 years ago by anonymous

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 Changed 3 years ago by viboes

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Niall Douglas.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.