Status fields:
creation_ts: | 2009-06-04 18:58 |
---|---|
component: | unspecified |
version: | 0.99.4 |
rep_platform: | All |
op_sys: | Linux |
bug_status: | RESOLVED |
resolution: | FIXED |
reporter: | gnu_andrew@member.fsf.org |
CACAO + OpenJDK 7 now works on Fedora (see #128), but I still have a failure on Gentoo. I think this may be due to a newer glibc (2.10) /mnt/builder/cacao-icedtea/openjdk-ecj/build/linux-amd64/j2sdk-image/bin/java -version LOG: [0x00007f9160be66f0] We received a SIGSEGV and tried to handle it, but we were LOG: [0x00007f9160be66f0] unable to find a Java method at: LOG: [0x00007f9160be66f0] LOG: [0x00007f9160be66f0] PC=0x00007f915fbdc6b1 LOG: [0x00007f9160be66f0] LOG: [0x00007f9160be66f0] Dumping the current stacktrace: at java.lang.String.<clinit>()V(String.java:1218) LOG: [0x00007f9160be66f0] Exiting...
I have a Fedora 11 system at work. I will try to run it there tomorrow.
Observation 1: -noverify makes it go away
Observation 2: compiling it with gcc 4.3 works. There is a strong smell of a gcc 4.4 optimization bug in the air.
Observation 3: Building CACAO with gcc 4.4 works with "-O2 -fno-strict-aliasing". Now it's not easy to decide if the bug is in gcc or CACAO. Aliasing is incredibly muddy, and the verifier source code is not for the faint of heart, either.
Any idea how we might build this in to IcedTea? Or do you think there may be a better solution on the horizon?
Created an attachment (id=66) cacao-no-strict-aliasing.patch Use this patch.
Duplicated the bug with IcedTea6 so it affects both. Trying the patch now.
Fix summary.
http://mips.complang.tuwien.ac.at/hg/cacao/rev/dd4532afd08a
date: | 2009-06-05 18:00 |
---|---|
desc: | cacao-no-strict-aliasing.patch |
type: | text/plain |
download: | cacao-no-strict-aliasing.patch |