From patchwork Tue May 29 21:00:40 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Kosnik X-Patchwork-Id: 161804 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 9F429B6FD4 for ; Wed, 30 May 2012 07:01:09 +1000 (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=1338930070; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Date:From:To:Subject:Message-ID:Mime-Version:Content-Type: Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:Sender:Delivered-To; bh=XqblPqATEWBo2Yo0J0lJ 6CVxJMo=; b=k2HdXpO6U8k9fVTCk79kRLFSl4UUK9SXzM0tU7g1FOMB+J8P8VMp uTcwI68fiRTl+9WuWwxIXa8xGfNkz/hwzyXc8ZIYOvjuJdasOxoPznkF68sXASam T/aTr2OLKvu40Y4AqK6pnC0HEJHBQyzBx8PhyWgayBMIdlImEKJQMgc= 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:Date:From:To:Subject:Message-ID:Mime-Version:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=MwVnzGEzqiQGrUaK3/PAt9E+5/FX45nCtJtTUL4cZvg4i6NhBxfFxgTNK6V7F9 95myWfBOC/3zgU1ljq2RP9ULuuVJOkndtLWdAZtZ9IGNcxgPSBNKc/JUY53aZ33z Fqe/9bWxtumdlV0oGDwsb/FA4RzpwUXPM0ZvS0rN9Modg=; Received: (qmail 30140 invoked by alias); 29 May 2012 21:01:05 -0000 Received: (qmail 30129 invoked by uid 22791); 29 May 2012 21:01:04 -0000 X-SWARE-Spam-Status: No, hits=-5.8 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, RCVD_IN_DNSWL_HI, RCVD_IN_HOSTKARMA_W, SPF_HELO_PASS, TW_YM, T_RP_MATCHES_RCVD 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; Tue, 29 May 2012 21:00:47 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q4TL0iFd000946 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 29 May 2012 17:00:47 -0400 Received: from adair (ovpn-113-120.phx2.redhat.com [10.3.113.120]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q4TL0fiF003530; Tue, 29 May 2012 17:00:42 -0400 Date: Tue, 29 May 2012 14:00:40 -0700 From: Benjamin De Kosnik To: gcc-patches@gcc.gnu.org, jakub@redhat.com Subject: [gfortran/ssp/quadmath] symvers config tweaks Message-ID: <20120529140040.5f3e77e0@adair> 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 As per libstdc++/52700, this fixes the configure bits for libgfortran/libssp/libquadmath. With these fixes, I believe all the libs are safe for --enable-symvers=gnu* variants. Super simple patches... I intend to put this on the 4.7 branch as well. tested x86/linux -benjamin 2012-05-29 Benjamin Kosnik PR libstdc++/51007 * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument. * configure: Regenerated. diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac index fc58a5c..97b337e 100644 --- a/libgfortran/configure.ac +++ b/libgfortran/configure.ac @@ -157,7 +157,7 @@ AS_HELP_STRING([--disable-symvers], [disable symbol versioning for libgfortran]), gfortran_use_symver=$enableval, gfortran_use_symver=yes) -if test "x$gfortran_use_symver" = xyes; then +if test "x$gfortran_use_symver" != xno; then save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map" cat > conftest.map <