Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Mar 2010 10:21:13 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Peter Jeremy <peterjeremy@acm.org>
Cc:        x11@freebsd.org
Subject:   Re: [Call for Testing] X.org 7.5 for FreeBSD
Message-ID:  <alpine.BSF.2.00.1003141017330.4599@wonkity.com>
In-Reply-To: <20100313203450.GB2865@server.vk2pj.dyndns.org>
References:  <20100311134413.GH19740@bsdcrew.de> <20100313203450.GB2865@server.vk2pj.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

---902635197-1694398112-1268583673=:4599
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Content-Transfer-Encoding: 8BIT

On Sun, 14 Mar 2010, Peter Jeremy wrote:

> First system is 8-stable/amd64 from late January.  It blows up
> compiling jdk15 as follows:
>
> /usr/bin/gcc -O2 -fno-strict-aliasing -fPIC -W -Wall  -Wno-unused -Wno-parentheses -pipe -fno-omit-frame-pointer   -Damd64 -DARCH='"amd64"' -DRELEASE='"1.5.0_16-p9"' -DFULL_VERSION='"1.5.0_16-p9-root_13_mar_2010_22_04"' -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_ALLBSD_SOURCE  -D_LP64=1 -I. -I/usr/ports/work/usr/ports/java/jdk15/work/control/build/bsd-amd64/tmp/sun/sun.awt.X11/xawt/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/javavm/include -I../../../src/solaris/javavm/include -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/sun/awt/X11 -I../../../src/solaris/native/sun/awt/X11   -DXAWT -DXAWT_HACK -I/usr/ports/work/usr/ports/java/jdk15/work/control/build/bsd-amd64/tmp/sun/sun.awt.X11/xawt/../../sun.awt/awt/CClassHeaders -I../../../src/solaris/native/sun/awt -I../../../src/solaris/native/sun/xawt -I../../../src/solaris/native/sun/jdga -I../../../src/share/nat!
 ive/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/solaris/native/sun/java2d -I../../../src/share/native/sun/java2d/pipe -I../../../src/share/native/sun/java2d/opengl -I../../../src/solaris/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/solaris/native/sun/awt/medialib -I../../../src/solaris/native/sun/font -I/usr/local/include/X11/extensions -I/usr/local/include -I/usr/local/include -DX11DIR=\"/usr/local\" -DLOCALDIR=\"/usr/local\"  -c -o /usr/ports/work/usr/ports/java/jdk15/work/control/build/bsd-amd64/tmp/sun/sun.awt.X11/xawt/obj64/awt_GraphicsEnv.o  ../../../src/sol!
 aris/native/sun/awt/awt_GraphicsEnv.c
> ../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c: In function 'makeDefaultConfig':
> ../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:235: warning: format '%x' expects type 'unsigned int *', but argument 3 has type 'VisualID *'
> ../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c: In function 'J2DXErrHandler':
> ../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:835: error: 'X_ShmAttach' undeclared (first use in this function)
> ../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:835: error: (Each undeclared identifier is reported only once
> ../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:835: error: for each function it appears in.)
...

> X_ShmAttach used to be defined in X11/extensions/XShm.h but is now
> defined in a new file X11/extensions/shmproto.h.  awt_GraphicsEnv.c
> #includes XShm.h via awt_GraphicsEnv.h.  shmproto.h is not referenced
> from anywhere within either the X11 include tree or jdk15 build tree.

A jdk16 build fails the same way:

../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:919: error: 'X_ShmAttach' undeclared (first use in this function)

And there's also a PR for openjdk from February: http://www.freebsd.org/cgi/query-pr.cgi?pr=144063

-Warren Block * Rapid City, South Dakota USA
---902635197-1694398112-1268583673=:4599--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1003141017330.4599>