Bug 139573 - Impossible to set breakpoint
Summary: Impossible to set breakpoint
Status: RESOLVED FIXED
: 142865 146909 157946 (view as bug list)
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Development (show other bugs)
Version: Beta 6
Hardware: i586 Other
: P5 - None : Critical (vote)
Target Milestone: ---
Assignee: Andreas Schwab
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-16 11:33 UTC by Lars Müller
Modified: 2006-04-11 08:15 UTC (History)
2 users (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Müller 2005-12-16 11:33:24 UTC
If we have a binary compiled and linked with PIE it's impossible to set a breakpoint in gdb.

See bug #1848 of http://sources.redhat.com/cgi-bin/gnatsweb.pl?database=gdb

As we compile Samba by default with PIE support if available it's available this is a problem for us.

Therefore we'll disable PIE in the case Samba will be configured with --enable-developer.  I know that this is only a partial workaround for developers as our Samba package is build without this option.
Comment 1 Lars Müller 2005-12-16 14:32:36 UTC
This is also valid for x86_64.
Comment 2 Lars Müller 2006-01-12 15:32:43 UTC
Andreas: Any news?
Comment 3 Andreas Schwab 2006-01-13 11:25:20 UTC
*** Bug 142865 has been marked as a duplicate of this bug. ***
Comment 4 Philipp Thomas 2006-01-31 13:04:29 UTC
*** Bug 146909 has been marked as a duplicate of this bug. ***
Comment 5 Andreas Kleen 2006-01-31 13:17:20 UTC
Hopefully this can be fixed. It's a major problem during betas
if one cannot debug most daemons.
Comment 6 Lars Müller 2006-03-06 16:55:47 UTC
Move to Version Beta 6 and to Severity critical.
Comment 7 Andreas Schwab 2006-03-14 15:25:14 UTC
*** Bug 157946 has been marked as a duplicate of this bug. ***
Comment 8 Andreas Schwab 2006-04-11 08:15:32 UTC
Should work now.