public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Jose Isaias Cabrera <jicman@outlook.com>
To: Agner Fog <agner@agner.org>, "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: Bug report. Clang sqrtl(-1) causes access violation
Date: Sat, 11 May 2019 03:33:00 -0000	[thread overview]
Message-ID: <DB7PR01MB53866AAD9EEAE0AFA6689DF3DE0D0@DB7PR01MB5386.eurprd01.prod.exchangelabs.com> (raw)
In-Reply-To: <06482f2d-df3e-7083-15b0-707db4fce98e@agner.org>


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@elimelec /cygdrive/c/source/c++/test
$ ls
a.exe  sqrt.cpp

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

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

  reply	other threads:[~2019-05-11  3:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-10 12:58 Agner Fog
2019-05-10 13:38 ` Sam Habiel
2019-05-10 14:04   ` Franz Fehringer
2019-05-10 13:50 ` Jose Isaias Cabrera
2019-05-10 19:44   ` Agner Fog
2019-05-10 19:54     ` Jose Isaias Cabrera
2019-05-10 20:56       ` Agner Fog
2019-05-11  3:33         ` Jose Isaias Cabrera [this message]
2019-06-03 11:11 ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DB7PR01MB53866AAD9EEAE0AFA6689DF3DE0D0@DB7PR01MB5386.eurprd01.prod.exchangelabs.com \
    --to=jicman@outlook.com \
    --cc=agner@agner.org \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).