Bug 139573

Summary: Impossible to set breakpoint
Product: [openSUSE] SUSE Linux 10.1 Reporter: Lars Müller <lmuelle>
Component: DevelopmentAssignee: Andreas Schwab <schwab>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None CC: meissner, samba-maintainers
Version: Beta 6   
Target Milestone: ---   
Hardware: i586   
OS: Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

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.