From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2538 invoked by alias); 16 Apr 2013 09:19:38 -0000 Mailing-List: contact java-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-patches-owner@gcc.gnu.org Received: (qmail 2520 invoked by uid 89); 16 Apr 2013 09:19:38 -0000 X-Spam-SWARE-Status: No, score=-6.7 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-User: qpsmtpd, 2 recipients Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 16 Apr 2013 09:19:36 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r3G9JZF7005016 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 16 Apr 2013 05:19:35 -0400 Received: from zalov.cz (vpn-57-214.rdu2.redhat.com [10.10.57.214]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r3G9JXKM006918 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 16 Apr 2013 05:19:34 -0400 Received: from zalov.cz (localhost [127.0.0.1]) by zalov.cz (8.14.5/8.14.5) with ESMTP id r3G9JVOT005761; Tue, 16 Apr 2013 11:19:32 +0200 Received: (from jakub@localhost) by zalov.cz (8.14.5/8.14.5/Submit) id r3G9JUYg005760; Tue, 16 Apr 2013 11:19:30 +0200 Date: Tue, 16 Apr 2013 09:19:00 -0000 From: Jakub Jelinek To: Andreas Schwab Cc: java-patches@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: Re: [PATCH] Fix linking with -findirect-dispatch Message-ID: <20130416091929.GN12880@tucnak.redhat.com> Reply-To: Jakub Jelinek References: <20130416083855.GM12880@tucnak.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2013-q2/txt/msg00024.txt.bz2 On Tue, Apr 16, 2013 at 11:13:35AM +0200, Andreas Schwab wrote: > Jakub Jelinek writes: > > > That doesn't look right, if -findirect-dispatch now newly needs > > _Jv_MonitorExit (when has that been added?), then the symbol should > > be added to libgcj_bc.so. > > libgcj_bc.so is just a dummy library. You need to look at the installed > file, not the one in the build directory. libgcj_bc.so is a dummy library that says what symbols are allowed in -findirect-dispatch linking at link time, and at dynamic link time it is a dummy library with no symbols that just adds DT_NEEDED of the latest and greatest libgcj.so.N, which provides all the symbols. Jakub