why -pie?

Andrew Bartlett abartlet at samba.org
Thu Dec 21 02:52:18 GMT 2006


On Thu, 2006-12-21 at 13:40 +1100, tridge at samba.org wrote:
>  > It is ok if it is not the default.
>  > Let's the distribution maintainers enable it if they want so.
> 
> indeed, this should be something set by the distributions, not in the
> default Samba builds from our makefile. If a distro supports -pie then
> presumably they have modified their version gdb to handle it (can you
> confirm that Andrew? test gdb with a breakpoint in main on smbd on a
> RH system).
> 
> Losing the ability to debug Samba is not something we want to do by
> default.

I've never had an issue running gdb, but it looks like the gdb -pie
support is a patch, which may or may not have made it into mainline
gdb.  

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20061221/1842477b/attachment.bin


More information about the samba-technical mailing list