http://bugs.freedesktop.org/show_bug.cgi?id=15119

           Summary: mesa failed to build on x86 machine
           Product: Mesa
           Version: unspecified
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: major
          Priority: high
         Component: Mesa core
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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 <[EMAIL PROTECTED]>
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


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to