This report is incomplete When building with GCC 4.2 from the 4.2 branch, all the demos in demos/jfc and the gcjwebplugin crash. Lowering the optimization for the jdk to -O2 results in working demos and plugin. The build with GCC 4.1 does fail for me on amd64, GCC 4.3 from trunk works fine with -O2 and -O3.
thread on OpenJDK: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2007-November/000685.html -- Summary: OpenJDK7 b23 is miscompiled with -O3 on amd64 Product: gcc Version: 4.2.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: doko at ubuntu dot com GCC target triplet: x86_64-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34304