Bug 5549

Summary: cfb doesn't build on sparc64
Product: xorg Reporter: Matthieu Herrb <matthieu.herrb>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: 6.9.0   
Hardware: SPARC   
OS: OpenBSD   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 5799    
Attachments:
Description Flags
proposed patch none

Description Matthieu Herrb 2006-01-09 02:54:54 UTC
building 6.9.0 on OpenBSD/sparc64 and all systems that use LP64 on Ultra-sparc
cpus) fails in cfb:

rm -f cfbsolidC.o
cc -O2 -Wall -Wpointer-arith -Wundef  -fPIC  -I../../../programs/Xserver/cfb -I.
./../../programs/Xserver/mfb -I../../../programs/Xserver/mi           -I../../..
/programs/Xserver/cfb24 -I../../../programs/Xserver/include -I../../../exports/i
nclude/X11            -I../../../include/fonts -I../../../include/extensions -I.
./../../programs/Xserver/Xext  -I../../.. -I../../../exports/include   -DCSRG_BA
SED -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP    -DXCSECURITY -DTOGCUP   -DXF86BI
GFONT -DDPMSExtension    -DPIXPRIV -DPANORAMIX   -DRENDER -DRANDR       -DXFIXES
 -DDAMAGE -DCOMPOSITE -DXEVIE    -DGCCUSESGAS -D_XSERVER64 -DAVOID_GLYPHBLT -DPI
XPRIV -DSINGLEDEPTH                             -DXFreeXDGA -DXvExtension       
                        -DXFree86LOADER -DDLOPEN_HACK -DXFree86Server           
                -DXF86VIDMODE                           -DXvMCExtension         
                        -DSMART_SCHEDULE                                -DBUILDD
EBUG -DXResExtension                            -DX_BYTE_ORDER=X_BIG_ENDIAN     
                        -DXORG_VERSION_CURRENT="(((6) * 10000000) + ((8) * 10000
0) + ((2) * 1000) + 0)" -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO  -DIN_MODULE -DX
Free86Module  -DPSZ=8 -DXFREE86  -DRROP=GXcopy -c cfbsolidC.c
cfbsolidC.c: In function `cfbFillRectSolidCopy':
cfbsolidC.c:750: warning: implicit declaration of function `RROP_UNROLL_CASE32'
cfbsolidC.c:750: error: syntax error before "case"
cfbsolidC.c:755: error: syntax error before "case"
cfbsolidC.c:763: error: syntax error before "case"
cfbsolidC.c:768: error: syntax error before "case"
cfbsolidC.c: In function `cfbSolidSpansCopy':
cfbsolidC.c:1356: error: syntax error before "case"
*** Error code 1
Comment 1 Matthieu Herrb 2006-01-09 02:55:44 UTC
Created attachment 4298 [details] [review]
proposed patch
Comment 2 Adam Jackson 2006-03-21 05:43:35 UTC
fixed in head, 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.