Why MACOSX_UNIVERSAL == true by default?

Henri Gomez henri.gomez at gmail.com
Sat Oct 13 01:08:09 PDT 2012


> Adding macosx-port-dev at ... to the thread...
>
>
> On 10/12/12 2:56 PM, Vladimir Ivanov wrote:
>>
>> Hi,
>>
>> Does anybody know/remember why MACOSX_UNIVERSAL=true by default?
>
>
> Yes. :-)
>
>
>> I'm asking, because JDK layout on MacOS X differs from other platforms and
>> to make export_*_jdk build targets work correctly, you need to specify
>> ALT_MACOSX_UNIVERSAL=false.
>>
>> I'd like to fix that (change default value to false), but I have no idea
>> why it was set to true in the first place.
>
>
> Jim Melvin restored Universal build support into HotSpot. However,
> the rest of the JDK did not follow suit. As far as I know/remember,
> only the hotspot repo supports Universal build at the moment.

Good news but there is still problems using OpenJDK 7 on OSX with -d32.

I build universal packages with this added patches
(http://openjdk-osx-build.googlecode.com/svn/trunk/patches-jdk7u-osx/universal-build.patch)
  and check if 32bits support is available back on OSX.

Sadly I still get errors with Jenkins (test app) when using -d32.
Anyboby willing to take a look in it ?

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGBUS (0xa) at pc=0x00e54875, pid=15221, tid=5891
#
# JRE version: 7.0
# Java VM: OpenJDK Server VM (23.6-b03 mixed mode bsd-x86 )
# Problematic frame:
# J  sun.misc.URLClassPath$JarLoader.getResource(Ljava/lang/String;Z)Lsun/misc/Resource;
#
# 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/Documents/jenkins/hs_err_pid15221.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#
Abort trap: 6


More information about the macosx-port-dev mailing list