From patchwork Mon Apr 22 12:32:40 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Newton X-Patchwork-Id: 16318 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f197.google.com (mail-vc0-f197.google.com [209.85.220.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 98D5F23919 for ; Mon, 22 Apr 2013 12:33:40 +0000 (UTC) Received: by mail-vc0-f197.google.com with SMTP id hf12sf12150336vcb.4 for ; Mon, 22 Apr 2013 05:32:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-beenthere:x-received:received-spf:x-received :x-forwarded-to:x-forwarded-for:delivered-to:x-received:received-spf :x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe :content-type:content-transfer-encoding; bh=XJfqeMPpjueCVl2/QY4tZOfDXuxua4pJHd7Yf3tJ2aU=; b=JoYHYqBJ0UTHgQi+f1J8sahzFw/0t03BojgOOubBjUrTH4dWaPKCYfzaOc3w+pZ2q3 QK1SBx90I8a081TOk3ePqaQ/ym81YCK57VEGKSCAcQU+JHfNFjd0yLMiYqNbzd6oXLME +VLOWazGxfask143Vd2Ao1CK0gmZyoCp775kdFXBND4JPg4iHcVDEvMSofvMehW71iss Ng7U4z+0VQrgpfN+7eo81nN8srKAiOYHUBzh6ngESM6lnqjhN2yV+RwH8Hsg3Q77y0AH yA5JVl9Tag+oHTZIpGnzWhIOcE4PoBQs6mkEW11WgW3VVuF3Ja3raLMfyHPNDa8z7Dsi 4yHw== X-Received: by 10.224.88.200 with SMTP id b8mr19828433qam.8.1366633974213; Mon, 22 Apr 2013 05:32:54 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.58.5 with SMTP id m5ls2387884qeq.40.gmail; Mon, 22 Apr 2013 05:32:54 -0700 (PDT) X-Received: by 10.52.155.141 with SMTP id vw13mr1353380vdb.43.1366633974075; Mon, 22 Apr 2013 05:32:54 -0700 (PDT) Received: from mail-vb0-x22d.google.com (mail-vb0-x22d.google.com [2607:f8b0:400c:c02::22d]) by mx.google.com with ESMTPS id gr7si103729vdc.90.2013.04.22.05.32.53 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 22 Apr 2013 05:32:54 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::22d is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c02::22d; Received: by mail-vb0-f45.google.com with SMTP id w15so5746390vbf.4 for ; Mon, 22 Apr 2013 05:32:53 -0700 (PDT) X-Received: by 10.220.39.69 with SMTP id f5mr19095931vce.45.1366633973774; Mon, 22 Apr 2013 05:32:53 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp74661veb; Mon, 22 Apr 2013 05:32:52 -0700 (PDT) X-Received: by 10.180.188.3 with SMTP id fw3mr20565676wic.33.1366633972156; Mon, 22 Apr 2013 05:32:52 -0700 (PDT) Received: from mail-we0-x235.google.com (mail-we0-x235.google.com [2a00:1450:400c:c03::235]) by mx.google.com with ESMTPS id p5si4660559wiy.92.2013.04.22.05.32.43 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 22 Apr 2013 05:32:52 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c03::235 is neither permitted nor denied by best guess record for domain of will.newton@linaro.org) client-ip=2a00:1450:400c:c03::235; Received: by mail-we0-f181.google.com with SMTP id r6so6105628wey.12 for ; Mon, 22 Apr 2013 05:32:43 -0700 (PDT) X-Received: by 10.180.182.110 with SMTP id ed14mr49337616wic.6.1366633963755; Mon, 22 Apr 2013 05:32:43 -0700 (PDT) Received: from localhost.localdomain (cpc11-seac20-2-0-cust84.7-2.cable.virginmedia.com. [81.108.156.85]) by mx.google.com with ESMTPS id cb50sm40377937eeb.14.2013.04.22.05.32.41 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 22 Apr 2013 05:32:42 -0700 (PDT) Message-ID: <51752DE8.6070206@linaro.org> Date: Mon, 22 Apr 2013 13:32:40 +0100 From: Will Newton User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130402 Thunderbird/17.0.5 MIME-Version: 1.0 To: binutils@sourceware.org CC: patches@linaro.org Subject: [PATCH] ld-plugin/lto.exp: Disable tests with gcc older than 4.7.0. X-Gm-Message-State: ALoCoQmWRJDC7p+ju2SmeZVNmxO18AyHoaWipZA/DRGJTw9ZqNfkmr/vCX4TsBTKQa/lhzm0gQHF X-Original-Sender: will.newton@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::22d is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The test for ld/12942 fails with gcc versions before 4.7.0. This patch disables running the LTO tests with these versions of gcc. Disabling the test in a more fine-grained way would be a bit more complex and it appears that binutils developers are all using newer gccs anyway. ld/testsuite/ChangeLog: 2013-04-22 Will Newton * ld-plugin/lto.exp: Disable tests with gcc older than 4.7.0. --- ld/testsuite/ld-plugin/lto.exp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp index 09474a6..b8e6d68 100644 --- a/ld/testsuite/ld-plugin/lto.exp +++ b/ld/testsuite/ld-plugin/lto.exp @@ -21,7 +21,8 @@ # These tests require plugin and LTO. if { ![check_plugin_api_available] - || ![check_lto_available] } { + || ![check_lto_available] + || ![at_least_gcc_version 4 7] } { return }