From patchwork Tue Oct 23 04:55:01 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Lance Taylor X-Patchwork-Id: 193352 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 B99872C0180 for ; Tue, 23 Oct 2012 15:55:13 +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=1351572915; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:From:To: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=vlFt7f+ IW7+IYYrC8Tw3H5w2FP0=; b=IQGNO2J7ZkFlNZQSTr5gyiDMy9cn1mbn17bOyN1 KP3xg+cKVjc+j5jnI4Z0j2By3UM+1fevG7/SUe56SPyCyN1/pgwrCu9t2AK8g15b twn/AaEYugOIXsnuC3chOkj3XH3SE4p+6eCFbmd4kxqgEiOwZB42lk0CPKhRPc04 ffR0= 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:X-Google-DKIM-Signature:Received:Received:From:To:Subject:Date:Message-ID:User-Agent:MIME-Version:Content-Type:X-Gm-Message-State:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=UkDPtOx2KcoktdOc7t5B4cFNdH3HRiav0htm7m+iUberb3LIt1PyeUyALRCoAE 6XzWvGtZko+r5tAW+6hQhPyuYyJ4sED2ujKAwkvSG54Cn+Z6yLRHBFCn12lzMHCf 4YfDFPIuYM7UnPtNgxQzNaqK4dXgO9sBzdzniHWMdZ/60=; Received: (qmail 29449 invoked by alias); 23 Oct 2012 04:55:08 -0000 Received: (qmail 29438 invoked by uid 22791); 23 Oct 2012 04:55:07 -0000 X-SWARE-Spam-Status: No, hits=-5.6 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, KHOP_RCVD_TRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE, RP_MATCHES_RCVD, T_TVD_MIME_NO_HEADERS X-Spam-Check-By: sourceware.org Received: from mail-da0-f47.google.com (HELO mail-da0-f47.google.com) (209.85.210.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 23 Oct 2012 04:55:04 +0000 Received: by mail-da0-f47.google.com with SMTP id s35so1632349dak.20 for ; Mon, 22 Oct 2012 21:55:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-type:x-gm-message-state; bh=xU+GGWJzEbPr3KWM2bbNCC3fY5bGmatTGuy0LeqdvSs=; b=P5GMK6n+rNyk/p9MzTgW1PjeRIQKrq+II1F4uvUbWx9DFNOeIFlHpxrWrE4CqcXBJy 1SO+YRxZD7izXrvQvGRgR50ts7GscNfFo9uqG4/nhBp2tWJw3mzci/cC0ROZYxs+zRch duoGMiTGtRbXI9bMoB3XUoItB6EVeZVKP4/QPDgh5SvxYmPL8KDTAYeJGJIxE0IJENka ff/GzPR/LNNeNzSsn2YUZli3fqHfog/oiXPtvFyWwyCS5ku3Xac3G9yq+Z9J7ZOIiDFO LpGZlpTebNFiHWMjXMIT6MD4IW7I1rxUMDY75D5dp3bdw0gxvanHGJZbyRgogTJdMQHQ FXJQ== Received: by 10.68.225.68 with SMTP id ri4mr35971068pbc.115.1350968103338; Mon, 22 Oct 2012 21:55:03 -0700 (PDT) Received: from coign.google.com ([172.19.244.23]) by mx.google.com with ESMTPS id hu5sm7058795pbc.72.2012.10.22.21.55.02 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 22 Oct 2012 21:55:02 -0700 (PDT) From: Ian Lance Taylor To: gcc-patches@gcc.gnu.org, gofrontend-dev@googlegroups.com Subject: gcc 4.7 libgo patch committed: Set libgo version number Date: Mon, 22 Oct 2012 21:55:01 -0700 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 X-Gm-Message-State: ALoCoQmQnpaA3C94G+7EOJXph1XYT9s6DpDOtU9nSMROOZZlr8milJIfjvXymOnUdV6rdUJOBLVkZE7ivojvaPqlsSxp4mFL+GudVA+z07M7u4fMxGZMdeGbXGgMbrs4m/kAUbG0QO+IX3LfySD5RleRpEzJgtPPLDHCt/QPC9BHAW8qknj3ghHseUNPTC33U/f8zYSFxoCi 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 PR 54918 points out that libgo is not using version numbers as it should. At present none of libgo in 4.6, 4.7 and mainline are compatible with each other. This patch to the 4.7 branch sets the version number for libgo there. Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu. Committed to 4.7 branch. Ian Index: configure.ac =================================================================== --- configure.ac (revision 191576) +++ configure.ac (working copy) @@ -11,7 +11,7 @@ AC_INIT(package-unused, version-unused,, AC_CONFIG_SRCDIR(Makefile.am) AC_CONFIG_HEADER(config.h) -libtool_VERSION=1:0:0 +libtool_VERSION=2:1:0 AC_SUBST(libtool_VERSION) AM_ENABLE_MULTILIB(, ..) Index: Makefile.am =================================================================== --- Makefile.am (revision 192024) +++ Makefile.am (working copy) @@ -1753,7 +1753,8 @@ libgo_go_objs = \ libgo_la_SOURCES = $(runtime_files) -libgo_la_LDFLAGS = $(PTHREAD_CFLAGS) $(AM_LDFLAGS) +libgo_la_LDFLAGS = \ + -version-info $(libtool_VERSION) $(PTHREAD_CFLAGS) $(AM_LDFLAGS) libgo_la_LIBADD = \ $(libgo_go_objs) $(LIBFFI) $(PTHREAD_LIBS) $(MATH_LIBS) $(NET_LIBS)