From owner-freebsd-x11@FreeBSD.ORG Tue Jun 19 11:32:18 2012 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 04129106566C; Tue, 19 Jun 2012 11:32:18 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id A1FAC8FC18; Tue, 19 Jun 2012 11:32:17 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1SgwfL-0000Vp-3I; Tue, 19 Jun 2012 12:32:11 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1SgwfK-0003ju-Tk; Tue, 19 Jun 2012 12:32:10 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q5JBWADi073487; Tue, 19 Jun 2012 12:32:10 +0100 (BST) (envelope-from mexas@bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q5JBWA6A073486; Tue, 19 Jun 2012 12:32:10 +0100 (BST) (envelope-from mexas@bris.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bris.ac.uk using -f Date: Tue, 19 Jun 2012 12:32:10 +0100 From: Anton Shterenlikht To: x11@freebsd.org, freebsd-sparc64@freebsd.org Message-ID: <20120619113210.GA72686@mech-cluster241.men.bris.ac.uk> References: <20120619104247.GA13630@mech-cluster241.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120619104247.GA13630@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.4.2.3i Cc: Subject: and graphics/dri too [WAS: graphics/libGL regression on sparc64] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jun 2012 11:32:18 -0000 On Tue, Jun 19, 2012 at 11:42:47AM +0100, Anton Shterenlikht wrote: > On sparc64 r235474, > updating from libGL-7.4.4 to 7.6.1 I get: > > gmake[5]: Entering directory `/usr/ports/graphics/libGL/work/Mesa-7.6.1/src/gallium/winsys/drm/intel/gem' > cc -c -I. -I../../../../../../src/gallium/include -I../../../../../../src/gallium/auxiliary -I../../../../../../src/gallium/drivers -I/src/gallium/include -I/src/gallium/auxiliary -I/src/gallium/drivers -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -std=c99 -fno-strict-aliasing -fPIC -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING intel_drm_batchbuffer.c -o intel_drm_batchbuffer.o > In file included from intel_drm_batchbuffer.c:2: > intel_drm_winsys.h:8:26: error: intel_bufmgr.h: No such file or directory > In file included from intel_drm_batchbuffer.c:2: > intel_drm_winsys.h:30: error: expected specifier-qualifier-list before 'drm_intel_bufmgr' > intel_drm_winsys.h:41: error: expected ')' before '*' token > intel_drm_winsys.h:56: error: expected specifier-qualifier-list before 'drm_intel_bo' > intel_drm_winsys.h:72: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token > intel_drm_batchbuffer.c:23: error: expected specifier-qualifier-list before 'drm_intel_bo' > intel_drm_batchbuffer.c: In function 'intel_drm_batchbuffer_reset': > intel_drm_batchbuffer.c:37: error: 'struct intel_drm_batchbuffer' has no member named 'bo' > intel_drm_batchbuffer.c:38: warning: implicit declaration of function 'drm_intel_bo_unreference' > intel_drm_batchbuffer.c:38: error: 'struct intel_drm_batchbuffer' has no member named 'bo' > intel_drm_batchbuffer.c:39: error: 'struct intel_drm_batchbuffer' has no member named 'bo' > intel_drm_batchbuffer.c:39: warning: implicit declaration of function 'drm_intel_bo_alloc' > intel_drm_batchbuffer.c:39: error: 'struct ' has no member named 'gem' > intel_drm_batchbuffer.c:43: warning: implicit declaration of function 'drm_intel_bo_map' > intel_drm_batchbuffer.c:43: error: 'struct intel_drm_batchbuffer' has no member named 'bo' > intel_drm_batchbuffer.c:44: error: 'struct intel_drm_batchbuffer' has no member named 'bo' > intel_drm_batchbuffer.c: In function 'intel_drm_batchbuffer_reloc': > intel_drm_batchbuffer.c:115: warning: implicit declaration of function 'drm_intel_bo_emit_reloc' > intel_drm_batchbuffer.c:115: error: 'struct intel_drm_batchbuffer' has no member named 'bo' > intel_drm_batchbuffer.c:116: warning: implicit declaration of function 'intel_bo' > intel_drm_batchbuffer.c:120: error: invalid type argument of '->' > intel_drm_batchbuffer.c: In function 'intel_drm_batchbuffer_flush': > intel_drm_batchbuffer.c:159: warning: implicit declaration of function 'drm_intel_bo_unmap' > intel_drm_batchbuffer.c:159: error: 'struct intel_drm_batchbuffer' has no member named 'bo' > intel_drm_batchbuffer.c:162: warning: implicit declaration of function 'drm_intel_bo_exec' > intel_drm_batchbuffer.c:162: error: 'struct intel_drm_batchbuffer' has no member named 'bo' > intel_drm_batchbuffer.c:167: error: 'struct intel_drm_batchbuffer' has no member named 'bo' > intel_drm_batchbuffer.c:168: error: 'struct intel_drm_batchbuffer' has no member named 'bo' > intel_drm_batchbuffer.c:175: error: 'struct intel_drm_batchbuffer' has no member named 'bo' > intel_drm_batchbuffer.c:190: warning: implicit declaration of function 'intel_drm_fence_create' > intel_drm_batchbuffer.c:190: error: 'struct intel_drm_batchbuffer' has no member named 'bo' > intel_drm_batchbuffer.c:190: warning: assignment makes pointer from integer without a cast > intel_drm_batchbuffer.c: In function 'intel_drm_batchbuffer_destroy': > intel_drm_batchbuffer.c:202: error: 'struct intel_drm_batchbuffer' has no member named 'bo' > intel_drm_batchbuffer.c:203: error: 'struct intel_drm_batchbuffer' has no member named 'bo' > gmake[5]: *** [intel_drm_batchbuffer.o] Error 1 > gmake[5]: Leaving directory `/usr/ports/graphics/libGL/work/Mesa-7.6.1/src/gallium/winsys/drm/intel/gem' > gmake[4]: *** [default] Error 1 This is when updating graphics/dri from 7.4.4,2 to 7.6.1: cc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I../../../../../include -I../../../../../src/mesa -I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -std=c99 -fno-strict-aliasing -fPIC -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING i810vb.c -o i810vb.o /bin/sh ../../../../../bin/mklib -o i810_dri.so -noprefix -linker 'cc' -ldflags '-L/usr/local/lib' \ ../common/utils.o ../common/vblank.o ../common/dri_util.o ../common/xmlconfig.o ../../common/driverfuncs.o ../common/texmem.o ../common/drirenderbuffer.o ../common/dri_metaops.o i810context.o i810ioctl.o i810render.o i810screen.o i810span.o i810state.o i810tex.o i810texmem.o i810texstate.o i810tris.o i810vb.o ../../../../../src/mesa/libmesa.a -L/usr/local/lib -ldrm -lexpat -lm -lpthread mklib: Making FreeBSD shared library: i810_dri.so /usr/bin/install -c -o root -g wheel i810_dri.so ../../../../../lib gmake[5]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.6.1/src/mesa/drivers/dri/i810' gmake[5]: Entering directory `/usr/ports/graphics/dri/work/Mesa-7.6.1/src/mesa/drivers/dri/i915' running /usr/local/bin/makedepend gmake[5]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.6.1/src/mesa/drivers/dri/i915' gmake[5]: Entering directory `/usr/ports/graphics/dri/work/Mesa-7.6.1/src/mesa/drivers/dri/i915' cc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I../../../../../include -I../../../../../src/mesa -I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri -I/usr/local/include -I/usr/local/include/drm -I/usr/local/include -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -std=c99 -fno-strict-aliasing -fPIC -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -I../intel -I../intel/server -DI915 -DDRM_VBLANK_FLIP=DRM_VBLANK_FLIP i830_context.c -o i830_context.o In file included from i830_context.h:31, from i830_context.c:28: ../intel/intel_context.h:38:26: error: intel_bufmgr.h: No such file or directory In file included from ../intel/intel_context.h:40, from i830_context.h:31, from i830_context.c:28: ../intel/intel_screen.h:81: error: expected specifier-qualifier-list before 'dri_bufmgr' In file included from i830_context.h:31, from i830_context.c:28: ../intel/intel_context.h:93: error: expected specifier-qualifier-list before 'drm_intel_bo' ../intel/intel_context.h:166: error: expected declaration specifiers or '...' before 'dri_bo' ../intel/intel_context.h:183: error: expected specifier-qualifier-list before 'dri_bufmgr' In file included from i830_context.c:28: i830_context.h:133: error: expected specifier-qualifier-list before 'dri_bo' i830_context.c: In function 'i830CreateContext': i830_context.c:75: error: 'struct intel_context' has no member named 'ViewportMatrix' i830_context.c:85: error: 'struct intel_context' has no member named 'no_rast' i830_context.c:108: error: 'struct intel_context' has no member named 'verts' gmake[5]: *** [i830_context.o] Error 1 gmake[5]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.6.1/src/mesa/drivers/dri/i915' gmake[4]: *** [subdirs] Error 1 gmake[4]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.6.1/src/mesa/drivers/dri' gmake[3]: *** [default] Error 1 gmake[3]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.6.1/src/mesa/drivers' gmake[2]: *** [driver_subdirs] Error 2 gmake[2]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.6.1/src/mesa' gmake[1]: *** [subdirs] Error 1 gmake[1]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.6.1/src' gmake: *** [default] Error 1 *** [do-build] Error code 1 Stop in /usr/ports/graphics/dri. Please advise Thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423