From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21211 invoked by alias); 16 Apr 2013 10:26:09 -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 21193 invoked by uid 89); 16 Apr 2013 10:26:08 -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 10:26:08 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r3GAQ7TV030077 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 16 Apr 2013 06:26:07 -0400 Received: from zalov.cz (vpn-57-214.rdu2.redhat.com [10.10.57.214]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r3GAQ5xk013304 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 16 Apr 2013 06:26:06 -0400 Received: from zalov.cz (localhost [127.0.0.1]) by zalov.cz (8.14.5/8.14.5) with ESMTP id r3GAQ4uR006861; Tue, 16 Apr 2013 12:26:04 +0200 Received: (from jakub@localhost) by zalov.cz (8.14.5/8.14.5/Submit) id r3GAQ2Zo006860; Tue, 16 Apr 2013 12:26:02 +0200 Date: Tue, 16 Apr 2013 10:26: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: <20130416102601.GQ12880@tucnak.redhat.com> Reply-To: Jakub Jelinek References: <20130416083855.GM12880@tucnak.redhat.com> <20130416091929.GN12880@tucnak.redhat.com> <20130416094852.GO12880@tucnak.redhat.com> <20130416100851.GP12880@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/msg00031.txt.bz2 On Tue, Apr 16, 2013 at 12:11:06PM +0200, Andreas Schwab wrote: > Jakub Jelinek writes: > > > $ readelf -Wa libjava/.libs/libgcj_bc.so > > That's not the installed library. If that isn't the installed library, then the bug is that it isn't installed. Our spec file reshuffles libraries around heavily, so perhaps the upstream Makefiles are buggy and the reshuffling just hides the bug, but your patch isn't a fix. Installed */libgcj_bc.so should be a copy of the dummy library */libjava/.libs/libgcj_bc.so, and */libgcj_bc.so.1.0.0 should be a (relinked?) copy of the dummy library */libjava/.libs/libgcj_bc.so.1.0.0. I'm pretty sure when the changes were added for gcc 4.2 it worked just fine, but as our rpms don't use what this installs, it is possible it got broken later on. Jakub