Omgili, forum search, forums search, search forums, discussion search,discussions search, search discussions, board search, boards search, search boards
  Advanced Search

[boost] boost thread rev 77005 fails on cygwin due SIGSTKSZ not defined

On Mon, 13 Feb 2012 15:00:09 -0500, Bernd Prager <...@prager.ws

All,

Boost Thread no longer compiles on Cygwin 1.7.10 / g++ (GCC) 4.5.3 since
SIGSTKSZ is not defined on this platform:

cc.compile.c++
bin.v2/libs/context/build/gcc-4.5.3/release/threading-multi/stack_utils_posix.o
libs\context\src\stack_utils_posix.cpp: In function
‘rlimit<unnamedlibs\context\src\stack_utils_posix.cpp:27:15: warning: unused variable
‘result’
libs\context\src\stack_utils_posix.cpp: In function ‘size_t
boost::contexts::minimum_stacksize()’:
libs\context\src\stack_utils_posix.cpp:52:10: error: ‘SIGSTKSZ’ was not
declared in this scope
libs\context\src\stack_utils_posix.cpp:52:20: warning: control reaches
end of non-void function

Any suggested workarounds?
Thank you,
-- Bernd

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost



On Mon, 13 Feb 2012 13:02:54 -0700, "Belcourt, K. Noel" <...@sandia.gov

Oops, my bad. Let me get this fixed. Apologies..

-- Noel

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

On Mon, 13 Feb 2012 13:09:14 -0700, "Belcourt, K. Noel" <...@sandia.gov

Can you update and try again, 77009 should have reverted 77005.

-- Noel

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

On Mon, 13 Feb 2012 18:04:26 -0500, Bernd Prager <...@prager.ws

It's working fine again. Awesome.
Thanks Noel.

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

On Tue, 14 Feb 2012 20:44:59 -0500, Bernd Prager <...@prager.ws

Noel,
Did you accidentally re-committed the previous bug again. Compilation
fails with:

gcc.compile.c++
bin.v2/libs/context/build/gcc-4.5/release/threading-multi/stack_utils_posix.o
libs\context\src\stack_utils_posix.cpp: In function
‘rlimit<unnamedlibs\context\src\stack_utils_posix.cpp:27:15: warning: unused variable
‘result’
libs\context\src\stack_utils_posix.cpp: In function ‘size_t
boost::contexts::minimum_stacksize()’:
libs\context\src\stack_utils_posix.cpp:52:10: error: ‘SIGSTKSZ’ was not
declared in this scope

-- Bernd

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

On Tue, 14 Feb 2012 22:15:38 -0700, "Belcourt, K. Noel" <...@sandia.gov

No, I don't think so.

I think the new context library is missing a header:

#include <sys/signal.h
in libs/context/src/stack_utils_posix.cpp

-- Noel

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

On Wed, 15 Feb 2012 07:19:24 +0100, "Oliver Kowalke" <...@gmx.de

cygwin is currently not supported by boost.context.
reason: boost.context requires assembler which is only provided for MASM/MS VC on WINDOWS (not cygwin and mingw).

Oliver

--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

On Fri, 17 Feb 2012 07:39:57 -0500, Bernd Prager <...@prager.ws

Do you plan to support 'nasm' (the assembler available on these platforms)?

-- Bernd

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

On Fri, 17 Feb 2012 14:14:44 +0100, Oliver Kowalke <...@gmx.de

Is 'GNU AS' not part of cygwin/mingw distri?

Which assembler is used depends on boost.build. I don't know an option
to force boost.build to use a specific assembler tool.
I assume boost.build chooses 'MASM' as assembler on Windows - the
boost.build docu makes no statement in this case :/

Supporting another assembler tool requires only to transform from 'MASM'
syntax to 'NASM'/'GNU AS' which should be an easy task.
- but all depends on boost.build

Oliver

Am 17.02.2012 13:39, schrieb Bernd Prager:

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost