Support for PIE builds (was [PATCH] Remove the autoconf build system)

Stefan (metze) Metzmacher metze at samba.org
Fri May 31 09:13:23 MDT 2013


Am 31.05.2013 16:53, schrieb David Disseldorp:
> Hi Metze,
> 
> On Fri, 31 May 2013 16:20:15 +0200
> "Stefan (metze) Metzmacher" <metze at samba.org> wrote:
> 
> ...
>> Somehow the pie flags are used for library code...
>>
>> I'm getting this on debian squeeze i686:
>>
>> [3784/4022] abi_check: bin/default/source3/libsmbldap.so
>>
>> warning: The current binary is a PIE (Position Independent Executable),
>> which
>> GDB does NOT currently support.  Most debugger features will fail if used
>> in this session.
> 
> This looks like a bug specific to Debian Squeeze:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=346409
> 
> Sid's GDB (7.2) appears to offer PIE support. Did you see the same
> warnings using autotools?

The point is that the .so file has a reference to pie.
Wasn't it intended to only pass the flags to binaries?

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130531/8248fbf6/attachment.pgp>


More information about the samba-technical mailing list