From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24757 invoked by alias); 10 Dec 2008 10:35:00 -0000 Received: (qmail 24738 invoked by uid 48); 10 Dec 2008 10:35:00 -0000 Date: Wed, 10 Dec 2008 10:35:00 -0000 Message-ID: <20081210103500.24737.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libgcj/38396] [4.4 Regression] libgcj_bc for 4.3 and 4.4 are binary incompatible but have the same SONAME In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "rguenth at gcc dot gnu dot org" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2008-q4/txt/msg00095.txt.bz2 ------- Comment #1 from rguenth at gcc dot gnu dot org 2008-12-10 10:35 ------- Testcase (any java program does) class HelloWorld { public static void main(String[] args) { String message="Hallo World!"; System.out.println(message); } } if you install libgcj_bc from GCC 4.4 (that is, symlink /usr/lib*/libgcj_bc.so.1 to /usr/lib*/libgcj.so.10 which is from GCC 4.4) then the link fails as specified, with or without -findirect-dispatch. This works fine for GCC 4.2 vs. GCC 4.3. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|libgcj_bc for 4.3 and 4.4 |[4.4 Regression] libgcj_bc |are binary incompatible but |for 4.3 and 4.4 are binary |have the same SONAME |incompatible but have the | |same SONAME Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38396