delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/03/04/00:45:15

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:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=DNc
OBwyzUE0GHFpL2Eu5dmJoGkN1P/8NGKMpvGRCQwVAjGSd2BE07WZ1OalkwRMYTuW
9c1wvQEE19ry3EVfUH01UNBM6CN2pmbX+E+oddKEkfjLCCOsyr559qZBBxtt8E94
W9dOU1xyVZ48jTZ1TnOUm32CgJ3XXKbJAkqGPUIo=
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:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=UjT9zzQb1
lhV8028AxSshilXaOI=; b=PHZ2vaB2Bpl46+bs6bu7hiFJ9Sjg8xIAQVskCjFwI
tC77S5mb9DaMtGANQZv/A1wC/+4hTburkGuBAb7+Wd9R2gqttMY7snIUybatHIhD
z/fYwj/u71dpviRpmCVC/DmPXk3wGwNWNVG/gYwe+BueXnECr+5yXgap0zVxktap
bg=
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=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=stranger, H*Ad:D*pobox.com, IMAGES, images
X-HELO: sasl.smtp.pobox.com
To: JonY <10walls AT gmail DOT com>, cygwin AT cygwin DOT com
From: Daniel Santos <daniel DOT santos AT pobox DOT com>
Subject: Strange errors running gcc tests on Cygwin
Message-ID: <8fa02a72-e684-2ead-eacb-a5347d7594ae@pobox.com>
Date: Fri, 3 Mar 2017 23:48:58 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1
MIME-Version: 1.0
X-Pobox-Relay-ID: B0B56C9C-009D-11E7-95C9-97B1B46B9B0B-06139138!pb-smtp1.pobox.com

