From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by sourceware.org (Postfix) with ESMTPS id E8E82385C019 for ; Sat, 21 Mar 2020 13:29:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E8E82385C019 Received: by mail-wr1-x444.google.com with SMTP id f3so10815471wrw.7 for ; Sat, 21 Mar 2020 06:29:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=N+bFWB2O1zMXWtGyZ1MAbX2JHmLgC21tJEzkqgRrv7g=; b=tomZu46A9KChWw5boUlz5OI89XaGvdA2Fx2h2My7I9JQoYdwZuGQNrt600pNVld11o zhQ0YzPyfFCn4plL6CpNo55jrEa+Tw0+e2AyekL1J1c4hHXVrxLgQtORFIpYlGt4K+YQ m1BFbSE+RNNETmk698qCcOHjbea5C69Sfp0kY/HQIs8LdcSQnWaKN6bp4O1mDC6kij9T O6PqUNkdg4bFUjUTf+G2sfwxaOVtopa87Tc2T80y6Hp6DqTQIBNAjQfZfxc7QESjivXI RfjX4Ovzx7d/mVCv8LDmMAeYnlp1Tse3nL4UAcP5bbCTjCm3IsOvoo8oghCAD/7jJJLF ObKg== X-Gm-Message-State: ANhLgQ0kspIHA6G0ocdkMsEk4/sYo4XqS1nyaX590vS2y6I+gxymFSkD p4Y2Gh8UzaaSZmziGvRrB+dgnrSU X-Google-Smtp-Source: ADFU+vt/h3T/dzkoihk/7xAu+PFMePKiyTSTH5TsYGWM24TZoSbA3kU/Ti5FB4dbXBC5kxZdUmYTSw== X-Received: by 2002:a5d:4146:: with SMTP id c6mr16773686wrq.181.1584797380772; Sat, 21 Mar 2020 06:29:40 -0700 (PDT) Received: from ?IPv6:2003:ee:6715:5401:50a6:d855:7e33:2ad? (p200300EE6715540150A6D8557E3302AD.dip0.t-ipconnect.de. [2003:ee:6715:5401:50a6:d855:7e33:2ad]) by smtp.gmail.com with ESMTPSA id z6sm1967577wrq.53.2020.03.21.06.29.39 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 21 Mar 2020 06:29:40 -0700 (PDT) Subject: Re: Why is taskset still not in util-linux? To: cygwin@cygwin.com References: <1348011a-261a-2a87-d361-4e51fa8dc19f@cs.umass.edu> <85ae12aa-6cc3-5d4c-5df2-25bf811ec6a9@maxrnd.com> <72fea68a-b3d7-e87c-726f-8a5a2587a992@maxrnd.com> <01e3d337-e5fe-f393-7634-3f1881bca315@cs.umass.edu> <79d7afa5-a07b-04df-c259-b76c61390f8c@maxrnd.com> <4c782f2b-c9f0-cd81-cb8d-f874ddc92fa8@cs.umass.edu> From: Marco Atzeri Message-ID: <84e61507-aece-22d0-e956-0436d083d25c@gmail.com> Date: Sat, 21 Mar 2020 14:29:37 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2020 13:29:43 -0000 Am 21.03.2020 um 12:07 schrieb Eliot Moss: > So here's a thing, though I don't understand it: > > In addition the build/taskset.exe, there's a build/.libs/taskset.exe. that is usually the unstripped version > If I install the latter in /usr/bin/.libs/taskset.exe, then > /usr/bin/taskset > works.  In fact, it seems that the version in .libs is the "real" program > and /usr/bin/taskset is some kind of trampoline (?) to it? it is the libtool wrapper, infact it is linked only to cygwin1.dll $ objdump -x .libs/gprof.exe | grep "DLL Name" DLL Name: cygwin1.dll DLL Name: cygintl-8.dll DLL Name: KERNEL32.dll $ objdump -x gprof.exe | grep "DLL Name" DLL Name: cygwin1.dll DLL Name: KERNEL32.dll $ strings gprof.exe | grep ".libs" ./.libs/lt-gprof.c # gprof - temporary wrapper script for .libs/gprof ... > > In fact, a stripped version of build/.libs/taskset installed in /usr/bin > works just fine.  There must be some kind of build and install convention > going on that I am not familiar with.  (I'm not familiar with a lot of > these build processes, actually.) > > Best - Eliot I also forget the details from time to time... Marco