delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/03/24/06:40:20

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 8D963385B834
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=maxrnd.com
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=mark AT maxrnd DOT com
Subject: Re: Why is taskset still not in util-linux?
To: moss AT cs DOT umass DOT edu, cygwin <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>
<c075b981d41ff880e0af76c853e764c468b9c6de DOT camel AT cygwin DOT com>
<dd8104f5-4a76-1ff3-f769-69154991aa80 AT cs DOT umass DOT edu>
<f50b2040-c29f-9983-9bce-d1c33fb4bae7 AT maxrnd DOT com>
<4c782f2b-c9f0-cd81-cb8d-f874ddc92fa8 AT cs DOT umass DOT edu>
<b9a74f8a-93cb-bc57-e970-60503a4e064b AT cs DOT umass DOT edu>
<95b3be49-8842-35d3-faab-7fb053201d8f AT roumenpetrov DOT info>
<895c7fa2-62af-efce-97d7-9813c5f54e26 AT cs DOT umass DOT edu>
<eabf992e-37e0-ffc1-31fb-5a1a575c688e AT cs DOT umass DOT edu>
From: Mark Geisert <mark AT maxrnd DOT com>
Message-ID: <fc08b1da-2883-7a29-c670-60dbebe56049@maxrnd.com>
Date: Tue, 24 Mar 2020 01:09:47 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101
Firefox/52.0 SeaMonkey/2.49.4
MIME-Version: 1.0
In-Reply-To: <eabf992e-37e0-ffc1-31fb-5a1a575c688e@cs.umass.edu>
X-Spam-Status: No, score=-12.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_NONE, SPF_NONE,
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: <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>
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 02OAdtqS017263

Eliot Moss wrote:
> Well, I had _thought_ I had done 'cygport install' and run the installed
> version, but I seem to have been wrong.  I seem to have manually over-written
> the proper (stripped) binary with the wrapper!
> 
> Anyway, I've got the whole thing working and offer the attached patches for
> "thoughtful consideration".  I have done away with the need to create an empty
> or fake /usr/local/include/sys/syscall.h and changed the source of the
> relevant programs to conditional #include <sys/syscall.h> on #indef
> __CYGWIN__, which sruck me as more legitimate (the file in questions is
> patched anyway).  And I improved configure.ac so that the programs controlled
> by --enable-schedutils are more independent and can fail individually without
> failing the build.  Part of that was subtituting, as a patch to configure.ac,
> a check for the sched_getaffinity and sched_setaffinity calls in place of the
> check for the corresponding syscall.  The whole builds and installs.  I can
> provide the packaged up version (I assume that is the 'dist' hierarchy) if
> that would be helpful.

Thanks very much for working on all this and contributing it.  I will build and 
test as soon as I can.  I need to research the packaging steps because I intend 
to ITA this package.  I do also want to take another look at the other programs 
built as part of --enable-schedutils; they might (or might not) build cleanly 
but AFAIK there's no support within Cygwin and/or Windows for what they can do 
on Linux.

Thanks again,

..mark

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