J?rgen Keil wrote: > Alan Coopersmith wrote: >> J?rgen Keil wrote: >>> Somewhere between snv_55b and snv_60 linking of Xorg driver modules must >>> have changed >>> to use "-B direct" binding. >> Probably in nv_58, when the Xorg 6.9 -> 7.2 upgrade completely changed the >> way >> the Xorg drivers & servers are built. >> >>> Apparently, the root cause of this problem is that the ata/radeon driver >>> shared >>> libraries are linked with the "-B direct" option. When the radeon driver >>> creates >>> X11 atoms for the XV attributes in function >>> radeon_drv.so`RADEONResetVideo(), >>> it calls the external function MakeAtom, but because of direct binding, it >>> doesn't >>> use the MakeAtom function from the main Xorg binary, it uses a duplicated >>> copy of MakeAtom that is found in libXfont.so.1`MakeAtom()! >> *sigh* MakeAtom is one of a bunch of symbols in libXfont that are supposed >> to >> be weak symbols so that they aren't used if a real definition is in place, >> but >> they're only marked weak with gcc attributes, not Sun cc pragmas. > > Has this been fixed by now? > (start of old thread: > http://www.opensolaris.org/jive/thread.jspa?messageID=106567 )
6564910 "-B direct" binding breaks Xv extension for ati/radeon driver Fixed in nv_68 by removing -lXfont from the radeon_drv.so link command. > It seems that yesterday a new bug was filed that describes exactly the same > problem, but for the nv driver: > > Bug ID 6571556 > Synopsis Solaris Xorg server with nv driver returning BadMatch for > xvinfo XVideo message > http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6571556 I'm still working on a fix for the rest of the drivers - it's my Xserver-1.3 test builds now. -- -Alan Coopersmith- alan.coopersmith at sun.com Sun Microsystems, Inc. - X Window System Engineering
