
Am 15.06.2012 18:24, schrieb news.gmane.org:
Any thoughts on the build failure though? Just to clarify: I'm using Cygwin's x86_64-w64-mingw32-g++ GCC and MASM from VS2010. My user-config.jam has:
using gcc : 4.5 : c:\\cygwin\\bin\\x86_64-w64-mingw32-g++ ;
Then compiling with bjam --toolset=gcc from a VS2010 x64 environment:
Performing configuration checks
- 32-bit : no - 64-bit : yes - x86 : yes ...patience... ...found 374 targets... ...updating 7 targets... Jamfile</D:/dev/checkouts/boost-trunk/libs/context/build>.masm64 ..\..\..\bin.v2\libs\context\build\gcc-mingw-4.5\debug\address-model-64\architecture-x86\asm\fcontext_x86_64_ms_pe_masm.o Assembling: ..\..\..\libs\context\src\asm\fcontext_x86_64_ms_pe_masm.asm Microsoft (R) Macro Assembler (x64) Version 10.00.40219.01 Copyright (C) Microsoft Corporation. All rights reserved.
gcc.compile.c++ ..\..\..\bin.v2\libs\context\build\gcc-mingw-4.5\debug\fcontext.o gcc.compile.c++ ..\..\..\bin.v2\libs\context\build\gcc-mingw-4.5\debug\seh.o ..\..\..\libs\context\src\seh.cpp: In function ÔÇÿconst char* exception_description(const _EXCEPTION_RECORD*, char*, size_t): ..\..\..\libs\context\src\seh.cpp:36:82: warning: format %p expects type void*, but argument 5 has type ULONG_PTR gcc.compile.c++ ..\..\..\bin.v2\libs\context\build\gcc-mingw-4.5\debug\stack_allocator_windows.o gcc.compile.c++ ..\..\..\bin.v2\libs\context\build\gcc-mingw-4.5\debug\stack_utils_windows.o gcc.link.dll ..\..\..\bin.v2\libs\context\build\gcc-mingw-4.5\debug\libboost_context-mgw45-d-1_50.dll.a collect2: ld terminated with signal 6 [Aborted], core dumped Warning: .drectve `/EXPORT:jump_fcontext /EXPORT:make_fcontext 3' unrecognized
"c:\cygwin\bin\x86_64-w64-mingw32-g++" "-Wl,--out-implib,..\..\..\bin.v2\libs\context\build\gcc-mingw-4.5\debug\libboost_context-mgw45-d-1_50.dll.a" -o "..\..\..\bin.v2\libs\context\build\gcc-mingw-4.5\debug\libboost_context-mgw45-d-1_50.dll" -shared -Wl,--start-group "..\..\..\bin.v2\libs\context\build\gcc-mingw-4.5\debug\address-model-64\architecture-x86\asm\fcontext_x86_64_ms_pe_masm.o" "..\..\..\bin.v2\libs\context\build\gcc-mingw-4.5\debug\fcontext.o" "..\..\..\bin.v2\libs\context\build\gcc-mingw-4.5\debug\seh.o" "..\..\..\bin.v2\libs\context\build\gcc-mingw-4.5\debug\stack_allocator_windows.o" "..\..\..\bin.v2\libs\context\build\gcc-mingw-4.5\debug\stack_utils_windows.o" -Wl,-Bstatic -Wl,-Bdynamic -Wl,--end-group -g
...failed gcc.link.dll ..\..\..\bin.v2\libs\context\build\gcc-mingw-4.5\debug\libboost_context-mgw45-d-1_50.dll.a ..\..\..\bin.v2\libs\context\build\gcc-mingw-4.5\debug\libboost_context-mgw45-d-1_50.dll...MS Win64 object format ...failed updating 2 targets... ...updated 5 targets...
maybe the cygwin-linker doesn't like object files in MS Win64 object format (generated by ml64). are you sure that you compile for 64bit (as MASM64 does)? Oliver