Hello,

the boost library (1.66, quite outdated) is wrongly built for cygwin
regarding the 'context' lib, in a way that makes the 'coroutine2' lib
crash.
b2 should be called with "context-impl=ucontext" argument when building
it.

And programs using boost context/coroutine2 should build with the flag
-DBOOST_USE_UCONTEXT

These options are documented at the bottom of this page:
https://www.boost.org/doc/libs/1_75_0/libs/context/doc/html/context/architectures.html

And that would fix the problem here reported for the nix program.
https://github.com/NixOS/nix/issues/4360

Can someone make that fix?

I haven't tried explicitly 1.66 with that build flag, but 1.75 failed the
same way until I added that build flag.

Thank you,
Lluís.

-- 
(Escriu-me xifrat si saps PGP / Write ciphered if you know PGP)
PGP key 7CBD1DA5 - https://emailselfdefense.fsf.org/
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to