[Dev] Fwd: [arch-dev-public] CFLAGS

fauno fauno at endefensadelsl.org
Mon Jul 27 04:22:29 GMT 2015



-------------------- Start of forwarded message --------------------
From: Allan McRae <allan at archlinux.org>
Date: Mon, 27 Jul 2015 14:15:30 +1000
Subject: [arch-dev-public] CFLAGS

We have a couple of bugs open about our CFLAGS.

1) https://bugs.archlinux.org/task/44361 -Remove the no-op
--param=ssp-buffer-size=4 switch from CFLAGS
Since we moved from -fstack-protector to -fstack-protector-strong, this
paramater is unused and can be removed. 

2) https://bugs.archlinux.org/task/44362 - Add -fstack-check
Read more about this here:
This is essentially a no-op for most code, so should have no real
performance hit.  I can not find any benchmarks to demonstrate that though.

This would mean:
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong


-------------------- End of forwarded message --------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 584 bytes
Desc: not available
URL: <https://lists.parabola.nu/pipermail/dev/attachments/20150727/51106b38/attachment.sig>

More information about the Dev mailing list