From: tom f. <tf...@al...> - 2010-04-03 19:34:48
|
Vinson Lee <vl...@vm...> writes: > Leopard uses gcc-4.0, which didn't have built-in support for atomic > variables. u_atomic.h should probably check for a supported compiler; Jeremy, does the attached patch produce an understandable error instead of a link error? In terms of a solution, Jeremy, you could implement PPC assembly for the few primitives available there. Looks easy for someone who knows PPC well. There's a comment in that file that mentions a mutex-based implementation... but then I don't see one. Looks like there's some dri radeon code which is using the gcc primitives directly instead of through the gallium wrapper. I'm not familiar enough w/ it to know if that's correct or not (.. anyway, you're probably not building dri/radeon on OS X, right?). -tom > ________________________________________ > From: Jeremy Huddleston [jer...@fr...] > Sent: Saturday, April 03, 2010 11:22 AM > To: mes...@li... > Subject: [Mesa3d-dev] gallium failing to build on darwin/ppc > > Is there any known reason why gallium would fail to build on darwin/ppc? I h > aven't looked into it myself since I figured there might be an easy answer al > ready > > http://trac.macports.org/ticket/24345 |