delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/05/10/23:34:03

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:date:message-id:references
:in-reply-to:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=Nd9TxrW7AzVyH/Jd
JVc6cOTLn0qFAdv7ptJhriRyJyJxs2j7uBsba7F5cGJNy3SoEl+ypXVHAdn9d6HV
IO3tQNNb1ohwCjIabxEvrUG6ZXYSwBXR4Vzkc0uf4g/BJ0OtD+dJtkVUBnr+lMes
mf5A+uHRWneJUt5ptHnwWrLWsx4=
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:date:message-id:references
:in-reply-to:mime-version:content-type
:content-transfer-encoding; s=default; bh=fxOY06qUFze40rnbrFwW5w
Y7/hI=; b=AFK/D8NrKHxBcIDF5eEDUExziuyg52G7VYpKwq0WFFFaRS3K6k/AUM
vcWEBSHspqljAw/a23vjA9Y5sywNCQ97U9gFVyhrXHaOSLx4NrD0jayxl4BU7bS0
diaj6vCohV2l2HhTbowXxP4i0HtH2RzCgrCCf/4OmQ5GvTanrOp1c=
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-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=desktop08pnutf, 3.0.6, H*RU:sk:DB5EUR0, 20190406
X-HELO: EUR01-VE1-obe.outbound.protection.outlook.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HNCMaVx36kAe1e/XJDNXvnP2VDEapVCe81IosY3z9GA=; b=G8rvCPcm5yeYlrizDf4e8LHsmNlwq3mSHoYEkfAE2oxO3G+bOtML3TzdtmhwpzaPPc5EWXSE4I9QnQ/CdoVPPsblH/P8XN9rds3PYjuf3WaDuza6sy5rBfOXfWL/cQI2XfYjbtzVkGOSDFSc5QkmVqhYdvX/BPNMSRkWueWHZoj45AWPSISm2jAyZyifVGJ9AGseKvttrUe7u90PZLBI1p2PK73WAd5aw2ZAA6ny5XfNMNiJ2ts0xyhm/RtKcKdPSvc8ETGJ0ROsMJ023PrGLnAilscv3cBSg1urUXDQGsvHb3Xpl5qwgBT9OBJLQHhaZehfWoDCsTFDgUM4ipXxvQ==
From: Jose Isaias Cabrera <jicman AT outlook DOT com>
To: Agner Fog <agner AT agner DOT org>, "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: Bug report. Clang sqrtl(-1) causes access violation
Date: Sat, 11 May 2019 03:33:45 +0000
Message-ID: <DB7PR01MB53866AAD9EEAE0AFA6689DF3DE0D0@DB7PR01MB5386.eurprd01.prod.exchangelabs.com>
References: <c80240c2-a30e-41b5-7635-cf31f54741d1 AT agner DOT org> <DB7PR01MB53860FB36CC45154C5862E99DE0C0 AT DB7PR01MB5386 DOT eurprd01 DOT prod DOT exchangelabs DOT com> <03f2a425-2f3f-4230-c4c5-3265f511d4f5 AT agner DOT org> <DB7PR01MB538645A4A3A507A493B098D0DE0C0 AT DB7PR01MB5386 DOT eurprd01 DOT prod DOT exchangelabs DOT com>,<06482f2d-df3e-7083-15b0-707db4fce98e AT agner DOT org>
In-Reply-To: <06482f2d-df3e-7083-15b0-707db4fce98e@agner.org>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x4B3Y2jI001288

Agner Fog, on Friday, May 10, 2019 04:55 PM, wrote...

>$ uname -a
>CYGWIN_NT-10.0 DESKTOP-08PNUTF 3.0.6(0.338/5/3) 2019-04-06 16:18 x86_64
>Cygwin
>
>
>$ clang --version
>clang version 5.0.1 (tags/RELEASE_501/final)
>Target: x86_64-unknown-windows-cygnus
>Thread model: posix
>InstalledDir: /usr/bin

You are correct.  There is a problem with the x86_64.  I was trying on a 32bit system which does not fail.  But, on my x86_64, I am witnessing the same behaviour you reported.  So, now, let's see what the developers say.  Thanks.

$ clang sqrt.cpp

jcabrera AT elimelec /cygdrive/c/source/c++/test
$ ls
a.exe  sqrt.cpp

jcabrera AT elimelec /cygdrive/c/source/c++/test
$ ./a.exe
Segmentation fault (core dumped)

jcabrera AT elimelec /cygdrive/c/source/c++/test
$ uname -a
CYGWIN_NT-10.0 elimelec 3.0.7(0.338/5/3) 2019-04-30 18:08 x86_64 Cygwin

jcabrera AT elimelec /cygdrive/c/source/c++/test
$ clang --version
clang version 5.0.1 (tags/RELEASE_501/final)
Target: x86_64-unknown-windows-cygnus
Thread model: posix
InstalledDir: /usr/bin

josé


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