Re: [gentoo-dev] Enable format-security in the dev profiles

2014-07-21 Thread Paweł Hajdan, Jr.
On 7/21/14, 6:02 AM, Samuli Suominen wrote: Why not generate a Portage QA warning out from the warning -Wformat-security produces instead? That way compile wouldn't abort needlessly. +1, and then it can be done globally. Paweł signature.asc Description: OpenPGP digital signature

Re: [gentoo-dev] Enable format-security in the dev profiles

2014-07-21 Thread Diego Elio Pettenò
Any -Werror=* flag will make random autoconf checks fail for no good reason, don't use them on profiles, it's silly. Diego Elio Pettenò — Flameeyes flamee...@flameeyes.eu — http://blog.flameeyes.eu/ On 20 July 2014 20:28, Agostino Sarubbo a...@gentoo.org wrote: Hello, I'd like to enable

Re: [gentoo-dev] Enable format-security in the dev profiles

2014-07-21 Thread Agostino Sarubbo
On Monday 21 July 2014 10:08:44 Diego Elio Pettenò wrote: Any -Werror=* flag will make random autoconf checks fail for no good reason, don't use them on profiles, it's silly. Diego Elio Pettenò — Flameeyes flamee...@flameeyes.eu — http://blog.flameeyes.eu/ I don't see where I asked about

Re: [gentoo-dev] Enable format-security in the dev profiles

2014-07-21 Thread Ian Stakenvicius
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 21/07/14 11:07 AM, Agostino Sarubbo wrote: On Monday 21 July 2014 10:08:44 Diego Elio Pettenò wrote: Any -Werror=* flag will make random autoconf checks fail for no good reason, don't use them on profiles, it's silly. Diego Elio

Re: [gentoo-dev] Enable format-security in the dev profiles

2014-07-21 Thread Agostino Sarubbo
On Monday 21 July 2014 08:52:51 Paweł Hajdan, Jr. wrote: On 7/21/14, 6:02 AM, Samuli Suominen wrote: Why not generate a Portage QA warning out from the warning -Wformat-security produces instead? That way compile wouldn't abort needlessly. +1, and then it can be done globally. Paweł

Re: [gentoo-dev] Enable format-security in the dev profiles

2014-07-21 Thread Jeroen Roovers
On Mon, 21 Jul 2014 17:07:24 +0200 Agostino Sarubbo a...@gentoo.org wrote: I don't see where I asked about -Werror instead of only - Wformat. It's been enabled in stable GCC for four years and in unstable and the hardened profiles for much longer so asking about setting it in any profiles

Re: [gentoo-dev] Enable format-security in the dev profiles

2014-07-21 Thread Samuli Suominen
On 21/07/14 18:11, Ian Stakenvicius wrote: On 21/07/14 11:07 AM, Agostino Sarubbo wrote: On Monday 21 July 2014 10:08:44 Diego Elio Pettenò wrote: Any -Werror=* flag will make random autoconf checks fail for no good reason, don't use them on profiles, it's silly. Diego Elio

Re: [gentoo-dev] Enable format-security in the dev profiles

2014-07-21 Thread Jeroen Roovers
On Mon, 21 Jul 2014 18:55:25 +0300 Samuli Suominen ssuomi...@gentoo.org wrote: But only -Wformat=2 has -Wformat-security. Do we enable -Wformat with 1 or 2? The gcc info pages say: `-Wformat' [...] In Gentoo, this option is enabled by default for [...] `-Wformat-security' [...]

Re: [gentoo-dev] Enable format-security in the dev profiles

2014-07-21 Thread Pacho Ramos
El lun, 21-07-2014 a las 17:22 +0200, Jeroen Roovers escribió: On Mon, 21 Jul 2014 17:07:24 +0200 Agostino Sarubbo a...@gentoo.org wrote: I don't see where I asked about -Werror instead of only - Wformat. It's been enabled in stable GCC for four years and in unstable and the hardened

[gentoo-dev] Enable format-security in the dev profiles

2014-07-20 Thread Agostino Sarubbo
Hello, I'd like to enable by default format-security at least in the dev profiles. Thought? References: https://bugs.gentoo.org/show_bug.cgi?id=259417 https://fedoraproject.org/wiki/Format-Security-FAQ -- Agostino Sarubbo Gentoo Linux Developer

Re: [gentoo-dev] Enable format-security in the dev profiles

2014-07-20 Thread Jeroen Roovers
On Sun, 20 Jul 2014 21:28:31 +0200 Agostino Sarubbo a...@gentoo.org wrote: Hello, I'd like to enable by default format-security at least in the dev profiles. Thought? References: https://bugs.gentoo.org/show_bug.cgi?id=259417 Read comment #0. It's been enabled by default for ages.

Re: [gentoo-dev] Enable format-security in the dev profiles

2014-07-20 Thread Jeroen Roovers
On Mon, 21 Jul 2014 01:48:49 +0200 Jeroen Roovers j...@gentoo.org wrote: On Sun, 20 Jul 2014 21:28:31 +0200 Agostino Sarubbo a...@gentoo.org wrote: Hello, I'd like to enable by default format-security at least in the dev profiles. Thought? References:

Re: [gentoo-dev] Enable format-security in the dev profiles

2014-07-20 Thread Samuli Suominen
On 20/07/14 22:28, Agostino Sarubbo wrote: Hello, I'd like to enable by default format-security at least in the dev profiles. Thought? References: https://bugs.gentoo.org/show_bug.cgi?id=259417 https://fedoraproject.org/wiki/Format-Security-FAQ -- Agostino