delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/09/16/03:30:54

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=Sq8A4RriPX7WzYpe
+ztzvqIoO0oM4Xg/0NkEUGpyr66QxSvoiFcsZkp6QVT+WfYMs8j+P91HWkY078W0
I8ss46CC+5zBRPDZ0ifiQeGjruDr2HtNdZpzC2Vh/1P9hmh65RLI3TGyxfOk14Qs
cG1klEg9NVRjZXmfCtAWbxacdVk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=83bqIiUJmHdgX4KeygbDdF
6lWyI=; b=DaWn6gpzHhmhhv3QrxMx4jA2YrCsgSyUo9bHbvLivtVxdOnDJtPELY
R/mQzb2bb94S5/EfKknseqIl6UpoZxe7hf4Ai94osL21LAVQD/rvsJW3NzwIxChN
4wlgd8zgdVMtwYY+P1KJaMcoU1H0F9LWRgngxTbtz9gf8XjOiFlBM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-5.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:1069, HContent-Transfer-Encoding:8bit
X-HELO: atfriesa01.ssi-schaefer.com
Subject: Re: [ANNOUNCEMENT] cygwin 3.1.0-0.4 (TEST)
To: cygwin AT cygwin DOT com
References: <announce DOT 20190905090845 DOT 2201-1-kbrown AT cornell DOT edu> <855a9543-6908-42f0-576a-0f161777f715 AT ssi-schaefer DOT com> <d5d9f1da-5f42-48d4-d1c8-9ada6bc199e6 AT maxrnd DOT com>
From: Michael Haubenwallner <michael DOT haubenwallner AT ssi-schaefer DOT com>
Openpgp: preference=signencrypt
Message-ID: <3e1a1596-3267-6f16-0aaf-cd860b9b8283@ssi-schaefer.com>
Date: Mon, 16 Sep 2019 09:29:57 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
MIME-Version: 1.0
In-Reply-To: <d5d9f1da-5f42-48d4-d1c8-9ada6bc199e6@maxrnd.com>

Hi Mark,

On 9/14/19 12:08 AM, Mark Geisert wrote:
> Michael Haubenwallner wrote:
>> On 9/5/19 3:16 PM, Ken Brown wrote:
>>> The following packages have been uploaded to the Cygwin distribution
>>> as test releases:
>>>
>>> * cygwin-3.1.0-0.4
>>> * cygwin-devel-3.1.0-0.4
>>> * cygwin-doc-3.1.0-0.4
>>
>>> - New APIs: sched_getaffinity, sched_setaffinity, pthread_getaffinity_np,
>>>    pthread_setaffinity_np, plus CPU_SET macros.
>>
>> There's some problem with <sched.h>, seen with boost-1.71.0/bootstrap.sh,
>> even after tweaking their sysinfo.cpp like this to include <sched.h>:
>>

>> Actually it is boost's fault to include <pthread.h> before defining _GNU_SOURCE,
>> but it feels like Cygwin should *not* define CPU_COUNT_S without _GNU_SOURCE.

> Thanks for the problem report.  Blame me for this one.  I believe your last
> suggestion is the correct fix but I want to double-check something additional.
> Shortly I'll submit a patch to correct this one way or another.

Fix does work as expected, thanks!
/haubi/

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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