Opened 5 years ago

Closed 4 years ago

#13221 closed Bugs (duplicate)

multiple 'undefined reference to boost::detail::get_tss_data(void const*)' during mingw-w64 compilation.

Reported by: hanetzer@… Owned by: Anthony Williams
Milestone: To Be Determined Component: thread
Version: Boost 1.65.0 Severity: Problem
Keywords: Cc:

Description

Attempting to compile boost-1.65.0 for mingw-w64 on gentoo with crossdev.

I've managed it when setting threadapi to win32, but I'm attempting to use posix threads now. One thing that is problematic is it expects a library named pthreadsGC2.a, while mingw-w64's runtime provides a dll named libwinpthread-1.dll, which has import libraries named libwinpthread.dll.a and libpthread.dll.a, and static libraries named libpthread.a and libwinpthread.a.

Attached is emerge's build.log, which shows several of the above undefined reference errors.

Attachments (1)

build.log.1.gz (15.9 KB ) - added by hanetzer@… 5 years ago.
build.log.gz from emerge.

Download all attachments as: .zip

Change History (4)

by hanetzer@…, 5 years ago

Attachment: build.log.1.gz added

build.log.gz from emerge.

comment:1 by John Maddock, 4 years ago

Component: Nonethread
Owner: set to Anthony Williams

comment:2 by viboes, 4 years ago

Any PR is welcome.

comment:3 by viboes, 4 years ago

Resolution: duplicate
Status: newclosed

See #4833

Note: See TracTickets for help on using tickets.