System Environment: -------------------------- --Platform: i965 --Architecture(32-bit,64-bit,compatiblity): 32-bit --2D driver: commit d72e18c10995079121eded758a60ed99b5b8ce1a --3D driver: commit a3b5ae783e18040349f1736c2ad812e0ec24a7b8 --Xserver: commit afd7428690d87097117ab20335658f6d59d60103 --Drm commit d18c2c684229ec6923e1a578ae837f34e6b97422 --Kernel: 2.6.23.1 Bug detailed description: ------------------------- build mesa will met following error: make[1]: Entering directory `/GFX/build/component/Mesa/mesa/src' Making sources for autoconf make[2]: Entering directory `/GFX/build/component/Mesa/mesa/src/glx/x11' make[2]: Nothing to be done for `default'. make[2]: Leaving directory `/GFX/build/component/Mesa/mesa/src/glx/x11' make[2]: Entering directory `/GFX/build/component/Mesa/mesa/src/mesa' make[3]: Entering directory `/GFX/build/component/Mesa/mesa/src/mesa' make[4]: Entering directory `/GFX/build/component/Mesa/mesa/src/mesa/x86' make[4]: Nothing to be done for `default'. make[4]: Leaving directory `/GFX/build/component/Mesa/mesa/src/mesa/x86' gcc -c -I../../include -I../../src/mesa -I../../src/mesa/main -I../../src/mesa/glapi -I../../src/mesa/math -I../../src/mesa/tnl -I../../src/mesa/shader -I../../src/mesa/shader/grammar -I../../src/mesa/shader/slang -I../../src/mesa/swrast -I../../src/mesa/swrast_setup -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fPIC -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DGLX_DIRECT_RENDERING tnl/t_vertex_sse.c -o tnl/t_vertex_sse.o tnl/t_vertex_sse.c: In function ‘_tnl_generate_sse_emit’: tnl/t_vertex_sse.c:656: error: too many arguments to function ‘x86_init_func’ tnl/t_vertex_sse.c:656: error: wrong type argument to unary exclamation mark make[3]: *** [tnl/t_vertex_sse.o] Error 1 make[3]: Leaving directory `/GFX/build/component/Mesa/mesa/src/mesa' make[2]: *** [default] Error 2 make[2]: Leaving directory `/GFX/build/component/Mesa/mesa/src/mesa' make[1]: *** [subdirs] Error 1 make[1]: Leaving directory `/GFX/build/component/Mesa/mesa/src' make: *** [default] Error 1 seems this commit brings in this issue: commit a3b5ae783e18040349f1736c2ad812e0ec24a7b8 Author: Alan Hourihane <alanh@tungstengraphics.com> Date: Wed Mar 19 01:03:48 2008 +0000 set outputs_safe to 0 as it's possible for the code generation to slip over the allocated memory for the vb. pull in sse fixes from gallium-0.1 Reproduce steps: ---------------- build mesa with following steps on 32-bit machine: ./autogen.sh --prefix=$INSTALL_ROOT --with-driver=dri --with-dri-drivers="i915 i965" make Current result: ---------------- make[1]: Entering directory `/GFX/build/component/Mesa/mesa/src' Making sources for autoconf make[2]: Entering directory `/GFX/build/component/Mesa/mesa/src/glx/x11' make[2]: Nothing to be done for `default'. make[2]: Leaving directory `/GFX/build/component/Mesa/mesa/src/glx/x11' make[2]: Entering directory `/GFX/build/component/Mesa/mesa/src/mesa' make[3]: Entering directory `/GFX/build/component/Mesa/mesa/src/mesa' make[4]: Entering directory `/GFX/build/component/Mesa/mesa/src/mesa/x86' make[4]: Nothing to be done for `default'. make[4]: Leaving directory `/GFX/build/component/Mesa/mesa/src/mesa/x86' gcc -c -I../../include -I../../src/mesa -I../../src/mesa/main -I../../src/mesa/glapi -I../../src/mesa/math -I../../src/mesa/tnl -I../../src/mesa/shader -I../../src/mesa/shader/grammar -I../../src/mesa/shader/slang -I../../src/mesa/swrast -I../../src/mesa/swrast_setup -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fPIC -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DGLX_DIRECT_RENDERING tnl/t_vertex_sse.c -o tnl/t_vertex_sse.o tnl/t_vertex_sse.c: In function ‘_tnl_generate_sse_emit’: tnl/t_vertex_sse.c:656: error: too many arguments to function ‘x86_init_func’ tnl/t_vertex_sse.c:656: error: wrong type argument to unary exclamation mark make[3]: *** [tnl/t_vertex_sse.o] Error 1 make[3]: Leaving directory `/GFX/build/component/Mesa/mesa/src/mesa' make[2]: *** [default] Error 2 make[2]: Leaving directory `/GFX/build/component/Mesa/mesa/src/mesa' make[1]: *** [subdirs] Error 1 make[1]: Leaving directory `/GFX/build/component/Mesa/mesa/src' make: *** [default] Error 1
fixed in git.
gcc -c -I../../include -I../../src/mesa -I../../src/mesa/main -I../../src/mesa/glapi -I../../src/mesa/math -I../../src/mesa/tnl -I../../src/mesa/shader -I../../src/mesa/shader/grammar -I../../src/mesa/shader/slang -I../../src/mesa/swrast -I../../src/mesa/swrast_setup -Wall -Wmissing-prototypes -std=c99 -ffast-math -pipe -O3 -fPIC -DGLX_USE_TLS -m32 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DUSE_XCB -DHAVE_POSIX_MEMALIGN -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -fno-strict-aliasing tnl/t_vertex_sse.c -o tnl/t_vertex_sse.o tnl/t_vertex_sse.c: In function '_tnl_generate_sse_emit': tnl/t_vertex_sse.c:656: error: wrong type argument to unary exclamation mark make[4]: *** [tnl/t_vertex_sse.o] Error 1
Oops, guess I didn't build w/ x86 enabled. Should be good now.
verified, thanks
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.