delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/08/14/04:46:51

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.4.1 sourceware.org 745C5385841F
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=maxrnd.com
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=maxrnd.com
Subject: Re: Just updated cygutils and cygstart no longer works
To: cygwin AT cygwin DOT com
References: <CAF+S4qKGwt7tuAMRFoBMsKRc5SKjZLynTDYoKO_vAhoJeJ_Y2A AT mail DOT gmail DOT com>
<CAF+S4qKrR2yTRZDPb8LceFHeGLGe8kyoYA-s9zonx+9ouRc0bw AT mail DOT gmail DOT com>
<1318f7eb-abf0-bcc9-c040-3edc71602d6c AT maxrnd DOT com>
<20210814105405 DOT 50c21fe7f450ca23dc774ebe AT nifty DOT ne DOT jp>
<73b4ce0e-f703-1723-6f0e-72469a78b206 AT maxrnd DOT com>
<87eeawlccv DOT fsf AT Rainer DOT invalid> <87a6lklaav DOT fsf AT Rainer DOT invalid>
From: Mark Geisert <mark AT maxrnd DOT com>
Message-ID: <c3112cf0-3c34-c359-e3e9-94deb814f418@maxrnd.com>
Date: Sat, 14 Aug 2021 01:46:02 -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: <87a6lklaav.fsf@Rainer.invalid>
X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, SPF_HELO_NONE, SPF_NONE,
TXREP autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://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: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 17E8kn7T003249

Hi Achim,

Achim Gratz wrote:
> Achim Gratz writes:
>> The Cygwin gcc is configured to use -mtune=generic,
> 
> …and -march=x86_64 on 64bit and -march=i686 on 32bit.
> 
> While I'd love to switch to x86_64-v2, that would cut off a few
> processors that Win7 can be installed on.

Thanks for the tips.  Will do.

What I've figured out is that it's not the cygstart code itself that's been 
mis-compiled, it's apparently code pulled in from libcygwin.a as cygstart.exe is 
being built (on my machine before packaging).

I do have different gcc/g++ options for building local cygwin1.dll and 
libcygwin.a: "-O2 -march=native -mtune=native".  The offending AVX instructions 
are located in _cygwin_crt0_common().  I also see a couple hundred other cases of 
AVX instructions within locally-built cygwin1.dll but those aren't important for 
resolving this issue.

Sorry to any users who have or will run into this before it's fixed.  If you're on 
a machine that supports AVX instructions you'll be OK.  Otherwise, downgrading 
your cygutils packages to 1.4.16-2 will avoid the problem.

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