delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/12/18/08:01:50

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 4BF473858036
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=viric.name
Authentication-Results: sourceware.org; spf=pass
smtp.mailfrom=19541ecb DOT ANAAAI15lDoAAAAAAAAAALFruKAAARpcY_sAAAAAAAeRJgBf3KgI 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:list-unsubscribe-post:
feedback-id:in-reply-to:references:x-accept-language:x-csa-complaints:
x-mj-mid:x-mj-smtpguid:x-report-abuse-to:content-type:content-disposition:
content-transfer-encoding;
bh=llQpbum2FsNNHOiOLfdizq8Jl/QU4XhT3eLcqecaaCM=;
b=n1Srnm/RwqAHt6w8Ue+lRkW11SIAV9RoANGdTCwkRYqNhC9+JdJsm2oTH
cK8nKHF2THtYdMlxdiwTB/a7UkEIrsCA9Z3JWHxFuZaKqgDSsqL8wYf2/tAZ
4Txmt6SCCPUTBT+0uk/gRvKUiQjMt4GZ1SVLnD6NkZZyLpbDuUY2Qs=
Message-Id: <19541ecb.ANAAAI15lDoAAAAAAAAAALFruKAAARpcY_sAAAAAAAeRJgBf3KgI@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: Re: Boost wrongly built for 'context' lib
Date: Fri, 18 Dec 2020 14:00:35 +0100
List-Unsubscribe-Post: List-Unsubscribe=One-Click
Feedback-Id: 42.495910.472369:MJ
In-Reply-To: <20201216131223.hdd4tvvol2d54ozh@vicerveza>
References: <20201216131223 DOT hdd4tvvol2d54ozh AT vicerveza>
X-Accept-Language: ca, es, eo, ru, en, jbo, tokipona
X-CSA-Complaints: csa-complaints AT eco DOT de
X-MJ-Mid: ANAAAI15lDoAAAAAAAAAALFruKAAARpcY_sAAAAAAAeRJgBf3KgIGGZ2NES8Q4C1mMqiiu-kigAHNTE
X-MJ-SMTPGUID: 18667634-44bc-4380-b598-caa28aefa48a
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=-0.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,
RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.2
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-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
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>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 0BID1Vw6007273

I could get a change to boost upstream that will fix it likely in the next
release.

But that would require the cygwin boost maintainer at least to provide
that boost lib available. Nevertheless the fix is interesting as a patch
for previous boost versions though.

This patch:

https://github.com/boostorg/context/commit/e785657ec4d6a885ba2fd49c3ad8eaeac1f71a34

On Wed, Dec 16, 2020 at 02:12:23PM +0100, Lluís Batlle i Rossell wrote:
> 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/

-- 
(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