Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 2015 20:21:21 -0700
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: libc/gen: unused variables
Message-ID:  <CAG=rPVeveiaRHboYq5vBfccwJ_R6XWW1jywNq9oX6qnunRqrRQ@mail.gmail.com>
In-Reply-To: <CAJ-Vmo=Sg6%2BazkXVwGd_n2tNBcXUNtXCF7o29pz5GSt_Dtmhcg@mail.gmail.com>
References:  <CAJ-Vmok3-tDX-9X4NOjghoX40BQpF12XPL9S%2B=bsY5pkYuP39w@mail.gmail.com> <CAG=rPVcBCOLEr9%2BdqHSzCWhpBLQzt40tbKMpVmHBtTvCUK9YaQ@mail.gmail.com> <CAJ-Vmo=Sg6%2BazkXVwGd_n2tNBcXUNtXCF7o29pz5GSt_Dtmhcg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 20, 2015 at 5:53 PM, Adrian Chadd <adrian@freebsd.org> wrote:

> >
> > How much of FreeBSD have you been able to compile with gcc 4.9, and on
> which
> > platform?
>
> I get down to a little bit inside libc before I hit unused code warnings.
>

What platform are you compiling on?  Are you looking at anything else
besides "unused code" warnings?
In the Jenkins job, I put in the following in make.conf:

# disable -Werror in userland build
NO_WERROR=yes
# disable -Werror in kernel build
WERROR=

With this, I build and get all the warnings:
https://jenkins.freebsd.org/job/FreeBSD_HEAD_amd64_gcc4.9/4/warnings17Result/

If you commit stuff which deals with the warnings, it would be hepful if you
can periodically monitor that Jenkins job and see if the overall warnings
go down.
Thanks.

--
Craig



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVeveiaRHboYq5vBfccwJ_R6XWW1jywNq9oX6qnunRqrRQ>