Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 354445

Summary: app-admin/eselect-opengl: should adapt the splitdebug directories too
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.freedesktop.org/show_bug.cgi?id=32932
Whiteboard:
Package list:
Runtime testing required: ---

Description Toralf Förster gentoo-dev 2011-02-11 08:51:48 UTC
This is from the original bug report (full details given in the URL) :

>No need to blame yourself. The problem here is with Gentoo's eselect opengl
>script, which doesn't care enough about debug symbol files when shuffling
>around GL related libs. Therefore virtually no Gentoo system has symbolic debug
>information ready when X crashes with GL libraries. There are are several
>directories involved:


Reproducible: Always
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-02-13 12:39:50 UTC
Possibly app-admin/eselect-mesa needs to be adapted too.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-02-13 16:53:32 UTC
(In reply to comment #1)
> Possibly app-admin/eselect-mesa needs to be adapted too.

First I'd like to get feedback for this change.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-02-15 10:01:59 UTC
Wait a minute... gdb does symlink resolution on its own:

Reading symbols from /usr/lib64/opengl/xorg-x11/lib/libGL.so.1...Reading symbols from /usr/lib64/debug/usr/lib64/opengl/xorg-x11/lib/libGL.so.1.2.debug...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/opengl/xorg-x11/lib/libGL.so.1

I don't know why there are no symbols read from that file but gdb certainly finds it. And won't even look for some wannabe symlinks.