Opened 15 months ago

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


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@… 15 months ago.
build.log.gz from emerge.

Download all attachments as: .zip

Change History (4)

Changed 15 months ago by hanetzer@…

Attachment: build.log.1.gz added

build.log.gz from emerge.

comment:1 Changed 7 months ago by John Maddock

Component: Nonethread
Owner: set to Anthony Williams

comment:2 Changed 3 months ago by viboes

Any PR is welcome.

comment:3 Changed 3 months ago by viboes

Resolution: duplicate
Status: newclosed

See #4833

Note: See TracTickets for help on using tickets.