delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
X-Authority-Analysis: | v=2.3 cv=Os7UNx3t c=1 sm=1 tr=0 |
a=kiZT5GMN3KAWqtYcXc+/4Q==:117 a=kiZT5GMN3KAWqtYcXc+/4Q==:17 | |
a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=IkcTkHD0fZMA:10 a=t4euiddwgDxvu-PBWF8A:9 | |
a=QEXdDO2ut3YA:10 | |
Subject: | Re: gcc and 128-bit compare/exchange |
To: | cygwin AT cygwin DOT com |
References: | <ab69ca04-06a2-eeb9-4771-e37432b59a77 AT cs DOT umass DOT edu> |
<f27b324f-049c-7830-68cd-14813aab6eed AT cs DOT umass DOT edu> | |
<66f51c13-4c87-3bd6-3b8e-01901155ef2a AT SystematicSw DOT ab DOT ca> | |
<de26ff04-596e-1dad-f2ae-4b91ba53f5c1 AT cs DOT umass DOT edu> | |
<0a2c77b2-7ff2-8118-8631-29d186184ad9 AT SystematicSw DOT ab DOT ca> | |
<0fc8a150-99b1-34dc-0dfb-a096fc3b2096 AT cs DOT umass DOT edu> | |
<314e9077-6e0a-70cc-5b31-4fab2c755581 AT SystematicSw DOT ab DOT ca> | |
<6247a9c3-88b1-2ed0-31eb-408d709f5897 AT cs DOT umass DOT edu> | |
From: | Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca> |
Autocrypt: | addr=Brian DOT Inglis AT SystematicSw DOT ab DOT ca; prefer-encrypt=mutual; |
keydata= | |
mQENBFg15Q0BCADc1LTYJN/oVKOJoXpIo+5yy+sBv535qYNRh5CFqp3pPZwIy6oILNKprWph | |
8J+sXMqYd5H0G1jMDlXendiQbn9SiORuqI7xkV8vzguoFEMhNTxnO1pOQjqRnEnG/W7/5Yy+ | |
DkcCv+Y4O3NX3wol8yP+FaEx4EEEifaO5ZhC1U/ilvHvxE0wjNhRG6Aqlvq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YQ9wTmu8OwVSITSkzgP1lKzyDPZS9SGvlrQp8AEQEAAYkBPAQYAQIAJgIbDBYh | |
BEy/sJ49FaN/AfIQJjY9ewCxhxqTBQJai9GnBQkNRM0aAAoJEDY9ewCxhxqTuL8H/ivw0VXX | |
lQW4c9O8XsMafDcEyV23MH4fdZACss+ZWluda7xIRo78GCLXxARHwJdOE9Jk9+/fDQOTZd4m | |
KW0trLCfWvJnwNJfOLbqse7eydvgdj2UrTpy4DO/5+mAw/ilgZpEGgwMwyqb/2kFiKK7Q64B | |
NKl8Y2kRXltaiXfqyvG2U/NiE4GOPA3yZgXs4Mzd1pzV/nkEIzGkneaeE5WGEWj/8dCnn6a3 | |
zIuq0L59QInxKsTdt10OQiUoRKl8Nx0vDCOzMy0wlJc349gJbQBCAZcumtBBBqAzCAmJ3J7T | |
7ew8hznAEmOwr+LkSOdXFzEjdfTaryhN1AsRLYVUNloEWNA= | |
Organization: | Systematic Software |
Message-ID: | <ece91b2c-c5e8-9fe0-ee28-34ce655981a1@SystematicSw.ab.ca> |
Date: | Thu, 12 Mar 2020 15:13:19 -0600 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 |
Thunderbird/68.5.0 | |
MIME-Version: | 1.0 |
In-Reply-To: | <6247a9c3-88b1-2ed0-31eb-408d709f5897@cs.umass.edu> |
X-CMAE-Envelope: | MS4wfCQifn3gln1wJxl0oQ/dV45hQJ850sSwB+gmZknTNXcdrvGDDMJ+2ykcAQjmw/m571I4dKFNVZW+avzrQZBChPlnxKWLsQXv7IDOE4OnOu0ewoZGAWQO |
+OejJi792s9akx7raR4E9/mK8NGD6y/ct6Cozo3idOLCvcE0eRDD3uq/attl+NH9hNk7y5FxiBq/ZA== | |
X-Spam-Status: | No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, |
SPF_HELO_NONE, SPF_NONE 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: | cygwin AT cygwin DOT com |
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 02CLDq5n027939 |
On 2020-03-11 21:36, Eliot Moss wrote: > On 3/11/2020 12:30 PM, Brian Inglis wrote: >> On 2020-03-11 00:13, Eliot Moss wrote: >>> On 3/11/2020 1:31 AM, Brian Inglis wrote: > >> There are gcc bugzilla comments about requiring gcc to be built with glibc >> libatomic to guarantee indirect inline functions support, and presumably glibc >> detecting gcc indirect inline functions support, and not supporting other libc >> variants including musl, newlib, uclibc, etc. >> >> The problem is that newlib is BSD licensed and glibc is GPL and you can not >> contaminate newlib by looking at or including GPL code, although you may be able >> to do so in the Cygwin winsup library. > > Hmm. Well, I just install standard stuff on Linux and then on Cygwin, and > I see different behavior. I don't know how licenses come into that (I'm not > saying they don't, only that it exceeds my knowledge). Are you saying that > Cygwin's build of gcc is intended to work with other libraries in addition > to glibc, and hence Cygwin's gcc might have been built without some stuff > to avoid license contamination? All gccs allow building and working with any adequate libc including musl, newlib, uclibc, etc. but on Cygwin it is winsup for system stuff with newlib for generic stuff. All I was pointing out was that while you could not copy LGPLed glibc libatomic code to BSD licensed newlib, you should be able to copy LGPLed glibc libatomic code to LGPLed Cygwin winsup libc, if you want to enable it with ifuncs, assuming they work under Windows. > It is probably not worth my while to do my own build of gcc just for this. > I can just write my own wrapper for the __sync function. But it seemed > wrong / broken to me that the __atomic builtin did not do what was expected. > > (Brian, are you the maintainer, or is there someone else with whom the > conversation would be taken up? It's gcc maintainer (see announcement but post here), and base project committers for newlib (via newlib AT sourceware DOT org) and winsup (via cygwin DASH patches AT cygwin DOT com), ml archives in same place as Cygwin lists. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- 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 |