Bug 30805 - Another mesa git build error ....
Summary: Another mesa git build error ....
Status: VERIFIED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Keith Whitwell
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-12 09:54 UTC by Andrew Randrianasulu
Modified: 2010-10-12 11:28 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
config.log (29.75 KB, text/plain)
2010-10-12 09:57 UTC, Andrew Randrianasulu
Details

Description Andrew Randrianasulu 2010-10-12 09:54:58 UTC
using mesa up to commit f1c1ee11d34f4aa5975641a615c7fd2edb32e1c0
Author: Brian Paul <brianp@vmware.com>
Date:   Tue Oct 12 09:26:39 2010 -0600

    ir_to_mesa: assorted clean-ups, const qualifiers, new comments

I got this, after make distclean && autogen.sh with my usual switches:

------
gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers  -I/usr/X11R7/include -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing -g  -fPIC  -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DDEBUG -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_UDIS86 -DGALLIUM_LLVMPIPE -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0207 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I/usr/include  -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O2 -fomit-frame-pointer -fPIC lp_rast_tri.c -o lp_rast_tri.o
lp_rast_tri.c:284: warning: type defaults to 'int' in declaration of '__m128i'
lp_rast_tri.c:284: error: expected ';', ',' or ')' before '*' token
lp_rast_tri.c:322: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mm_mullo_epi32'
lp_rast_tri.c:350: error: redefinition of 'lp_rast_triangle_3_16'
lp_rast_tri.c:116: note: previous definition of 'lp_rast_triangle_3_16' was here
lp_rast_tri.c: In function 'lp_rast_triangle_3_16':
lp_rast_tri.c:362: error: '__m128i' undeclared (first use in this function)
lp_rast_tri.c:362: error: (Each undeclared identifier is reported only once
lp_rast_tri.c:362: error: for each function it appears in.)
lp_rast_tri.c:362: error: expected ';' before 'p0'
lp_rast_tri.c:363: error: expected ';' before 'p1'
lp_rast_tri.c:364: error: expected ';' before 'p2'
lp_rast_tri.c:365: error: expected ';' before 'zero'
lp_rast_tri.c:367: error: expected ';' before 'c'
lp_rast_tri.c:368: error: expected ';' before 'dcdx'
lp_rast_tri.c:369: error: expected ';' before 'dcdy'
lp_rast_tri.c:370: error: expected ';' before 'rej4'
lp_rast_tri.c:372: error: expected ';' before 'dcdx2'
lp_rast_tri.c:373: error: expected ';' before 'dcdx3'
lp_rast_tri.c:375: error: expected ';' before 'span_0'
lp_rast_tri.c:376: error: expected ';' before 'span_1'
lp_rast_tri.c:377: error: expected ';' before 'span_2'
lp_rast_tri.c:378: error: expected ';' before 'unused'
lp_rast_tri.c:380: warning: implicit declaration of function 'transpose4_epi32'
lp_rast_tri.c:380: error: 'p0' undeclared (first use in this function)
lp_rast_tri.c:380: error: 'p1' undeclared (first use in this function)
lp_rast_tri.c:380: error: 'p2' undeclared (first use in this function)
lp_rast_tri.c:380: error: 'zero' undeclared (first use in this function)
lp_rast_tri.c:381: error: 'c' undeclared (first use in this function)
lp_rast_tri.c:381: error: 'dcdx' undeclared (first use in this function)
lp_rast_tri.c:381: error: 'dcdy' undeclared (first use in this function)
lp_rast_tri.c:381: error: 'rej4' undeclared (first use in this function)
lp_rast_tri.c:385: warning: implicit declaration of function '_mm_sub_epi32'
lp_rast_tri.c:387: warning: implicit declaration of function '_mm_add_epi32'
lp_rast_tri.c:387: warning: implicit declaration of function 'mm_mullo_epi32'
lp_rast_tri.c:387: warning: implicit declaration of function '_mm_set1_epi32'
lp_rast_tri.c:389: warning: implicit declaration of function '_mm_slli_epi32'
lp_rast_tri.c:391: error: 'dcdx2' undeclared (first use in this function)
lp_rast_tri.c:392: error: 'dcdx3' undeclared (first use in this function)
lp_rast_tri.c:395: error: 'span_0' undeclared (first use in this function)
lp_rast_tri.c:395: error: 'span_1' undeclared (first use in this function)
lp_rast_tri.c:395: error: 'span_2' undeclared (first use in this function)
lp_rast_tri.c:395: error: 'unused' undeclared (first use in this function)
lp_rast_tri.c:398: error: expected ';' before 'cx'
lp_rast_tri.c:401: error: expected ';' before 'c4rej'
lp_rast_tri.c:402: error: expected ';' before 'rej_masks'
lp_rast_tri.c:405: warning: implicit declaration of function '_mm_movemask_epi8'
lp_rast_tri.c:405: error: 'rej_masks' undeclared (first use in this function)
lp_rast_tri.c:406: error: expected ';' before 'c0_0'
lp_rast_tri.c:407: error: expected ';' before 'c1_0'
lp_rast_tri.c:408: error: expected ';' before 'c2_0'
lp_rast_tri.c:410: error: expected ';' before 'c_0'
lp_rast_tri.c:412: error: expected ';' before 'c0_1'
lp_rast_tri.c:413: error: expected ';' before 'c1_1'
lp_rast_tri.c:414: error: expected ';' before 'c2_1'
lp_rast_tri.c:416: error: expected ';' before 'c_1'
lp_rast_tri.c:417: error: expected ';' before 'c_01'
lp_rast_tri.c:419: error: expected ';' before 'c0_2'
lp_rast_tri.c:420: error: expected ';' before 'c1_2'
lp_rast_tri.c:421: error: expected ';' before 'c2_2'
lp_rast_tri.c:423: error: expected ';' before 'c_2'
lp_rast_tri.c:425: error: expected ';' before 'c0_3'
lp_rast_tri.c:426: error: expected ';' before 'c1_3'
lp_rast_tri.c:427: error: expected ';' before 'c2_3'
lp_rast_tri.c:429: error: expected ';' before 'c_3'
lp_rast_tri.c:430: error: expected ';' before 'c_23'
lp_rast_tri.c:431: error: expected ';' before 'c_0123'
lp_rast_tri.c:433: error: 'c_0123' undeclared (first use in this function)
lp_rast_tri.c:441: error: 'cx' undeclared (first use in this function)
lp_rast_tri.c:354: warning: unused variable 'plane'
lp_rast_tri.c: At top level:
lp_rast_tri.c:460: error: redefinition of 'lp_rast_triangle_3_4'
lp_rast_tri.c:136: note: previous definition of 'lp_rast_triangle_3_4' was here
lp_rast_tri.c: In function 'lp_rast_triangle_3_4':
lp_rast_tri.c:468: error: '__m128i' undeclared (first use in this function)
lp_rast_tri.c:468: error: expected ';' before 'p0'
lp_rast_tri.c:469: error: expected ';' before 'p1'
lp_rast_tri.c:470: error: expected ';' before 'p2'
lp_rast_tri.c:471: error: expected ';' before 'zero'
lp_rast_tri.c:473: error: expected ';' before 'c'
lp_rast_tri.c:474: error: expected ';' before 'dcdx'
lp_rast_tri.c:475: error: expected ';' before 'dcdy'
lp_rast_tri.c:477: error: expected ';' before 'dcdx2'
lp_rast_tri.c:478: error: expected ';' before 'dcdx3'
lp_rast_tri.c:480: error: expected ';' before 'span_0'
lp_rast_tri.c:481: error: expected ';' before 'span_1'
lp_rast_tri.c:482: error: expected ';' before 'span_2'
lp_rast_tri.c:483: error: expected ';' before 'unused'
lp_rast_tri.c:485: error: 'p0' undeclared (first use in this function)
lp_rast_tri.c:485: error: 'p1' undeclared (first use in this function)
lp_rast_tri.c:485: error: 'p2' undeclared (first use in this function)
lp_rast_tri.c:485: error: 'zero' undeclared (first use in this function)
lp_rast_tri.c:486: error: 'c' undeclared (first use in this function)
lp_rast_tri.c:486: error: 'dcdx' undeclared (first use in this function)
lp_rast_tri.c:486: error: 'dcdy' undeclared (first use in this function)
lp_rast_tri.c:486: error: 'unused' undeclared (first use in this function)
lp_rast_tri.c:495: error: 'dcdx2' undeclared (first use in this function)
lp_rast_tri.c:496: error: 'dcdx3' undeclared (first use in this function)
lp_rast_tri.c:499: error: 'span_0' undeclared (first use in this function)
lp_rast_tri.c:499: error: 'span_1' undeclared (first use in this function)
lp_rast_tri.c:499: error: 'span_2' undeclared (first use in this function)
lp_rast_tri.c:503: error: expected ';' before 'c0_0'
lp_rast_tri.c:504: error: expected ';' before 'c1_0'
lp_rast_tri.c:505: error: expected ';' before 'c2_0'
lp_rast_tri.c:507: error: expected ';' before 'c_0'
lp_rast_tri.c:509: error: expected ';' before 'c0_1'
lp_rast_tri.c:510: error: expected ';' before 'c1_1'
lp_rast_tri.c:511: error: expected ';' before 'c2_1'
lp_rast_tri.c:513: error: expected ';' before 'c_1'
lp_rast_tri.c:514: error: expected ';' before 'c_01'
lp_rast_tri.c:516: error: expected ';' before 'c0_2'
lp_rast_tri.c:517: error: expected ';' before 'c1_2'
lp_rast_tri.c:518: error: expected ';' before 'c2_2'
lp_rast_tri.c:520: error: expected ';' before 'c_2'
lp_rast_tri.c:522: error: expected ';' before 'c0_3'
lp_rast_tri.c:523: error: expected ';' before 'c1_3'
lp_rast_tri.c:524: error: expected ';' before 'c2_3'
lp_rast_tri.c:526: error: expected ';' before 'c_3'
lp_rast_tri.c:527: error: expected ';' before 'c_23'
lp_rast_tri.c:528: error: expected ';' before 'c_0123'
lp_rast_tri.c:530: error: 'c_0123' undeclared (first use in this function)
lp_rast_tri.c:464: warning: unused variable 'plane'
gmake[4]: *** [lp_rast_tri.o] Error 1
gmake[4]: Leaving directory `/home/guest/source/mesa/src/gallium/drivers/llvmpipe'
gmake[3]: *** [default] Error 1
gmake[3]: Leaving directory `/home/guest/source/mesa/src/gallium/drivers'
gmake[2]: *** [default] Error 1
gmake[2]: Leaving directory `/home/guest/source/mesa/src/gallium'
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory `/home/guest/source/mesa/src'
gmake: *** [default] Error 1
Comment 1 Andrew Randrianasulu 2010-10-12 09:57:25 UTC
Created attachment 39386 [details]
config.log

With my standard, Slackware's default gcc-4.4.4
Comment 2 Jose Fonseca 2010-10-12 10:18:53 UTC
Keith, it appears not all SSE intrinsic code is guarded by the PIPE_ARCH_SSE macro.
Comment 3 Keith Whitwell 2010-10-12 10:29:05 UTC
commit 7533c374570b333b5e0d626d36d18c41d4611cb5
Author: Keith Whitwell <keithw@vmware.com>
Date:   Tue Oct 12 18:26:41 2010 +0100

    llvmpipe: make sure intrinsics code is guarded with PIPE_ARCH_SSE
Comment 4 Andrew Randrianasulu 2010-10-12 11:28:34 UTC
Thanks for fast fix!


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.