Bug 5549 - cfb doesn't build on sparc64
Summary: cfb doesn't build on sparc64
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 6.9.0
Hardware: SPARC OpenBSD
: high normal
Assignee: Xorg Project Team
QA Contact:
Depends on:
Blocks: 5799
  Show dependency treegraph
Reported: 2006-01-09 02:54 UTC by Matthieu Herrb
Modified: 2006-03-20 10:43 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

proposed patch (864 bytes, patch)
2006-01-09 02:55 UTC, Matthieu Herrb
no flags Details | Splinter Review

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
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.