Current tinderbox regression (radeonhd)

Matthias Hopf mhopf at suse.de
Fri Apr 11 05:48:31 PDT 2008


On Apr 11, 08 09:27:12 +0200, Stefan Dirsch wrote:
> On Thu, Apr 10, 2008 at 07:24:18PM -0400, Chris Ball wrote:
> > http://tinderbox.x.org/builds/2008-04-10-0041/
> > http://tinderbox.x.org/builds/2008-04-10-0041/logs/xf86-video-radeonhd/#build
> > 
> > rhd_id.c: In function 'RHDFamily':
> > rhd_id.c:363: error: 'RHDChipsetMap' undeclared (first use in this function)
> > rhd_id.c:363: error: (Each undeclared identifier is reported only once
> > rhd_id.c:363: error: for each function it appears in.)
> > rhd_id.c:363: error: 'rhdChipsetMapStruct' undeclared (first use in this function)
> > rhd_id.c: In function 'RHDIsIGP':
> > rhd_id.c:374: error: 'RHDChipsetMap' undeclared (first use in this function)
> > rhd_id.c:374: error: 'rhdChipsetMapStruct' undeclared (first use in this function)
> > make[3]: *** [radeonhd_drv_la-rhd_id.lo] Error 1
> 
> This one is quite interesting. I also see these build failures on

This is an assert() with a wrong structure name.
Actually, ASSERT() should have been used, which bails out in a better
way (leaves the VT ok), and assert() typically is never compiled,
because NDEBUG is typically set in xorg-server.h.

Apparently it isn't for some cases.

Fixed in git. In the meantime an easy workaround is to configure with
./configure CFLAGS="-DNDEBUG -O2"

Matthias

-- 
Matthias Hopf <mhopf at suse.de>,  SuSE R&D,  Zimmer 3.2.06,  Tel. 74053-715



More information about the xorg mailing list