OSX universal build broken in latest jdk7u

Henri Gomez henri.gomez at gmail.com
Tue May 29 01:01:54 PDT 2012


I get the following error when building latest jdk7u :

dk7u/workspace/jdk/src/macosx//native/sun/font
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/solaris//native/sun/font
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/share//native/sun/font
  -I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/macosx//native/sun/java2d
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/solaris//native/sun/java2d
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/share//native/sun/java2d
  -I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/macosx//native/sun/java2d/opengl
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/solaris//native/sun/java2d/opengl
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/share//native/sun/java2d/opengl
 -c -o /Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/build/macosx-universal/tmp/sun/sun.lwawt/lwawt/obj/AWTEvent.o
 /Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/macosx/native/sun/awt/AWTEvent.m
/Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc  -Os
-fno-strict-aliasing -fPIC -W -Wall  -Wno-unused -Wno-parentheses
-arch i386 -arch x86_64 -D_LITTLE_ENDIAN
-F/System/Library/Frameworks/JavaVM.framework/Frameworks
-F/System/Library/Frameworks/ApplicationServices.framework/Frameworks
-DNDEBUG -DARCH='"universal"' -Duniversal -D_ALLBSD_SOURCE
-DRELEASE='"1.7.0-jdk7u6-b11"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE
-D_REENTRANT -DMACOSX -I.
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/build/macosx-universal/tmp/sun/sun.lwawt/lwawt/CClassHeaders
-I../../../src/solaris/javavm/export
-I../../../src/share/javavm/export -I../../../src/share/native/common
-I../../../src/solaris/native/common
-I../../../src/share/native/sun/lwawt
-I../../../src/solaris/native/sun/lwawt
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/build/macosx-universal/tmp/sun/sun.lwawt/lwawt/CClassHeaders
-I../../../src/share/native/sun/awt/debug
-I../../../src/share/native/sun/awt/image/cvutils
-I../../../src/share/native/sun/java2d
-I../../../src/share/native/sun/java2d/loops
-I../../../src/share/native/sun/awt/image/cvutils
-I../../../src/share/native/sun/awt/image
-I../../../src/share/native/sun/font
-I../../../src/share/native/sun/java2d/pipe
-I../../../src/share/native/sun/java2d/opengl
-I../../../src/share/native/sun/dc/path
-I../../../src/share/native/sun/dc/doe
-I../../../src/share/native/sun/awt/alphacomposite
-I../../../src/share/native/sun/awt/medialib
-I../../../src/share/native/sun/awt
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/macosx//native/sun/awt
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/solaris//native/sun/awt
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/share//native/sun/awt
  -I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/macosx//native/sun/osxapp
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/solaris//native/sun/osxapp
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/share//native/sun/osxapp
  -I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/macosx//native/sun/font
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/solaris//native/sun/font
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/share//native/sun/font
  -I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/macosx//native/sun/java2d
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/solaris//native/sun/java2d
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/share//native/sun/java2d
  -I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/macosx//native/sun/java2d/opengl
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/solaris//native/sun/java2d/opengl
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/share//native/sun/java2d/opengl
 -c -o /Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/build/macosx-universal/tmp/sun/sun.lwawt/lwawt/obj/AWTView.o
 /Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/macosx/native/sun/awt/AWTView.m
/Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc  -Os
-fno-strict-aliasing -fPIC -W -Wall  -Wno-unused -Wno-parentheses
-arch i386 -arch x86_64 -D_LITTLE_ENDIAN
-F/System/Library/Frameworks/JavaVM.framework/Frameworks
-F/System/Library/Frameworks/ApplicationServices.framework/Frameworks
-DNDEBUG -DARCH='"universal"' -Duniversal -D_ALLBSD_SOURCE
-DRELEASE='"1.7.0-jdk7u6-b11"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE
-D_REENTRANT -DMACOSX -I.
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/build/macosx-universal/tmp/sun/sun.lwawt/lwawt/CClassHeaders
-I../../../src/solaris/javavm/export
-I../../../src/share/javavm/export -I../../../src/share/native/common
-I../../../src/solaris/native/common
-I../../../src/share/native/sun/lwawt
-I../../../src/solaris/native/sun/lwawt
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/build/macosx-universal/tmp/sun/sun.lwawt/lwawt/CClassHeaders
-I../../../src/share/native/sun/awt/debug
-I../../../src/share/native/sun/awt/image/cvutils
-I../../../src/share/native/sun/java2d
-I../../../src/share/native/sun/java2d/loops
-I../../../src/share/native/sun/awt/image/cvutils
-I../../../src/share/native/sun/awt/image
-I../../../src/share/native/sun/font
-I../../../src/share/native/sun/java2d/pipe
-I../../../src/share/native/sun/java2d/opengl
-I../../../src/share/native/sun/dc/path
-I../../../src/share/native/sun/dc/doe
-I../../../src/share/native/sun/awt/alphacomposite
-I../../../src/share/native/sun/awt/medialib
-I../../../src/share/native/sun/awt
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/macosx//native/sun/awt
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/solaris//native/sun/awt
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/share//native/sun/awt
  -I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/macosx//native/sun/osxapp
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/solaris//native/sun/osxapp
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/share//native/sun/osxapp
  -I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/macosx//native/sun/font
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/solaris//native/sun/font
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/share//native/sun/font
  -I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/macosx//native/sun/java2d
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/solaris//native/sun/java2d
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/share//native/sun/java2d
  -I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/macosx//native/sun/java2d/opengl
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/solaris//native/sun/java2d/opengl
-I/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/share//native/sun/java2d/opengl
 -c -o /Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/build/macosx-universal/tmp/sun/sun.lwawt/lwawt/obj/AWTWindow.o
 /Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/macosx/native/sun/awt/AWTWindow.m
/Users/henri/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u/workspace/jdk/src/macosx/native/sun/awt/AWTWindow.m:127:
error: synthesized property 'nsWindow' must either be named the same
as a compatible ivar or must explicitly name an ivar

>From http://www.cocoabuilder.com/archive/cocoa/311087-about-ivars-declaration-and-property.html,
it seems ivar is not declared as 32bits compatible and as such it
broke universal build.

Is it an expected feature ?



More information about the jdk7u-dev mailing list