NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

xsrc/40321: netbsd-5: Undefined PLT symbol "XML_SetElementHandler"

>Number:         40321
>Category:       xsrc
>Synopsis:       netbsd-5: Undefined PLT symbol 
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 03 08:25:00 +0000 2009
>Originator:     Matthew Mondor
>Release:        netbsd-5
NetBSD hal.xisop 5.0_BETA NetBSD 5.0_BETA (GENERIC_MM) #1: Thu Jan  1 22:39:44 
EST 2009  root%hal.xisop@localhost:/usr/obj/sys/arch/i386/compile/GENERIC_MM 

Although drm(4) support was enabled in GENERIC_MM, as well as the radeon 
driver, and xorg.conf properly configured to use DRI (sysctl hw.dri confirms 
that xorg is a DRI client), I noticed that performance was still very bad 
(actually worse than using software Mesa with XFree86).

Then using glxinfo it confirmed Direct Rendering was disabled and to set 
LIBGL_DEBUG, which I did, then I ran a test (glxgears):

libGL: XF86DRIGetClientDriverName: 5.3.0 radeon (screen 0)
libGL: OpenDriver: trying /usr/X11R7/lib/modules/dri/
libGL error: dlopen /usr/X11R7/lib/modules/dri/ failed 
(/usr/X11R7/lib/modules/dri/ Undefined PLT symbol 
"XML_SetElementHandler" (symnum = 150))
libGL error: unable to load driver: does show the various XML symbols as U, as if a library needed to 
also be linked to it, yet only libc was linked:

 $ nm /usr/X11R7/lib/modules/dri/ | head
         U XML_ErrorString
         U XML_GetBuffer
         U XML_GetCurrentColumnNumber
         U XML_GetCurrentLineNumber
         U XML_GetErrorCode
         U XML_Parse
         U XML_ParseBuffer
         U XML_ParserCreate
         U XML_ParserFree

$ ldd /usr/X11R7/lib/modules/dri/ 
        -lc.12 => /usr/lib/

And nothing special objdump -p shows other than "NEEDED" for libc.

This appears very closely related to apparently resolved:


Home | Main Index | Thread Index | Old Index