From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 80490 invoked by alias); 7 Aug 2017 16:56:52 -0000 Mailing-List: contact fortran-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: fortran-owner@gcc.gnu.org Received: (qmail 80445 invoked by uid 89); 7 Aug 2017 16:56:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: =?ISO-8859-1?Q?No, score=-1.4 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=graziosi, Graziosi, he=e2, blomqvist?= X-HELO: mail-io0-f173.google.com Received: from mail-io0-f173.google.com (HELO mail-io0-f173.google.com) (209.85.223.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 07 Aug 2017 16:56:44 +0000 Received: by mail-io0-f173.google.com with SMTP id c74so4696353iod.4 for ; Mon, 07 Aug 2017 09:56:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:message-id:in-reply-to :references:subject:mime-version:content-transfer-encoding :content-disposition; bh=q8ZK4Dv7NZCg5G85ZA+5AycCF/Dsbf33T2Xh433w/8w=; b=okA6rMFQdrVWXZgAttXQ0ZodUBsLrhPbFTdpDcDmtfDqf7IXQrUb5hJ3meIVjqDzbN rYZyWALmi9ghJwTPhaIWAoF9K9Z9JohSBJumer21DiZssewciVi9P9aYpgcOfu4TH0Rj IBqBus2ceO102xe1zZn86DvCwUvX8Vpy4q6rA+VqTNmA6aKWJSeNXxWZ/dR6ELs7fSXg Jel4gE/XYLIMfJK1Nh0r5mLi4eokQdM0HeeBsMA0IrlK3zJSFnQdk5+FBrqVH8bjj+zW v5G0kxxpOZ1HRTAu/UVC/VPCVlAyahBJ3Gq8ucuRjLT99nmxrF2jHu2sWmrONGVI7woG vyeQ== X-Gm-Message-State: AIVw113mQ0eb9i2hzill+Go+IjmzGbEMd2uwS4WugrSsziKJIl0eRpIq 801cRS1DgbssKrs4 X-Received: by 10.107.12.70 with SMTP id w67mr1307631ioi.299.1502125002805; Mon, 07 Aug 2017 09:56:42 -0700 (PDT) Received: from localhost.mail (hat-trick-3.fl-guest.ucar.edu. [128.117.153.110]) by smtp.gmail.com with ESMTPSA id e92sm3488279itd.0.2017.08.07.09.56.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Aug 2017 09:56:41 -0700 (PDT) Date: Mon, 07 Aug 2017 16:56:00 -0000 From: Damian Rouson To: Angelo Graziosi , Janne Blomqvist Cc: mexas@bris.ac.uk, Fortran List Message-ID: In-Reply-To: References: <201708061553.v76FrLQ7022300@mech-as222.men.bris.ac.uk> Subject: Re: About 'error stop' statement MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-IsSubscribed: yes X-SW-Source: 2017-08/txt/msg00023.txt.bz2 =C2=A0 On August 7, 2017 at 2:08:31 AM, Janne Blomqvist (blomqvist.janne@gmail.com= (mailto:blomqvist.janne@gmail.com)) wrote: > On Mon, Aug 7, 2017 at 9:59 AM, Angelo Graziosi=20=20 > wrote:=20=20 >=20=20 >=20=20 > I think the discussion of co-arrays here is entirely irrelevant.=20=20 > You're not using co-arrays, and no co-array library should be linked=20=20 > into your binary.=20=20 I agree. FWIW, I asked whether he used the OpenCoarrays installer, not whether he=E2=80=99s using coarrays. =C2=A0He is using the Windows Subsyste= m for Linux=C2=A0 (which is not yet common) and GCC 5, which matches what the OpenCoarrays=C2= =A0 requires (WSL) and installs (GCC 5). Also, the use of ERROR STOP seemed like an indication that the submitted code might have been simplified=C2=A0 from an application that runs in multiple images (with or without coarrays). > What I think you're seeing is=20=20 >=20=20 > a) In GCC 6, there is some bug in libbacktrace (the library GFortran=20=20 > uses to print backtraces) on Windows, causing a segfault. This seems=20=20 > to have been fixed in GCC 7. (I'm blaming libbacktrace here, because=20=20 > the GFortran ERROR STOP implementation has not changed between 6 and=20=20 > 7. Though it could be some other change in the GCC Windows target=20=20 > support as well, I guess.) which is why I=E2=80=99m hoping he=E2=80=99ll solve the issue by upgrading = to a newer version of GCC on WSL and share how he managed to do so. =C2=A0The only way I found to do it was to build GCC from source. =C2=A0I=E2=80=99m hoping the= re=E2=80=99s a=C2=A0 way to install a newer version of GCC on WSL via package management. Damian