delorie.com/archives/browse.cgi | search |
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:reply-to:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=mmvA9jkCzFkYBUFb | |
9bYPi7mHKTo+Dpeut8ZAihqOFdPYZFaIZ+ydkL0eQMLY9HvW7EqifuHRX6ApDwkg | |
yFHWlnmV8HmAk2rYO3Y9DFaDLqreaBoTwMbYnFlgQORYq1v7iFRV0VsMjisNgzRv | |
ZplMl9Gy8//A7IYLXHdHB3J3nF8= | |
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:reply-to:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=6fOZie8EkFAdgem19oBA/J | |
3AB5M=; b=cDJ9/Y2pVIUryimfN12KPDRAySeEIh68qa0Q2TRHu7M4AJlDuLQtpa | |
918MDOm4Z7TDhonMd+mHc4gb9EkEm7Z2gUkMhZJjGQTRxUqB31QBHkHANImeuYCy | |
ViYyRa5IdE2XynR3UYDy4uXWOPCe9jCojtES6T1CvurR1+p3tGvqo= | |
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-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=1.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=urgently, *that*, triplets, *need* |
X-HELO: | mail-it0-f52.google.com |
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:reply-to:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ICfv+XbSo9NlkYP5GoiSdEpXUBScwRZjrsTgkLHXkFs=; b=PWhjexSKMcV7Dp4HMv1xorfAvkEgxRhLVRbRLRh0JLHl5VLQGMyrmxOze0w+8Npgjc VXqrGgYYGmq/sGNy5rwvwM4mckq9fIv//gXY9MU8tLb3JNZSKCtnkVbc9r32cs1B155M zf7cd2hZFivQzJQkSYq3jFvuEfF8rfp9p2cRDM206tYnd+r31nQ/N/3eTvaFEzVSPilh 2RnQ+UMePlNPfd5MU/n6CDqTrdMlqVHlkXNraQLwIGVfjQIv4eOqfWk34oCAvsE9oLmH t4OxH5ffTpYMWf/3eWaw1M96fZzQq98Rrdeu5iiuM9U3aBZqRNwCgd3Tv8b1UvNf6why VdcQ== |
X-Gm-Message-State: | AMCzsaVhPmMZyfi69PmQUuKES8QFaqPYf6HgzSAEs0BICMbrjSTgHtTT POP2x1XUYxcyYbcLz25ZvvC0NQ== |
X-Google-Smtp-Source: | ABhQp+SuebwhG+EtRITR4ktbl/16MoVhSF0TTN20KmdA3w/6eLhg2u31zdlxnWG7F5jgFzlkU8jkRw== |
X-Received: | by 10.36.131.203 with SMTP id d194mr4318933ite.5.1508527745194; Fri, 20 Oct 2017 12:29:05 -0700 (PDT) |
Subject: | Re: Which is it -pc- or -unknown- |
To: | cygwin AT cygwin DOT com |
References: | <b0dab24e-629a-4d23-c199-69b60a98b9ad AT gmail DOT com> <59e7e340 DOT e9099d0a DOT ecab9 DOT 127a AT mx DOT google DOT com> <5e3588d9-d0a6-4181-54aa-56afa5082eab AT gmail DOT com> <e6342489-bc51-0ac7-df16-73ef8639ba91 AT cygwin DOT com> <bcfc8b60-f269-8647-297f-f4fa3fe58d7d AT gmail DOT com> <10f91c20-d6d0-0dc4-cd2e-f71b2489defd AT cygwin DOT com> <e86099e0-1e7c-1166-2fec-93d403106576 AT gmail DOT com> <193B1E2F-25B2-4C44-BC27-ADD19DD8CD43 AT solidrocksystems DOT com> <59c46d01-832a-357d-53b3-7cc8a7c26f1b AT gmail DOT com> <45b5c7da-e802-ae5f-9692-a9caf94fcda7 AT cygwin DOT com> <f75348d4-cb68-8224-761e-17ffa0a212ac AT gmail DOT com> <fcf80f2e-d44b-662c-1cea-edd159aff27e AT cygwin DOT com> <2e67e7e4-f689-164e-da78-712f60490e9b AT gmail DOT com> <07e896be-05ce-1c21-da25-c66487684bc0 AT cygwin DOT com> <0621b067-5960-80d6-5666-4d2248cbd7cf AT gmail DOT com> <80bdecd3-53b5-1c58-da01-c31348774b0d AT redhat DOT com> |
From: | cyg Simple <cygsimple AT gmail DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
Message-ID: | <b1e4fb31-54f6-4c35-f92f-e51098591502@gmail.com> |
Date: | Fri, 20 Oct 2017 15:29:06 -0400 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
MIME-Version: | 1.0 |
In-Reply-To: | <80bdecd3-53b5-1c58-da01-c31348774b0d@redhat.com> |
X-IsSubscribed: | yes |
On 10/20/2017 2:34 PM, Eric Blake wrote: > On 10/20/2017 11:11 AM, cyg Simple wrote: > > I may regret joining this thread, but here goes. > But thanks for doing so anyway. >>> Your assumption is that the default and chosen triplets must/should be >>> one and the same. >> >> No, I assume no such thing. >> >>> They are not, they need not be, and we are far from >>> being alone in this regard. Once you accept *that*, then the rest of >>> this will make sense. Further insistence that they should be is >>> counter-productive at this point. >> >> You still skirt a reasoning for it to be so. They don't need to be but >> why aren't they? > > Because Cygwin is not the only platform where there is this discrepancy. But only very few. Even Linux on x86_64 has a guess of vendor -pc-. x86_64:Linux:*:*) echo ${UNAME_MACHINE}-pc-linux-${LIBC} exit ;; > Having a different guess from the chosen triplet is nothing unique to > Cygwin, and therefore, downstream Cygwin need not make any effort to > change things. Our reasoning for them to be different can thus be > termed "inertia", if you'd like. But it's not a bug, because it doesn't > break correct usage, and therefore it does not urgently need to be > changed, certainly not with a downstream-only patch. > I have backed off of the idea of downstream changes ever since Yaakov stated that the chosen vendor is -pc- for the packages. Yes, I was under the impression that the default and chosen should match but I corrected my thinking on that. >> You've failed to answer the question by assuming I >> need to be educated on how it is and refusing to give me a reason of why >> it is. I know that I can specify something other than the default. I >> don't know why the default is not the same as the chosen. You keep >> failing to answer that question. Why does it *need* to stay -unknown- >> instead of -pc-? > > No one says the default NEEDs to stay -unknown-, but the point we're > making is that no one has yet provided proof of why it CANNOT stay > -unknown-, and that absent any proof for a reason to change, it's better > to leave well enough alone. > But if it is a default and all the maintainers choose -pc- instead of -unknown- during the configure process then it doesn't matter what the default is except in the case of the default providing a different host tool set than what is delivered by setup. So if someone else build binutils or some other package providing host named tools using the default host and build then the host tool set is named x86_64-unknown-cygwin instead of x86_64-pc-cygwin. This is why I am so adamant for changing config.guess. Currently for me to build binutils and match what is supplied by setup.exe without using cygport and using just configure then I must supply --host and --build to configure so that I get a matching host set. > You are more than welcome to propose a patch to upstream config.guess > that provides a different default (config.guess is Free Software, after > all - as long as you abide by the license terms, you can write and post > any patch you like, whether or not we agree with it; but in turn, you > have to be prepared that upstream may reject your patch which leaves you > with carrying your patch in your personal downstream only); but be aware > that your patch may go nowhere upstream. Part of that is that upstream > already knows about MULTIPLE platforms where the default string guesses > differently than the chosen triple (so Cygwin is not special in that > regards), and part of that is that upstream tends to prefer deferring to > the developers of a given platform where that is practical, and this > thread on the Cygwin list is a good case where the developers of Cygwin > have stated that such a patch is not necessary (it might not be harmful, > but it is not necessary). Or, if upstream does, for some reason, agree > with your patch, it still is not something so urgent that we would > backport it downstream any faster than normal propagation of other > upstream packages slowly picking up newer config.guess as they release > new tarballs. And I'm willing to supply that patch. Config.guess needs a one line change and no change to config.sub. Config.sub already provides the -pc- vendor for the x86_64-cygwin input. Yet another reason for the patch to config.guess. Once the patch is applied then attrition will take care of downstream use. -- cyg Simple -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |