From patchwork Sun Jul 11 19:02:36 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iain Sandoe X-Patchwork-Id: 58537 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 751C2B6EF0 for ; Mon, 12 Jul 2010 05:02:56 +1000 (EST) Received: (qmail 17801 invoked by alias); 11 Jul 2010 19:02:54 -0000 Received: (qmail 17600 invoked by uid 22791); 11 Jul 2010 19:02:54 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, SARE_SUB_RAND_LETTRS4, TW_BJ X-Spam-Check-By: sourceware.org Received: from c2bthomr14.btconnect.com (HELO c2bthomr14.btconnect.com) (213.123.20.132) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 11 Jul 2010 19:02:49 +0000 Received: from thor.office (host81-138-1-83.in-addr.btopenworld.com [81.138.1.83]) by c2bthomr14.btconnect.com with ESMTP id FRW53285; Sun, 11 Jul 2010 20:02:37 +0100 (BST) X-Mirapoint-IP-Reputation: reputation=Fair-1, source=Queried, refid=0001.0A0B0302.4C3A154D.0082, actions=tag Cc: Jack Howarth Message-Id: From: IainS To: GCC Patches In-Reply-To: Mime-Version: 1.0 (Apple Message framework v936) Subject: Ping ... Re: [Patch, test-suite, plugins] include build_dir/intl to enable finding libintl.h on systems that build it. Date: Sun, 11 Jul 2010 20:02:36 +0100 References: X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Hi, This has been hanging around my local tree for a couple of months.. .. and Jack and I realized that it hadn't been approved when we were considering making the (approved) back-port of the plug-in enabler to 4.5. In Janis' absence would one of the global reviewers please take a look? thanks Iain On 12 May 2010, at 17:26, IainS wrote: > Hi, > > On *-apple-darwin9 most of the plugin tests fail with errors like: > " /GCC/gcc-live-trunk/gcc/testsuite/../../gcc/intl.h:31:21: fatal > error: libintl.h: No such file or directory" > > libintl.h is built and present in ${gcc_objdir}/intl. > > the patch below adds that directory to the plugins testsuite includes, > OK for trunk? > > Iain > > gcc/testsuite/Changelog: > > * lib/plugin-support.exp (plugin-test-execute): Add ${gcc_objdir}/ > intl to includes. > refreshed diff: set optstr "$includes $extra_flags -DIN_GCC -fPIC -shared" Index: gcc/testsuite/lib/plugin-support.exp =================================================================== --- gcc/testsuite/lib/plugin-support.exp (revision 162059) +++ gcc/testsuite/lib/plugin-support.exp (working copy) @@ -84,7 +84,7 @@ proc plugin-test-execute { plugin_src plugin_tests set gcc_objdir "$objdir/../../.." set includes "-I. -I${srcdir} -I${gcc_srcdir}/gcc -I$ {gcc_objdir}/gcc \ -I${gcc_srcdir}/include -I${gcc_srcdir}/libcpp/ include \ - $GMPINC" + $GMPINC -I${gcc_objdir}/intl "