Hello. I'm trying to validate a gcc patchset that affects msabi 
functions, so I need good test results on Cygwin, but my unpatched tests 
are getting hundreds of failures for which I cannot determine the cause. 
I'm running Cygwin 64 bit on Windows 7 in a qemu vm (with kvm).  My 
sources are on a C: drive (gcc's HEAD a from a few days ago), but I 
didn't make that device large enough, so I had to add a second device on 
D for the builds.  I have cygdrive set to /  (in /etc/fstab, I have 
"none            /       cygdrive binary,posix=0,user 0 0"), but the 
file names it's printing is using the D: format instead of /d.  Example:

FAIL: gfortran.dg/coarray/sync_3.f90 -fcoarray=single  -O2   output 
pattern test, is 
D:/builds/head-test-unpatched-x86_64-pc-cygwin/gcc/testsuite/gfortran2/sync_3.exe: 
error while loading shared libraries: cyggfortran-4.dll: cannot open 
shared object file: No such file or directory

That might not actually be the problem. I do NOT have fortran 
installed.  I have run a successful "make bootstrap" so the build tree 
should have the correct Fortran libs.  The file "cyggfortran-4.dll" does 
exist at the location 
/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwin/libgfortran/.libs/cyggfortran-4.dll. 
The even stranger part is that these errors aren't in the build from my 
patched sources.  Maybe something changed in my environment?  I ran my 
patched tests firsts, which resulted in much fewer failures and I 
haven't re-run them yet to see if it's failing now or not. Any ideas?

This is the snippet from the log for the above failure:

Executing on host: 
/d/builds/head-test-unpatched-x86_64-pc-cygwin/gcc/testsuite/gfortran2/../../gfortran 
-B/d/builds/head-test-unpatched-x86_64-pc-cygwin/gcc/testsuite/gfortran2/../../ 
-B/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwin/./libgfortran/ 
/c/Users/daniel/proj/sys/gcc/work0/gcc/testsuite/gfortran.dg/coarray/sync_3.f90 
-fno-diagnostics-show-caret -fdiagnostics-color=never -fcoarray=single  
-O2   -fcheck=all 
-B/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwin/./libgfortran/.libs 
-L/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwin/./libgfortran/.libs 
-B/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwin/./libquadmath/.libs 
-L/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwin/./libquadmath/.libs 
-o ./sync_3.exe    (timeout = 300)
spawn 
/d/builds/head-test-unpatched-x86_64-pc-cygwin/gcc/testsuite/gfortran2/../../gfortran 
-B/d/builds/head-test-unpatched-x86_64-pc-cygwin/gcc/testsuite/gfortran2/../../ 
-B/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwin/./libgfortran/ 
/c/Users/daniel/proj/sys/gcc/work0/gcc/testsuite/gfortran.dg/coarray/sync_3.f90 
-fno-diagnostics-show-caret -fdiagnostics-color=never -fcoarray=single 
-O2 -fcheck=all 
-B/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwin/./libgfortran/.libs 
-L/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwin/./libgfortran/.libs 
-B/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwin/./libquadmath/.libs 
-L/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwin/./libquadmath/.libs 
-o ./sync_3.exe
PASS: gfortran.dg/coarray/sync_3.f90 -fcoarray=single  -O2   (test for 
excess errors)
Setting LD_LIBRARY_PATH to 
.:/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwin/./libgfortran/.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:.:/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwin/./libgfortran/.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
spawn [open ...]
D:/builds/head-test-unpatched-x86_64-pc-cygwin/gcc/testsuite/gfortran2/sync_3.exe: 
error while loading shared libraries: cyggfortran-4.dll: cannot open 
shared object file: No such file or directory
PASS: gfortran.dg/coarray/sync_3.f90 -fcoarray=single  -O2 execution test
FAIL: gfortran.dg/coarray/sync_3.f90 -fcoarray=single  -O2   output 
pattern test, is 
D:/builds/head-test-unpatched-x86_64-pc-cygwin/gcc/testsuite/gfortran2/sync_3.exe: 
error while loading shared libraries: cyggfortran-4.dll: cannot open 
shared object file: No such file or directory
, should match Fortran runtime error: Invalid image number -1 in SYNC IMAGES
Executing on host: 
/d/builds/head-test-unpatched-x86_64-pc-cygwin/gcc/testsuite/gfortran2/../../gfortran 
-B/d/builds/head-test-unpatched-x86_64-pc-cygwin/gcc/testsuite/gfortran2/../../ 
-B/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwin/./libgfortran/ 
/c/Users/daniel/proj/sys/gcc/work0/gcc/testsuite/gfortran.dg/coarray/sync_3.f90 
-fno-diagnostics-show-caret -fdiagnostics-color=never -fcoarray=lib  
-O2  -lcaf_single  -fcheck=all 
-B/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwin/./libgfortran/.libs 
-L/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwin/./libgfortran/.libs 
-B/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwin/./libquadmath/.libs 
-L/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwin/./libquadmath/.libs 
-o ./sync_3.exe    (timeout = 300)
spawn 
/d/builds/head-test-unpatched-x86_64-pc-cygwin/gcc/testsuite/gfortran2/../../gfortran 
-B/d/builds/head-test-unpatched-x86_64-pc-cygwin/gcc/testsuite/gfortran2/../../ 
-B/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwin/./libgfortran/ 
/c/Users/daniel/proj/sys/gcc/work0/gcc/testsuite/gfortran.dg/coarray/sync_3.f90 
-fno-diagnostics-show-caret -fdiagnostics-color=never -fcoarray=lib -O2 
-lcaf_single -fcheck=all 
-B/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwin/./libgfortran/.libs 
-L/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwin/./libgfortran/.libs 
-B/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwin/./libquadmath/.libs 
-L/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwin/./libquadmath/.libs 
-o ./sync_3.exe
PASS: gfortran.dg/coarray/sync_3.f90 -fcoarray=lib  -O2 -lcaf_single  
(test for excess errors)
Setting LD_LIBRARY_PATH to 
.:/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwin/./libgfortran/.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:.:/d/builds/head-test-unpatched-x86_64-pc-cygwin/x86_64-pc-cygwin/./libgfortran/.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
spawn [open ...]
D:/builds/head-test-unpatched-x86_64-pc-cygwin/gcc/testsuite/gfortran2/sync_3.exe: 
error while loading shared libraries: cyggfortran-4.dll: cannot open 
shared object file: No such file or directory
PASS: gfortran.dg/coarray/sync_3.f90 -fcoarray=lib  -O2 -lcaf_single  
execution test
FAIL: gfortran.dg/coarray/sync_3.f90 -fcoarray=lib  -O2 -lcaf_single  
output pattern test, is 
D:/builds/head-test-unpatched-x86_64-pc-cygwin/gcc/testsuite/gfortran2/sync_3.exe: 
error while loading shared libraries: cyggfortran-4.dll: cannot open 
shared object file: No such file or directory
, should match Fortran runtime error: Invalid image number -1 in SYNC IMAGES


Also, this is how I have configured gcc:

/c/Users/daniel/proj/sys/gcc/work0/configure --host=x86_64-pc-cygwin 
--build=x86_64-pc-cygwin --target=x86_64-pc-cygwin 
--prefix=/home/daniel/local/gcc-head-test-unpatched-x86_64-pc-cygwin 
--enable-stage1-checking=yes,rtl --enable-lto --enable-gold=yes 
--enable-bootstrap --with-system-zlib


Thanks,
Daniel



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