delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/08/28/06:19:47

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:from:to:subject:references:date:in-reply-to
:message-id:mime-version:content-type; q=dns; s=default; b=E0BIc
IixKc7YQoSInRGoBJrSgwzLcwerj89iJsu7KsModXq6+ZebFRP5cu9NBz5nGH9BH
IGL5zLlaHeNGpdlqPsDl5WG3fSE9ZYcMyKSQPbZENhrLEQBAVGEjGlONpoj3EvF+
RXgzKYRSv9MIZ0+FDeHo2/9zQgXY6nkRbwruiU=
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:from:to:subject:references:date:in-reply-to
:message-id:mime-version:content-type; s=default; bh=qs4ORKvYp3B
UMpT6Fd+3aH/K4ow=; b=RsdUtla84r0kNDtrABaks3n309sfJajRspuN2dwJXsF
ntWwA8IhnD+s28M78raB+QZqSkFx/PuqCbicFeMUyre6NKntrynVqWHMuhVU2ZQb
sROedQUhX8/AHqv52cNBQZf9Yv3JNlGHemU5Mm9FtXebRIEgCn1+yVWpvFCEPD8U
=
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=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=coupled, Hx-languages-length:2122, marketing, family
X-HELO: mail-in-10.arcor-online.net
X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-15.arcor-online.net 3sMW3R37ZYz3kGX
From: Achim Gratz <Stromeko AT nexgo DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: I sent in a bug report and never heard anything back
References: <e4f9f62e-ec33-0c68-42b1-d157262d4590 AT jeffunit DOT com> <ba03a26e-0ce6-8f5b-b070-04d4c3ea7ba3 AT jeffunit DOT com>
Date: Sun, 28 Aug 2016 12:19:11 +0200
In-Reply-To: <ba03a26e-0ce6-8f5b-b070-04d4c3ea7ba3@jeffunit.com> (jeff's message of "Sat, 27 Aug 2016 09:27:54 -0700")
Message-ID: <87twe5w600.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)
MIME-Version: 1.0

jeff writes:
> You are correct. The gcc people replied to my bug report with:
>
> "So the problem is your GMP/MPFR are compiled for one type of CPU and cannot be
> copied to other type."
>
> They closed it as a resolved issue.

Correct, since it's not their bug.

> So the problem is that gcc now requires GMP, and GMP was compiled with options that
> are not compatible with my CPU. I can fix the issue for myself by compiling everything
> from scratch.
>
> The bigger issue is can cygwin distribute a version of gcc that will work with all modern
> processors, including mine, with it's weird lack of AVX and AVX2. Since I ran into the
> issue, I suspect anyone else with a mobile processor like mine will run into the issue.
> I don't know enough about how cygwin is built and installed to know how different versions
> of the GMP library might be distributed for different Intel processors.

GMP for Cygwin is built as a "fat binary" and choses among different
implementations of their assembly at runtime.  The problem here is that
currently the selection is done per CPU family and not per feature
enabled on that CPU, so when a new CPU comes out that Intel marketing
decides to fuse some features off, there needs to be a fallback
implemented to some older type of CPU that didn't have that feature.

> But the problem is not going to go away, and really should be addressed in order to make
> cygwin run on all reasonable platforms.

I've just released a newer GMP package that might solve that problem,
please report back whether it does.  The fallback in GMP is however
implemented based on the availability of the BMI2 instructions rather
than AVX.  Since in all your mails you still didn't manage to tell us
which exact CPU you're having the problem with I can't tell if that's
going to work in this case, but I suspect that AVX availability should
be coupled with BMI2.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Samples for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019