Re: build failure on solaris-sparc

2011-09-14 Thread Weijun Wang
> If there is not a bug filed already against java/build we should get one filed. 7090807 -Max On 09/14/2011 10:45 PM, Kelly O'Hair wrote: It has recently become apparent that Solaris is moving into the C99 arena, accidentally in some places, and on purpose in others. Many of the Solaris dev

Re: build failure on solaris-sparc

2011-09-14 Thread Kelly O'Hair
It has recently become apparent that Solaris is moving into the C99 arena, accidentally in some places, and on purpose in others. Many of the Solaris developers are unaware of the C99 features they are using or inflicting on everyone via /usr/include files, mostly because the default 'cc' behavi

Re: build failure on solaris-sparc

2011-09-14 Thread Weijun Wang
I meant http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7090509. -Max On 09/14/2011 10:08 PM, Weijun Wang wrote: I've filed a bug in solaris: xserver/libx11: http://monaco.sfbay.sun.com/detail.jsf?cr=7090509 7090509 OpenJDK build failure on snv_173 -Max On 09/14/2011 08:57 PM, Chris Hega

Re: build failure on solaris-sparc

2011-09-14 Thread Weijun Wang
I've filed a bug in solaris: xserver/libx11: http://monaco.sfbay.sun.com/detail.jsf?cr=7090509 7090509 OpenJDK build failure on snv_173 -Max On 09/14/2011 08:57 PM, Chris Hegarty wrote: We came across a similar issue with SCTP a few months back, see CR 7051922 and CR 7051489. The Solaris guy

Re: build failure on solaris-sparc

2011-09-14 Thread Chris Hegarty
We came across a similar issue with SCTP a few months back, see CR 7051922 and CR 7051489. The Solaris guys fixed the header so that it did not use C99 features unless __C99FEATURES__ is defined. -Chris. On 14/09/2011 12:25, Weijun Wang wrote: The machine is a snv_173 and its /usr/include/X

c99-style header file in snv_173 (was Re: build failure on solaris-sparc)

2011-09-14 Thread Weijun Wang
I removed the following line and the build has finished successfully. Defs-solaris.gmk:147:CFLAGS_COMMON += -xc99=%none -Max On 09/14/2011 07:25 PM, Weijun Wang wrote: The machine is a snv_173 and its /usr/include/X11/Xfuncproto.h is much longer than an old version, say, the one on sc11b1903

Re: build failure on solaris-sparc

2011-09-14 Thread Weijun Wang
The machine is a snv_173 and its /usr/include/X11/Xfuncproto.h is much longer than an old version, say, the one on sc11b1903, which is a JPRT machine with 5.10. Here are the lines that causes the problem: 132 /* requires xproto >= 7.0.22 */ 133 #if defined(__GNUC__) && ((__GNUC__ * 100 + __GN

Re: build failure on solaris-sparc

2011-09-14 Thread Chris Hegarty
Is it possible that one of the system includes in using C99 features? It may be that on older Solaris boxes have an older version of the include file? -Chris. On 14/09/2011 11:49, Weijun Wang wrote: I'm building jdk8 on a solaris-sparc and see this failure: /java/devtools/sparc/SUNWspro/SS12

build failure on solaris-sparc

2011-09-14 Thread Weijun Wang
I'm building jdk8 on a solaris-sparc and see this failure: /java/devtools/sparc/SUNWspro/SS12u1/bin/cc -xO2 -Wc,-Qrm-s -Wc,-Qiselect-T0 -L../../../build/solaris-sparc/tmp/sun/sun.awt/awt/obj -xc99=%none -xCC -errshort=tags -Xa -xregs=no%appl -xmemalign=4s -v -mt -xstrconst -W0,-noglobal -m32