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: unassig...@gcc.gnu.org ReportedBy: jojel...@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.