This regression was cause by the patches allowing Boehm-GC to be build with --enable-objc-gc.
The problem is that instead of testing whether java is part of enabled languages (as java is a default langauge and the front end is build independent of the runtime), the new configure test should test whether the java runtime (target-libjava) is being build. This not only affects sh-elf but any target that fails to build target-boehmgc. -- Summary: [4.2 Regression] target-boehm-gc is being build for targets that do not support it Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ayers at gcc dot gnu dot org GCC target triplet: sh-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28072