Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125004 - mesa bug and small ebuild enhancement for debug
Summary: mesa bug and small ebuild enhancement for debug
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo X packagers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2006-03-04 12:14 UTC by Santiago Gala
Modified: 2006-03-12 10:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
changes in the ebuild (ebuild.diff,784 bytes, patch)
2006-03-04 12:15 UTC, Santiago Gala
Details | Diff
patch for crasher in Croquet (radeon-texture-problem.patch,646 bytes, patch)
2006-03-04 12:16 UTC, Santiago Gala
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Santiago Gala 2006-03-04 12:14:17 UTC
the dri drivers have a #define DO_DEBUG 1 line that makes debug code in.
the patch in the ebuild makes the define 0 is USE=-debug, so that no debug
code gets in.
Comment 1 Santiago Gala 2006-03-04 12:15:17 UTC
Created attachment 81337 [details, diff]
changes in the ebuild
Comment 2 Santiago Gala 2006-03-04 12:16:26 UTC
Created attachment 81338 [details, diff]
patch for crasher in Croquet

this is the one I reported to freedesktop.org project
Comment 3 Santiago Gala 2006-03-04 14:51:49 UTC
Aaargh: it was fixed one year ago in dri cvs (not in mesa 6.4.2 still

http://webcvs.freedesktop.org/mesa/Mesa/src/mesa/drivers/dri/r200/r200_texmem.c?r1=1.11&r2=1.12

the explanation is that the usleep could corrupt errno, causing premature exit of the loop.
Comment 4 Joshua Baergen (RETIRED) gentoo-dev 2006-03-12 10:19:18 UTC
Fixed, thanks.