From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3758 invoked by alias); 16 Apr 2013 09:57:57 -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 3740 invoked by uid 89); 16 Apr 2013 09:57:57 -0000 X-Spam-SWARE-Status: No, score=-5.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD autolearn=ham version=3.3.1 X-Spam-User: qpsmtpd, 2 recipients Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 16 Apr 2013 09:57:56 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 769A8A5528; Tue, 16 Apr 2013 11:57:54 +0200 (CEST) From: Andreas Schwab To: Jakub Jelinek Cc: java-patches@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: Re: [PATCH] Fix linking with -findirect-dispatch References: <20130416083855.GM12880@tucnak.redhat.com> <20130416091929.GN12880@tucnak.redhat.com> <20130416094852.GO12880@tucnak.redhat.com> X-Yow: .. My pants just went on a wild rampage through a Long Island Bowling Alley!! Date: Tue, 16 Apr 2013 09:57:00 -0000 In-Reply-To: <20130416094852.GO12880@tucnak.redhat.com> (Jakub Jelinek's message of "Tue, 16 Apr 2013 11:48:52 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-q2/txt/msg00028.txt.bz2 Jakub Jelinek writes: > Why would that be a problem? libgcj.so the linker sees (i.e. the dummy > library) doesn't intentionally have DT_NEEDED libgcj.so.N, programs and > shared libraries linked with -findirect-dispatch should be adding > libgcj_bc.so to DT_NEEDED, not libgcj.so.N. But the dummy libgcj_bc.so doesn't define _Jv_MonitorExit, or any other relevant symbol. > If this is caused by some recent broken linker change, then that should be > better reverted. It has been this way since almost two years. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."