From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <3448a22c.AUoAABonV9cAAAAAAAAAALFruKAAARpcY_sAAAAAAAeRJgBf2ge8@bnc3.mailjet.com> Received: from o166.p8.mailjet.com (o166.p8.mailjet.com [87.253.233.166]) by sourceware.org (Postfix) with UTF8SMTPS id 3996A38708BD for ; Wed, 16 Dec 2020 13:12:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3996A38708BD Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=viric.name Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=3448a22c.AUoAABonV9cAAAAAAAAAALFruKAAARpcY_sAAAAAAAeRJgBf2ge8@bnc3.mailjet.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; q=dns/txt; d=viric.name; i=viric@viric.name; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe-post:list-unsubscribe: feedback-id:x-accept-language:x-csa-complaints:x-mj-mid:x-mj-smtpguid: x-report-abuse-to:content-type:content-disposition:content-transfer-encoding; bh=EiYyuMLS+IH/NrSbp11AUBtBgDGEflzJiB4hPzqx69w=; b=L3O1bHRznjbyFZ9uIXDIbVOiyi+zyJ7dXOhlRtY6ceQP+S8bntAj5LM73 z2QriyfohtxCehX4sAq1YUW/yHw/eRul5cMnOYmV1+F8GZQ2ziRlyX51YBPK vHoOAIa9GupPO+MFBezYoHXCs7r+W0+QwXwI3AWJV5+0gB9PtOmKSc= Message-Id: <3448a22c.AUoAABonV9cAAAAAAAAAALFruKAAARpcY_sAAAAAAAeRJgBf2ge8@mailjet.com> MIME-Version: 1.0 From: =?UTF-8?q?Llu=C3=ADs_Batlle_i_Rossell?= To: cygwin@cygwin.com Subject: Boost wrongly built for 'context' lib Date: Wed, 16 Dec 2020 14:12:23 +0100 List-Unsubscribe-Post: List-Unsubscribe=One-Click Feedback-Id: 42.495910.472369:MJ X-Accept-Language: ca, es, eo, ru, en, jbo, tokipona X-CSA-Complaints: csa-complaints@eco.de X-MJ-Mid: AUoAABonV9cAAAAAAAAAALFruKAAARpcY_sAAAAAAAeRJgBf2ge8bE90wbdpQFKljrPI8htp0AAHNTE X-MJ-SMTPGUID: 6c4f74c1-b769-4052-a58e-b3c8f21b69d0 X-REPORT-ABUSE-TO: Message sent by Mailjet please report to abuse@mailjet.com with a copy of the message Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_BL_SPAMCOP_NET, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2020 13:12:32 -0000 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/