delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/03/04/22:49:56

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:subject:to:references:cc:from:message-id:date
:mime-version:in-reply-to:content-type; q=dns; s=default; b=P9os
CSu1QIkkQRGttwQHSW1jhjqBBflw4Z3lrfmN8cU4HhyJ9K3mtBxb/qcr4r+7Ozi2
VVdozVNvrX2Q7NJ2jlophlFJ25q0lDh8u0Qa06ZTL0H0O0lDuv45pBr3lOPcQHS7
WhJEYon1qr4sq39xKa0XFzxHJV3pCR3OARUe2dM=
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:subject:to:references:cc:from:message-id:date
:mime-version:in-reply-to:content-type; s=default; bh=iwFYk/2jeQ
Fp64Jxf31EhkoYTZY=; b=dTEGFGmL6rIfylbl6EprRH5htpU9Aktw14XjUnx+io
WqX1QqhRR6Ue/whK0TesFac3H08cKc/hMLa/rLIK2SIBykAvShM+FOJR94LTD2Ee
Ybzv1jCA7wNEO66hrpH2ZCbAm/2yoSFF8RuUNhJpFinAGIW34d6evKI8mTuw3/+q
0=
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.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=HTo:D*pobox.com, H*i:sk:82b31ab, H*f:sk:82b31ab, H*MI:sk:82b31ab
X-HELO: mail-pf0-f170.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to; bh=z64fdWMZzCLp2qr72JwCFs2gav72TVjhJsQbb6nUGfY=; b=bktaO6aOXnpTnkDj36yYvFQxhra9K6qqJZU9rjwPNxosF739VNqLxaL5dj4ohTJLGM EL+H0krP7CF/zX3dMDuxwbW3zLxnC/mOkcH1Us+AR/B4pg//2NvrkMLEYINqjh654quf xAAgcQyWFEt2tS/FQD47k4PwVl9SDfBQwHGHQ+FJAeZFOcHUBnxTgvJLwlk5ivYseDwm u4rq73alR5Me5Vs8AQbTs0bBLK/6XZU87uuRfgiv58k+M8cnMspKa5Myi43JJQa59ewt zjIaoShagUQOZN0QpuoKazBXI5hFNNhaDJQ5nNiezmNqji1nnCRORtuVDmuXK7T9TnEB +WBw==
X-Gm-Message-State: AMke39kOXmcfdhoBKjhEEd+xMSPHWSH9HWViPnBhiNgIxjHDbMYi6aBIO3cTcW11OBFAWQ==
X-Received: by 10.84.214.9 with SMTP id h9mr15817723pli.65.1488685610632; Sat, 04 Mar 2017 19:46:50 -0800 (PST)
Subject: Re: Strange errors running gcc tests on Cygwin
To: Daniel Santos <daniel DOT santos AT pobox DOT com>, Tim Prince <n8tm AT aol DOT com>
References: <8fa02a72-e684-2ead-eacb-a5347d7594ae AT pobox DOT com> <82b31abc-7b7f-8f13-fc22-521c9ef84abf AT pobox DOT com>
Cc: cygwin AT cygwin DOT com
From: JonY <10walls AT gmail DOT com>
Message-ID: <8bda181f-f0bc-b0dc-2d2d-1bb17031ccee@gmail.com>
Date: Sun, 5 Mar 2017 03:46:33 +0000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0
MIME-Version: 1.0
In-Reply-To: <82b31abc-7b7f-8f13-fc22-521c9ef84abf@pobox.com>
X-IsSubscribed: yes

--w6xiMNmQqNEr0jMFWmgurCgNjD6FgGD4s
Content-Type: multipart/mixed; boundary="7Jbp7dArbRfsn5HKXMGWngqVILuqMG5RP"
From: JonY <10walls AT gmail DOT com>
To: Daniel Santos <daniel DOT santos AT pobox DOT com>, Tim Prince <n8tm AT aol DOT com>
Cc: cygwin AT cygwin DOT com
Message-ID: <8bda181f-f0bc-b0dc-2d2d-1bb17031ccee AT gmail DOT com>
Subject: Re: Strange errors running gcc tests on Cygwin
References: <8fa02a72-e684-2ead-eacb-a5347d7594ae AT pobox DOT com>
 <82b31abc-7b7f-8f13-fc22-521c9ef84abf AT pobox DOT com>
In-Reply-To: <82b31abc-7b7f-8f13-fc22-521c9ef84abf AT pobox DOT com>


