[SSSD] [PATCH] Add -fno-strict-aliasing

Stephen Gallagher sgallagh at redhat.com
Mon Nov 28 18:57:38 UTC 2011


On Mon, 2011-11-28 at 13:50 -0500, Stephen Gallagher wrote:
> There are several places in the code where we rely on type-punned
> pointers (such as with the sssm_*_id_init() functions).
> 
> Most modern distros build with -fno-scrict-aliasing by default, so we're
> safe there. However some older distros (notably RHEL 5) do not have this
> enabled by default. For safety at -O2, we need to set this explicitly.

Simo acked this off-list.

Pushed to master, sssd-1-6 and sssd-1-5.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20111128/6fc400b0/attachment.sig>


More information about the sssd-devel mailing list