This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/51470] New: [4.7 regression] make sure libgcj_bc=yes iff enable_shared=yes
- From: "jojelino at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 08 Dec 2011 19:32:27 +0000
- Subject: [Bug libgcj/51470] New: [4.7 regression] make sure libgcj_bc=yes iff enable_shared=yes
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51470
Bug #: 51470
Summary: [4.7 regression] make sure libgcj_bc=yes iff
enable_shared=yes
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgcj
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: jojelino@gmail.com
Host: i686-pc-cygwin
Target: i686-pc-cygwin
Build: i686-pc-cygwin
Created attachment 26029
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26029
preprocessed fix
i tried to configure libjava, but generated config.status had strange
configuration.
S["USE_LIBGCJ_BC_FALSE"]=""
S["USE_LIBGCJ_BC_TRUE"]="#"
S["ENABLE_SHARED_FALSE"]="#"
S["ENABLE_SHARED_TRUE"]=""
why this happened? i saw this in libjava/configure.ac
if test "$enable_shared" != yes; then
use_libgcj_bc=no
fi
there isn't any declaration about use_libgcj_bc, so use_libgcj_bc would default
to no.
here is proposal to fix the problem.