Re: [Boost-bugs] [Boost C++ Libraries] #11246: boost.coroutine 1.58 fails to build for mingw because of undefined symbols

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11246: boost.coroutine 1.58 fails to build for mingw because of undefined symbols
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-05-18 10:27:43


#11246: boost.coroutine 1.58 fails to build for mingw because of undefined symbols
-------------------------------+-----------------------
  Reporter: anonymous | Owner: olli
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: coroutine
   Version: Boost 1.58.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+-----------------------

Comment (by stellarpower@…):

 I have the same here, Boost 1.58, using mingw32 4.9.1 on Windows x86
 (toolchain provided by Qt 5.4 package)

 {{{
 gcc.link.dll bin.v2\libs\context\build\gcc-mingw-4.9.1\release\threading-
 multi\libboost_context-mgw49-mt-1_58.dll.a
 Warning: corrupt .drectve at end of def file
 Warning: corrupt .drectve at end of def file
 gcc.link.dll bin.v2\libs\coroutine\build\gcc-mingw-4.9.1\release
 \libboost_coroutine-mgw49-1_58.dll.a
 bin.v2\libs\coroutine\build\gcc-
 mingw-4.9.1\release\detail\coroutine_context.o:coroutine_context.cpp:(.text+0x4a):
 undefined reference to `_imp__make_fcontext'
 bin.v2\libs\coroutine\build\gcc-
 mingw-4.9.1\release\detail\coroutine_context.o:coroutine_context.cpp:(.text+0xc7):
 undefined reference to `_imp__jump_fcontext'
 c:/qt5/Tools/mingw491_32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bin/ld.exe:
 bin.v2\libs\coroutine\build\gcc-
 mingw-4.9.1\release\detail\coroutine_context.o: bad reloc address 0x20 in
 section `.eh_frame'
 collect2.exe: error: ld returned 1 exit status

     "g++" "-Wl,--out-implib,bin.v2\libs\coroutine\build\gcc-
 mingw-4.9.1\release\libboost_coroutine-mgw49-1_58.dll.a" -o
 "bin.v2\libs\coroutine\build\gcc-mingw-4.9.1\release\libboost_coroutine-
 mgw49-1_58.dll" -shared -Wl,--start-group "bin.v2\libs\coroutine\build
 \gcc-mingw-4.9.1\release\detail\coroutine_context.o"
 "bin.v2\libs\coroutine\build\gcc-mingw-4.9.1\release\exceptions.o"
 "bin.v2\libs\coroutine\build\gcc-
 mingw-4.9.1\release\windows\stack_traits.o" "bin.v2\libs\context\build
 \gcc-mingw-4.9.1\release\threading-multi\libboost_context-mgw49-mt-
 1_58.dll.a" "bin.v2\libs\thread\build\gcc-mingw-4.9.1\release\threading-
 multi\libboost_thread-mgw49-mt-1_58.dll.a" "bin.v2\libs\chrono\build\gcc-
 mingw-4.9.1\release\threading-multi\libboost_chrono-mgw49-mt-1_58.dll.a"
 "bin.v2\libs\system\build\gcc-mingw-4.9.1\release\threading-multi
 \libboost_system-mgw49-mt-1_58.dll.a" "bin.v2\libs\system\build\gcc-
 mingw-4.9.1\release\libboost_system-mgw49-1_58.dll.a" -Wl,-Bstatic
 -Wl,-Bdynamic -Wl,--end-group -march=i686 -m32

 ...failed

 }}}
 I haven't used any patches, just following the build instructions on the
 'Getting Started' page.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11246#comment:3>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC