------- 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