[xorg-bugzilla-noise] [Bug 906] New: CVS trunk does not compile with |#define OptimizedCDebugFlags -g -DDEBUG|

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 20 14:14:14 PDT 2004


Please do not reply to this email: if you want to comment on the bug, go to         
the URL shown below and enter yourcomments there.  
  
https://freedesktop.org/bugzilla/show_bug.cgi?id=906       
  
           Summary: CVS trunk does not compile with |#define
                    OptimizedCDebugFlags -g -DDEBUG|
           Product: xorg
           Version: CVS_head
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: cvs
        AssignedTo: xorg-bugzilla-noise at freedesktop.org
        ReportedBy: roland.mainz at nrubsig.org
                CC: eich at pdx.freedesktop.org,roland.mainz at nrubsig.org,torrey
                    @mrcla.com


2004-07-20-trunk on Darwin/PPC, the source tree does not compile when I set
|#define OptimizedCDebugFlags -g -DDEBUG| in hosts.def and darwin.def.
the tree permanently fails at various points.

Example:
-- snip --
rm -f dixfonts.o
/usr/bin/cc -c -g -DDEBUG -DDEBUG_gisburn -Wall -Wpointer-arith -no-cpp-precomp
-UNEED_SCREEN_REGIONS     -I../include -I../../../ex
ports/include/X11 -I../../../include/fonts
-I../../../include/extensions               -I../../../programs/Xserver/Xext
-I../../../p
rograms/Xserver/lbx  -I../../.. -I../../../exports/include   -D__powerpc__
-D__DARWIN__                                 -DNO_ALLOCA 
-DCSRG_BASED  -DSHAPE  -DXKB -DLBX -DXAPPGROUP  -DXCSECURITY -DTOGCUP  
-DXF86BIGFONT    -DPIXPRIV -DPANORAMIX   -DRENDER -DRANDR   
        -DXFIXES -DDAMAGE -DAVOID_GLYPHBLT -DPIXPRIV
-DSINGLEDEPTH                               -DXvExtension                      
        
-DXFree86Server                                                               
-DXvMCExtension                             
        -DSMART_SCHEDULE                                -DBUILDDEBUG
-DXResExtension                            -DX_BYTE_ORDER=X_BIG
_ENDIAN                                 -DXORG_VERSION_CURRENT="(((6) *
10000000) + ((7) * 100000) + ((0) * 1000) + 0)" -DNDEBUG    
    -DVENDOR_STRING=\""The X.Org Foundation"\" -DVENDOR_RELEASE="(((6) *
10000000) + ((7) * 100000) + ((0) * 1000) + 0)" -DDARWIN_WI
TH_QUARTZ -DROOTLESS  dixfonts.c
dixfonts.c:2179: warning: return type defaults to `int'
dixfonts.c: In function `dump_char_ascii':
dixfonts.c:2192: warning: pointer of type `void *' used in arithmetic
dixfonts.c:2197: warning: pointer of type `void *' used in arithmetic
dixfonts.c:2197: warning: dereferencing `void *' pointer
dixfonts.c:2197: error: void value not ignored as it ought to be
make[5]: *** [dixfonts.o] Error 1
make[4]: *** [dix] Error 2
-- snip --

Next failure is:
-- snip --
rm -f fbtrap.o
/usr/bin/cc -c -g -DDEBUG -DDEBUG_gisburn -Wall -Wpointer-arith -no-cpp-precomp
-UNEED_SCREEN_REGIONS     -I../../../programs/Xserver/fb
-I../../../programs/Xserver/mi -I../../../programs/Xserver/include          
-I../../../exports/include/X11          -I../../../include/fonts
-I../../../programs/Xserver/hw/xfree86/common         
-I../../../programs/Xserver/render -I../../../include/extensions
-I../../../programs/Xserver/Xext  -I../../.. -I../../../exports/include  
-D__powerpc__ -D__DARWIN__                                 -DNO_ALLOCA
-DCSRG_BASED  -DSHAPE  -DXKB -DLBX -DXAPPGROUP  -DXCSECURITY -DTOGCUP  
-DXF86BIGFONT    -DPIXPRIV -DPANORAMIX   -DRENDER -DRANDR   -DXFIXES -DDAMAGE
-DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH               -DXvExtension           
-DXFree86Server   -DXvMCExtension              -DSMART_SCHEDULE        
-DBUILDDEBUG -DXResExtension                -DX_BYTE_ORDER=X_BIG_ENDIAN     
-DXORG_VERSION_CURRENT="(((6) * 10000000) + ((7) * 100000) + ((0) * 1000) + 0)"
-DNDEBUG        -DXVENDORNAME='"The X.Org Foundation"'
-DXVENDORNAMESHORT='"X.Org"'  fbtrap.c
fbtrap.c: In function `PixelAlpha':
fbtrap.c:943: error: structure has no member named `p1'
fbtrap.c:944: error: structure has no member named `p1'
fbtrap.c:945: error: structure has no member named `p2'
fbtrap.c:946: error: structure has no member named `p2'
make[1]: *** [fbtrap.o] Error 1
make: *** [fb] Error 2
-- snip --

Another once caused by linking problems:
-- snip --
make[1]: Nothing to be done for `all'.
/usr/bin/cc -o Xprt -g -DDEBUG -DDEBUG_gisburn -Wall -Wpointer-arith
-no-cpp-precomp -UNEED_SCREEN_REGIONS     -L../../exports/lib   Xprint/ddxInit.o
Xprint/miinitext.o     dix/libdix.a os/libos.a  Xprint/libprinter.a      
Xprint/raster/libraster.a Xprint/pcl/libpcl.a Xprint/pcl-mono/libpcl.a
Xprint/ps/libps.a mfb/libmfb.a cfb32/libcfb32.a      cfb/libcfb.a mfb/libmfb.a
dix/libxpstubs.a mi/libmi.a Xext/libext.a xkb/libxkb.a                   
lbx/liblbx.a                   ../../lib/lbxutil/liblbxutil.a dbe/libdbe.a
record/librecord.a  XTrap/libxtrap.a  randr/librandr.a render/librender.a 
-L/usr/X11R6/lib    ../../lib/font/libXfont.a -lfreetype dix/libxpstubs.a 
-lz            -lXau -lXdmcp  
ld: can't locate file for: -lfreetype
make: *** [Xprt] Error 1
-- snip --       
  
  
--        
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email      
  
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list