delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/12/16/08:13:15

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
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 DOT AUoAABonV9cAAAAAAAAAALFruKAAARpcY_sAAAAAAAeRJgBf2ge8 AT bnc3 DOT mailjet DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; q=dns/txt;
d=viric.name; i=viric AT viric DOT 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?= <viric AT viric DOT name>
To: cygwin AT cygwin DOT 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 AT eco DOT 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 AT mailjet DOT com with a copy of the message
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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 0BGDCuFN013713

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019