BUILD: makefile: re-enable strict aliasing
authorWilly Tarreau <w@1wt.eu>
Tue, 25 Feb 2020 09:10:47 +0000 (10:10 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 25 Feb 2020 09:24:51 +0000 (10:24 +0100)
commitd1c847abbc3c26fc8dd1dd0624bf8a26e045e8ed
tree2798efa52fe89e10165d41285ba73f1a3f8fa534
parent1ac83af5605a941f3c7bf2d7f3449f2c1e8e2af9
BUILD: makefile: re-enable strict aliasing

For a very long time we've used to build without strict aliasing due to
very few places in the stick-tables code mostly, that initially we didn't
know how to deal with. The problem of doing this is that it encourages
to write possibly incorrect code such as the few SSL sample fetch functions
that were recently fixed.

All places causing aliasing errors on x86_64, i586, armv8, armv7 and
mips were fixed so it's about time to re-enable the warning hoping to
catch such errors early in the development cycle. As a bonus, this
removed about 5kB of code.
Makefile