www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/03/20/06:30:21

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 EE5AE3877016
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=cs.umass.edu
Authentication-Results: sourceware.org;
spf=pass smtp.mailfrom=moss AT cs DOT umass DOT edu
Subject: Re: Why is taskset still not in util-linux?
To: cygwin AT cygwin DOT com
References: <1348011a-261a-2a87-d361-4e51fa8dc19f AT cs DOT umass DOT edu>
<85ae12aa-6cc3-5d4c-5df2-25bf811ec6a9 AT maxrnd DOT com>
<72fea68a-b3d7-e87c-726f-8a5a2587a992 AT maxrnd DOT com>
<01e3d337-e5fe-f393-7634-3f1881bca315 AT cs DOT umass DOT edu>
<dca24f26-9da9-591c-19c1-8020e5de3a4e AT maxrnd DOT com>
<79d7afa5-a07b-04df-c259-b76c61390f8c AT maxrnd DOT com>
From: Eliot Moss <moss AT cs DOT umass DOT edu>
Message-ID: <205bb6db-81d0-3530-2c5c-8ea76351e9a0@cs.umass.edu>
Date: Fri, 20 Mar 2020 06:29:34 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101
Thunderbird/68.6.0
MIME-Version: 1.0
In-Reply-To: <79d7afa5-a07b-04df-c259-b76c61390f8c@maxrnd.com>
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
SPF_HELO_NONE, SPF_PASS autolearn=ham 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: Cygwin mailing list <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <http://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: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: moss AT cs DOT umass DOT edu
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 02KAU3JY026424

On 3/20/2020 1:54 AM, Mark Geisert wrote:
> Mark Geisert wrote:
>> Eliot Moss wrote:

>> Rats.  Sorry you've hit some snags.  Are you compiling directly with 'make' or the preferred 
>> 'cygport util-linux.cygport build'?  With the latter I didn't need to make any changes to the 
>> source tree; all mods were accomplished with the new patch file and changes to util-linux.cygport 
>> itself.
> 
> I've reproduced your snags.  It/they are due to my having forgotten another tiny update that should 
> have been part of the 2.33.1-cygwin-cpuset.patch file.  If you 'echo "#define SYS_sched_getaffinity 
> 42" > /usr/local/include/sys/syscall.h' and then back out your other fix attempts, the build using 
> cygport should work.

What an amusing hack!  I especially like the sensibility of 42!  :-)

I will try this.  When I built it last night, I got a successful compile, but it didn't do anything.
For example, taskset 1 ls did not output _anything_ -- no error message and no ls output :-( ...

It will be the weekend here in Australia (I'm visiting, and wondering about exactly how and when I
will get home) so maybe I'll play with it some more on Saturday ...

Regards - Eliot
--
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