From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15844 invoked by alias); 23 Aug 2006 09:21:08 -0000 Received: (qmail 15141 invoked by uid 48); 23 Aug 2006 09:20:53 -0000 Date: Wed, 23 Aug 2006 09:21:00 -0000 Message-ID: <20060823092053.15140.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libgcj/28698] [gcj] libgcj-bc only used when building shared libs, not executables In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "debian-gcc at lists dot debian dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-08/txt/msg01927.txt.bz2 List-Id: ------- Comment #6 from debian-gcc at lists dot debian dot org 2006-08-23 09:20 ------- There seems to be a mismatch in the installation of the unversioned libgcj_bc.so in the fc rpm and the trunk. On the trunk, this library is created using $(libgcj_bc_dummy_LINK) -xc /dev/null -Wl,-soname,libgcj_bc.so.1 \ -o $(DESTDIR)$(toolexeclibdir)/libgcj_bc.so.1.0.0 -lgcj where libgcj is the real libgcj.so, while in the spec file, a dummy libgcj.so is created first. mkdir libgcj_bc gcc/xgcc -B gcc/ $OPT_FLAGS $LIBGCJ_BC_CFLAGS -shared -fpic -xc /dev/null \ -o libgcj_bc/libgcj.so -Wl,-soname,libgcj.so.7rh -nostdlib gcc/xgcc -B gcc/ $OPT_FLAGS $LIBGCJ_BC_CFLAGS -shared -fpic ../libjava/libgcj_bc.c \ -o libgcj_bc/libgcj_bc.so -Wl,-soname,libgcj_bc.so.1 libgcj_bc/libgcj.so -shared-libgcc Although that code seems to be called for the biarch case only. The ldd on libgcj.so shows the dependency on the real libgcj on the trunk, no dependency with the code from the spec file. Matthias -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28698