From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 95306 invoked by alias); 23 Apr 2015 08:55:06 -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 95293 invoked by uid 89); 23 Apr 2015 08:55:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-lb0-f180.google.com Received: from mail-lb0-f180.google.com (HELO mail-lb0-f180.google.com) (209.85.217.180) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 23 Apr 2015 08:55:04 +0000 Received: by lbcga7 with SMTP id ga7so8279970lbc.1 for ; Thu, 23 Apr 2015 01:55:01 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.152.6.166 with SMTP id c6mr1498001laa.93.1429779300955; Thu, 23 Apr 2015 01:55:00 -0700 (PDT) Received: by 10.152.45.3 with HTTP; Thu, 23 Apr 2015 01:55:00 -0700 (PDT) In-Reply-To: <20120316100445.GA30354@mx.loc> References: <20070327170903.GA11737@aon.at> <1330636193-25099-1-git-send-email-rep.dot.nop@gmail.com> <4F594879.7080203@sfr.fr> <20120313163858.GB29875@mx.loc> <3D0569AE-048B-40F9-B916-523B32670B6B@comcast.net> <20120315123954.GA27018@mx.loc> <20120315165632.GC24587@mx.loc> <20120315193547.GC16117@tyan-ft48-01.lab.bos.redhat.com> <20120316100445.GA30354@mx.loc> Date: Thu, 23 Apr 2015 08:55:00 -0000 Message-ID: Subject: Re: [PATCH] gfortran testsuite: implicitly cleanup-modules From: Bernhard Reutner-Fischer To: Mike Stump Cc: Richard Guenther , Jakub Jelinek , Mikael Morin , GCC Patches , Rainer Orth Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg01395.txt.bz2 On 16 March 2012 at 11:04, Bernhard Reutner-Fischer wrote: > On Thu, Mar 15, 2012 at 08:35:47PM +0100, Jakub Jelinek wrote: >>On Thu, Mar 15, 2012 at 05:56:32PM +0100, Bernhard Reutner-Fischer wrote: >>> On Thu, Mar 15, 2012 at 04:57:12PM +0100, Richard Guenther wrote: >>> >On Thu, Mar 15, 2012 at 1:39 PM, Bernhard Reutner-Fischer >>> > wrote: >>Even with that file in, libgomp and libitm make check still fail, >>can't find fortran-modules.exp. > > I have committed the attached as r185460. > > The underlying problem is that dejagnu's runtest.exp only allows for a > single "libdir" where it searches for includes -- see comment in > libgomp.exp and libitm.exp > > While just adding more and more load_gcc_lib calls to users outside of > gcc/ is the easy way out, it is (IMHO) error prone (i ran make check > just in gcc and not in toplevel, fixed my script now). > > It would be desirable if dejagnu would just find all the currently > load_gcc_lib'ed files on its own, via load_lib. > One could > - teach dejagnu to treat libdir as a list of paths I've done the above some time ago, dejagnu >= 1.5.2 has a "libdirs" variable so i'd like to propose to: - Bump the required dejagnu version for gcc-6 to (let's say) 1.5.3 - Afterwards apply the GCC part of https://gcc.gnu.org/ml/gcc-patches/2012-03/msg01169.html in essence wiping all load_gcc_lib workarounds from libgomp and libitm. Oh, and it was copied to literally all toplevel libraries by now, it seems, so could be deleted there too. What do you think? PS: I see that gcc-dg.exp still has this bug: +# BUG: gcc-dg calls gcc-set-multilib-library-path but does not load gcc-defs! thanks,