From patchwork Thu Nov 15 10:56:40 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dodji Seketeli X-Patchwork-Id: 199248 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 323322C0342 for ; Thu, 15 Nov 2012 21:56:59 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1353581820; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:From:To:Cc:Subject:Date:Message-ID:User-Agent: MIME-Version:Content-Type:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=kVUVMwjnEurkgOBHPjhNgwqw5Qw=; b=Xx/Jg9f/NlPyrrz vxVMvhD7lDp34i19X0KrjeM1fTSYQ9pb1Tnjw9PtoFSYicucPintQuOm8Cfm/JlD HL0zpksUsP6AfGURwZM9Bwolhlk89ki7K3d5Fpu4u0AdCTeY4m7j6c+Tsm9ninVI jPtuE4eMwjcGK3X1159Buh3k0CUg= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:From:To:Cc:Subject:X-URL:Date:Message-ID:User-Agent:MIME-Version:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=E8bb3r8z6MBLOynxgv+0bjazB+ZpejGNuE9uVtwC9ET8koUX2n29m1zqrguAp+ R1CHdLnIul2qEKAoLFAYiaHtNgFoICjujNioCF5XF5A6J7bh1UpL8B6rbctRCpmm qgTncven65ORfbdBKShfcnx1PFXzS2jj+iHKsWOgSDWkw=; Received: (qmail 19208 invoked by alias); 15 Nov 2012 10:56:52 -0000 Received: (qmail 19131 invoked by uid 22791); 15 Nov 2012 10:56:50 -0000 X-SWARE-Spam-Status: No, hits=-6.0 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 15 Nov 2012 10:56:44 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qAFAuhJr004654 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 15 Nov 2012 05:56:43 -0500 Received: from localhost (ovpn-116-79.ams2.redhat.com [10.36.116.79]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id qAFAufAa015171 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 15 Nov 2012 05:56:43 -0500 Received: by localhost (Postfix, from userid 1000) id 0CD582C0104; Thu, 15 Nov 2012 11:56:40 +0100 (CET) From: Dodji Seketeli To: GCC Patches Cc: Diego Novillo , David Miller , Konstantin Serebryany Subject: [PATCH] Enable building of libsanitizer on sparc linux again. X-URL: http://www.redhat.com Date: Thu, 15 Nov 2012 11:56:40 +0100 Message-ID: <87vcd7w2vr.fsf@redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 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 David Miller wrote > From: Dodji Seketeli > Date: Wed, 14 Nov 2012 14:26:40 +0100 > > > I guess we could do that. That would build libsanitizer, but asan will > > still not be available on sparc if the asan_shadow_offset() target hook > > is not provided. Is that OK to you? > > Yes. So, here is the (IMO obvious) patch to enable libsanitizer's build on sparc linux, even if asan is not supported on that platform yet. OK for trunk? libsanitizer/ChangeLog: * configure.tgt: Enable sparc linux. --- libsanitizer/configure.tgt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsanitizer/configure.tgt b/libsanitizer/configure.tgt index ca7ac1f..988312e 100644 --- a/libsanitizer/configure.tgt +++ b/libsanitizer/configure.tgt @@ -20,7 +20,7 @@ # Filter out unsupported systems. case "${target}" in - x86_64-*-linux* | i?86-*-linux*) + x86_64-*-linux* | i?86-*-linux* | sparc*-*-linux*) ;; *) UNSUPPORTED=1