Re: notes on building 3.20
- From: Bastien Nocera <hadess hadess net>
- To: Matthias Clasen <matthias clasen gmail com>, desktop-devel-list <desktop-devel-list gnome org>
- Subject: Re: notes on building 3.20
- Date: Wed, 23 Mar 2016 18:00:13 +0100
On Wed, 2016-03-23 at 12:44 -0400, Matthias Clasen wrote:
Hey, some quick observations from building the 3.20.0 moduleset with
gcc 6 on Fedora 24:
gcc got a lot better. That means it has a lot more warnings. The ones
that affect multiple modules are -Werror=format-nonliteral and
-Werror=format-y2k. Both of cause build failures all over the place.
Please make an effort to fix these in your code. At least the
format-nonliteral warning often indicates actual, exploitable
security
holes.
If you still have gcc 5, you can make this error show up by using those
CFLAGS:
-Werror=format=2 -Wformat=2
Make sure that -Wformat=2 isn't overwritten later in the CFLAGS list.
And for those on Fedora 23, you can easily install GCC 6 to enjoy the
build breakage yourselves by running:
dnf update --releasever=24 gcc binutils
Cheers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]