Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2012 12:32:10 +0100
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        x11@freebsd.org, freebsd-sparc64@freebsd.org
Subject:   and graphics/dri too [WAS: graphics/libGL regression on sparc64]
Message-ID:  <20120619113210.GA72686@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <20120619104247.GA13630@mech-cluster241.men.bris.ac.uk>
References:  <20120619104247.GA13630@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <anonymous>' 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



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