I remember having seen this before [1]. [1] http://java.net/jira/browse/MACOSX_PORT-521
On 22.06.2012, at 09:08, Henri Gomez wrote: >> Staffan and Henri, >> >> I think you guys are talking about different levels of support >> for MacOS X Universal builds. Staffan's change is in HotSpot >> which has supported MacOS X Universal builds for a while now. >> >> Henri is talking about the forest of repos which does not >> currently support MacOS X Universal builds. > > If HotSpot support MacOS X Universal build, may be I could find here > some support to fix a problem I get with my OpenJDK 7 universal build > when using 32bits supper (-d32) and server mode (no problem in client > mode). > > ... > > INFO: AJP13 Listener started: port=8009 > juin 22, 2012 9:02:16 AM winstone.Logger logInternal > INFO: Winstone Servlet Engine v0.9.10 running: controlPort=disabled > juin 22, 2012 9:02:17 AM jenkins.InitReactorRunner$1 onAttained > INFO: Started initialization > # > # A fatal error has been detected by the Java Runtime Environment: > # > # SIGBUS (0xa) at pc=0x00f5cb88, pid=495, tid=19971 > # > # JRE version: 7.0 > # Java VM: OpenJDK Server VM (23.2-b05 mixed mode bsd-x86 ) > # Problematic frame: > # J sun.util.calendar.ZoneInfo.getOffsets(J[II)I > # > # Failed to write core dump. Core dumps have been disabled. To enable > core dumping, try "ulimit -c unlimited" before starting Java again > # > # An error report file with more information is saved as: > # /Users/henri/Downloads/jenkins/hs_err_pid495.log > > > It is easily reproducible : > > - Install OpenJDK 7 (from jdk7u-dev built in universal mode) from my > googlecode site : > > http://openjdk-osx-build.googlecode.com/files/OpenJDK-OSX-1.7-universal-u-jdk-jdk7u5-b30-20120621.dmg) > > Then : > > export JAVA_HOME=/Library/Java/JavaVirtualMachines/1.7.0u.jdk/Contents/Home > > mkdir jenkins > cd jenkins > curl -L http://mirrors.jenkins-ci.org/war/latest/jenkins.war -o jenkins.war > mkdir data > export JENKINS_HOME=`pwd`/data > java -d32 -jar jenkins.war > > > And there is no problem using -d32 -client or -d64. > > Any help from Hotspot guys will be very useful since this problem > prevent me to ask for universal patch to be reintroduce in OpenJDK 7 > and 8. > > Thanks >