Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
debugging symbols stripped even with FEATURES="no strip"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
rubing
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2008
Posts: 77
Location: Bham, AL

PostPosted: Wed Oct 29, 2008 11:20 pm    Post subject: debugging symbols stripped even with FEATURES="no strip Reply with quote

I am trying to debug my gphpedit installation, which crashes durring 'replace all'. I followed the bug documentation and made sure to emerge the package as follows: FEATURES="no strip" emerge gphpedit

Now I run a backtrace (bt) after gphpedit crashes (using gdb) , but the backtrace does not have debugging symbols. It looks like this:
Code:

b6dff000-b6e06
Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb6de96d0 (LWP 13581)]
0xffffe424 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb716a101 in raise () from /lib/libc.so.6
#2  0xb716b8e8 in abort () from /lib/libc.so.6
#3  0xb71a0cbb in ?? () from /lib/libc.so.6
#4  0x00000011 in ?? ()
#5  0xbfcbd940 in ?? ()
#6  0x00000400 in ?? ()
#7  0xbfcbd878 in ?? ()
#8  0xb765db5e in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#9  0xb71a6a00 in ?? () from /lib/libc.so.6
#10 0x00000002 in ?? ()
#11 0xb7255968 in ?? () from /lib/libc.so.6
#12 0xbfcbf4c3 in ?? ()
#13 0xb7255a40 in ?? () from /lib/libc.so.6
#14 0xbfcbde77 in ?? ()
#15 0xb7255a40 in ?? () from /lib/libc.so.6
#16 0x30000000 in ?? ()
#17 0x32653638 in ?? ()
#18 0x00383030 in ?? ()
#19 0xb726cff4 in ?? () from /lib/libc.so.6
#20 0xb726e120 in ?? () from /lib/libc.so.6
#21 0x086e2008 in ?? ()
#22 0xbfcbdea8 in ?? ()
---Type <return> to continue, or q <return> to quit---
#23 0xb71a86f9 in free () from /lib/libc.so.6
Backtrace stopped: frame did not save the PC
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Wed Oct 29, 2008 11:43 pm    Post subject: Reply with quote

I guess it's supposed to mean
Code:
FEATURES="nostrip" emerge ...
Back to top
View user's profile Send private message
rubing
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2008
Posts: 77
Location: Bham, AL

PostPosted: Wed Oct 29, 2008 11:49 pm    Post subject: Reply with quote

how is that different from what i did?
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Wed Oct 29, 2008 11:56 pm    Post subject: Reply with quote

You printed an extra space ("no strip") in your command. I'm not sure if that's what you executed on your PC or if it is just what you typed here.
Back to top
View user's profile Send private message
rubing
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2008
Posts: 77
Location: Bham, AL

PostPosted: Thu Oct 30, 2008 12:00 am    Post subject: Reply with quote

that's just what i typed here. good catch though!!


any other ideas?
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Thu Oct 30, 2008 12:03 am    Post subject: Reply with quote

Does emerging it with USE=debug change anything?
Back to top
View user's profile Send private message
rubing
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2008
Posts: 77
Location: Bham, AL

PostPosted: Thu Oct 30, 2008 12:18 am    Post subject: Reply with quote

I already have the following line in my package.use file


app-editors/gphpedit debug
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Thu Oct 30, 2008 11:15 am    Post subject: Reply with quote

If it doesn't work with FEATURES="nostrip" and USE="debug", then file a bug.
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
rubing
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2008
Posts: 77
Location: Bham, AL

PostPosted: Thu Nov 06, 2008 3:39 pm    Post subject: Reply with quote

I filed a bug and this is the response I received:

Quote:

Please read the following document:

http://www.gentoo.org/proj/en/qa/backtraces.xml

if you already read it, read it again. Unless portage yells at you and says it
installs a pre-stripped binary, there is nothing gnome team as to do with your
situation. Please reopen if the this is the case, otherwise, this is invalid.


I followed the instructions in the documentation as well as the page quoted above and I still don't have symbols. :?
Back to top
View user's profile Send private message
tarpman
Veteran
Veteran


Joined: 04 Nov 2004
Posts: 1083
Location: Victoria, BC, Canada

PostPosted: Thu Nov 06, 2008 11:52 pm    Post subject: Reply with quote

Do you have some form of -g in your CFLAGS? Also, if your CFLAGS contain -fomit-frame-pointer, you need to remove it for backtraces to work.
_________________
Saving the world, one kilobyte at a time.
Back to top
View user's profile Send private message
rubing
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2008
Posts: 77
Location: Bham, AL

PostPosted: Fri Nov 07, 2008 12:34 am    Post subject: Reply with quote

My CFLAGS are as follows:

CFLAGS="-O1 -pipe -g -ggdb"
CXXFLAGS="${CFLAGS}"
Back to top
View user's profile Send private message
rubing
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2008
Posts: 77
Location: Bham, AL

PostPosted: Fri Nov 14, 2008 6:36 pm    Post subject: Reply with quote

bump
Back to top
View user's profile Send private message
rubing
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2008
Posts: 77
Location: Bham, AL

PostPosted: Sun Nov 23, 2008 10:12 pm    Post subject: Reply with quote

Is this problem due to my global use flags?

USE="-gnome -kde -qt3 -qt4 X dbus hal startup-notification xscreensaver truetype alsa"
Back to top
View user's profile Send private message
StringCheesian
l33t
l33t


Joined: 21 Oct 2003
Posts: 887

PostPosted: Mon Nov 24, 2008 8:31 pm    Post subject: Reply with quote

Maybe it isn't portage's fault - it could be that a bug in gphpedit's Makefile is stripping stuff.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum