On 20/12/15(Sun) 00:05, Jonathan Gray wrote: > On Sat, Dec 19, 2015 at 01:06:28PM +0100, Martin Pieuchot wrote: > > When I start glxgears(1) (on macppc) I see: > > > > glxgears:/usr/X11R6/lib/modules/dri/r300_dri.so: undefined symbol > > 'drisw_create_screen' > > libGL error: unable to load driver: r300_dri.so > > libGL error: driver pointer missing > > libGL error: failed to load driver: r300 > > > > > > I don't have a Radeon card on !macppc machine but on my amd64 I also > > see: > > > > $ nm /usr/X11R6/lib/modules/dri/r300_dri.so |grep drisw_create_screen > > U drisw_create_screen > > > > Sin the r300 and the r600 dri DSO are the same, I wonder if anybody is > > able to load them? > > > > $ ls -li r[36]00_dri.so > > 26355 -rw-r--r-- 2 root wheel 18913848 Dec 12 06:14 r300_dri.so > > 26355 -rw-r--r-- 2 root wheel 18913848 Dec 12 06:14 r600_dri.so > > > > Diff below works for me. It clearly seems to be a workaround. > > I wonder if this is another powerpc binutils bug.
Are you saying that it works for you on amd64/i386? Which shared object provides the 'drisw_create_screen' symbol then because I cannot find it on my amd64 system under /usr/X11R6: $ find . -name "*.so*" |xargs nm |grep drisw_create_screen U drisw_create_screen U drisw_create_screen