--7Jbp7dArbRfsn5HKXMGWngqVILuqMG5RP
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 03/05/2017 02:52 AM, Daniel Santos wrote:
> Well, that's the silly thing; when I ran all of this on my patched code,
> I did not get these errors.   I'm planning on re-running them kind-of in
> hopes that I *will* get these errors so that my compare will be clean,
> but to me this is still not good. make check should NEVER be using any
> native compilers or gcc libraries because that would entirely defeat the
> purpose of doing the tests. I would like to understand what it causing
> this.  Perhaps it is some type of regression?  Note that it claims to be
> setting the LD_LIBRARY_PATH with this directory as the second element:
>=20
>=20
> Setting LD_LIBRARY_PATH to
> .:/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwin/./libgf=
ortran/.libs:/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwi=
n/./libquadmath/.libs:/d/builds/head-test-unpatched-x86_64-pc-cygwin/gcc:.:=
/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwin/./libgfortr=
an/.libs:/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwin/./=
libquadmath/.libs:/d/builds/head-test-unpatched-x86_64-pc-cygwin/gcc
>=20
> spawn [open ...]
> D:/builds/head-test-unpatched-x86_64-pc-cygwin/gcc/testsuite/gfortran2/sy=
nc_3.exe:
> error while loading shared libraries: cyggfortran-4.dll: cannot open
> shared object file: No such file or directory
>=20

Cygwin does NOT use LD_LIBRARY_PATH, Cygwin uses PATH like all Windows
programs. It is one aspect that does not conform to *nix expectations.

Running tests under Cygwin is also complicated by the condition all DLLs
do not get rebased at runtime, or a fork() can fail.

>=20
> This further implies that, if it is looking in the local environment for
> a library and not the build tree, then *all* test results could be
> invalid due to it using compilers and libraries locally installed rather
> than from the build tree, which would be very bad -- a regression that
> hides other regressions!
>=20
> As much as I just want to get my own tests done, I suppose I better
> debug this. *sigh*
>=20
> Daniel
>=20
>=20

I suppose you can try to run s/LD_LIBRARY_PATH/PATH/g to see how it goes.



--7Jbp7dArbRfsn5HKXMGWngqVILuqMG5RP--

--w6xiMNmQqNEr0jMFWmgurCgNjD6FgGD4s
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCAAwFiEE5QrdnbBX9Ppk4bbPcTtf4pwUXUUFAli7ihoSHDEwd2FsbHNA
Z21haWwuY29tAAoJEHE7X+KcFF1Fau0QAIDKepaDXLI+tDAab+VL0eek8VlpVDzI
XYVE+O9s6clt/Nd5gy9AmA6iWllur/Ym6UyCCcKvKyGM8Py9sM+MLN9n3VBlj+UJ
HprtynzjY31dIpEibWLh0SwZlQKqVJ4zGEHer6P1lWo9/9jAqHptBC46WfQ7zbQL
NMIxjw+Iq44GssD8Pc6gsxK8rSCGnyNX+Xtk6fgRIGlneNDwFM9ywhrMQw/aIf24
oHmayqxZAtw8MNUGTUsGv/JC4x/RcIbCpuMUfatJ5va+YFhGIWWtNWOCa6xBVsSi
BabTWqhx1Y4KjEnHqAoDC7rVg5qOazH4uHqImGCcQRrCxJXUhMWRfaGI+cQy1EtG
6niNUTQj/cNYEIg+GMrnhjZtvkUko+88bTyUxKDIyy6kRzzAOXyjGZeRDm4le/qF
Z3TsmkYATXMlS0QU/4p6MiSDMIdLZFL7ePKO+7IjKIFUau4Newb6gx0eEtWs6E0Z
2rvwFKccobO+ARYhP5Hle2oJ7AmxQGbumcFJ8QeZ1mjHWD+LUwp8ST9YCqk6dQ0H
CLSMhcPYMCrHPMYlQ9RsPo2vFCQyCEmqC+Z7qireXyDaQZ3KiOvt7HPsdxcRzIUz
Bx3io5DB3U2fmBfxVPI42EKrOC2QNjA3Vr3QoRDQwLO3kGfCvq2huMSOQbeq31UK
apci5rGTsoza
=Mz+Z
-----END PGP SIGNATURE-----

--w6xiMNmQqNEr0jMFWmgurCgNjD6FgGD4s--

- Raw text -


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