From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10545 invoked by alias); 18 Dec 2014 14:20:57 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 10489 invoked by uid 89); 18 Dec 2014 14:20:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 18 Dec 2014 14:20:51 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sBIEKl9p021670 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 18 Dec 2014 09:20:47 -0500 Received: from tucnak.zalov.cz (ovpn-116-64.ams2.redhat.com [10.36.116.64]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sBIEKjDs013374 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Thu, 18 Dec 2014 09:20:46 -0500 Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.14.9/8.14.9) with ESMTP id sBIEKi3g013909; Thu, 18 Dec 2014 15:20:44 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.14.9/8.14.9/Submit) id sBIEKgJN013908; Thu, 18 Dec 2014 15:20:42 +0100 Date: Thu, 18 Dec 2014 14:29:00 -0000 From: Jakub Jelinek To: Thomas Schwinge Cc: gcc-patches@gcc.gnu.org Subject: Re: OpenACC middle end changes Message-ID: <20141218142042.GL1667@tucnak.redhat.com> Reply-To: Jakub Jelinek References: <87fvdnnijk.fsf@schwinge.name> <20141113180949.GX5026@tucnak.redhat.com> <87r3vxrzca.fsf@schwinge.name> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87r3vxrzca.fsf@schwinge.name> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2014-12/txt/msg01541.txt.bz2 On Thu, Dec 18, 2014 at 12:07:01PM +0100, Thomas Schwinge wrote: > Many thanks for the review comments! The very most have been addresed, > here are just a few comments. If you feel strongly/differently about > any, I'll address those, too. So, with your latest change both compilers build: mkdir objmic; cd objmic ../configure --build=x86_64-intelmicemul-linux-gnu --host=x86_64-intelmicemul-linux-gnu --target=x86_64-intelmicemul-linux-gnu --enable-as-accelerator-for=x86_64-pc-linux-gnu --disable-bootstrap make -j16 make DESTDIR=`pwd`/../objinst install mkdir ../obj; cd ../obj ../configure --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --enable-offload-targets=x86_64-intelmicemul-linux-gnu=/usr/src/gomp-4.0/objmic --disable-bootstrap make -j16 But there are issues during make check. I first did: make -j16 -k check RUNTESTFLAGS='--target_board=unix\{-m32,-m64\} gomp.exp goacc.exp goacc-gomp.exp' and that shows: Making a new config file... echo "set tmpdir /usr/src/gomp-4.0/obj/gcc/testsuite" >> ./site.tmp rm -rf testsuite/gcc-parallel rm -rf testsuite/g++-parallel rm -rf testsuite/gfortran-parallel rm -rf testsuite/objc-parallel mkdir: cannot create directory ‘testsuite’: File exists make[1]: Entering directory '/usr/src/gomp-4.0/obj/gcc' make[1]: Entering directory '/usr/src/gomp-4.0/obj/gcc' make[1]: Entering directory '/usr/src/gomp-4.0/obj/gcc' make[1]: Entering directory '/usr/src/gomp-4.0/obj/gcc' mkdir: cannot create directory ‘plugin’: File exists mkdir: cannot create directory ‘plugin’mkdir: : File existscannot create directory ‘plugin’ : File exists mkdir: cannot create directory ‘plugin’: File exists Makefile:3787: recipe for target 'check-parallel-gcc_1' failed make[1]: [check-parallel-gcc_1] Error 1 (ignored) Makefile:3787: recipe for target 'check-parallel-gcc_2' failed make[1]: [check-parallel-gcc_2] Error 1 (ignored) Makefile:3787: recipe for target 'check-parallel-gcc_3' failed make[1]: [check-parallel-gcc_3] Error 1 (ignored) Makefile:3787: recipe for target 'check-parallel-gcc_4' failed make[1]: [check-parallel-gcc_4] Error 1 (ignored) Clearly preexisting problem even on trunk, so not a show stopper for this. And in libgomp the testing fails completely: Making check in testsuite make[1]: Entering directory '/usr/src/gomp-4.0/obj/x86_64-pc-linux-gnu/libgomp/testsuite' make check-DEJAGNU make[2]: Entering directory '/usr/src/gomp-4.0/obj/x86_64-pc-linux-gnu/libgomp/testsuite' Making a new site.exp file... srcdir=`CDPATH="${ZSH_VERSION+.}:" && cd ../../../../libgomp/testsuite && pwd`; export srcdir; \ EXPECT=expect; export EXPECT; \ runtest="runtest "; \ if /bin/sh -c "$runtest --version" > /dev/null 2>&1; then \ exit_status=0; l='libgomp'; for tool in $l; do \ if $runtest --tool $tool --srcdir $srcdir ; \ then :; else exit_status=1; fi; \ done; \ else echo "WARNING: could not find \`runtest'" 1>&2; :;\ fi; \ exit $exit_status WARNING: Couldn't find the global config file. ERROR: tcl error sourcing libgomp-test-support.exp. can't read "(target_alias)": no such variable while executing "set offload_additional_options " -B/usr/src/gomp-4.0/objmic/libexec/gcc/$(target_alias)/$(gcc_version) -B/usr/src/gomp-4.0/objmic/bin"" (file "libgomp-test-support.exp" line 5) invoked from within "source libgomp-test-support.exp" ("uplevel" body line 1) invoked from within "uplevel #0 source libgomp-test-support.exp" invoked from within "catch "uplevel #0 source $file"" Makefile:277: recipe for target 'check-DEJAGNU' failed make[2]: *** [check-DEJAGNU] Error 1 make[2]: Leaving directory '/usr/src/gomp-4.0/obj/x86_64-pc-linux-gnu/libgomp/testsuite' Makefile:314: recipe for target 'check-am' failed make[1]: *** [check-am] Error 2 make[1]: Leaving directory '/usr/src/gomp-4.0/obj/x86_64-pc-linux-gnu/libgomp/testsuite' Makefile:856: recipe for target 'check-recursive' failed make: *** [check-recursive] Error 1 So clearly the *.exp files need to be taught where to look for libgomp-test-support.exp. Jakub