From owner-freebsd-current@FreeBSD.ORG Thu May 21 03:21:23 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 83B51518; Thu, 21 May 2015 03:21:23 +0000 (UTC) Received: from mail-lb0-x22a.google.com (mail-lb0-x22a.google.com [IPv6:2a00:1450:4010:c04::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 233571192; Thu, 21 May 2015 03:21:23 +0000 (UTC) Received: by lbcmx3 with SMTP id mx3so8481301lbc.1; Wed, 20 May 2015 20:21:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=IP319xkqgw0kMFnclmoU+o5NkwBoTdzPwuVB6vrbgYk=; b=lHGiNRwLufuj6O6DRoeQOQ2s6wdmpRVt6iDKwffXwbUYk8a4OQV74bSYtflXPK9w6x 8DIeqqBgmNAzRQ1a/4d0XdSbY2RW9yWJ/HGsCulhVQKEEHBjJHlD4uDlnuUEsKuGSQN/ y2/dpAWnE52B9d9RNEpFzvUrsOgShhVQheMkZlLsSpGf8tex7rZt8s6YZ2rFhVBzSsXV 9Ga21s79/jUnM8JYY2zXmG11/746QSn6Vra9ibtJ6JXV8ngSBZPAplu1V0P8cd6cDe69 x18sMye+2qf76UNDClWquF9L7km0SGb6Pe443udRm2iilPUvxkgOhoZmUmjCA8mEdH1z sRYA== MIME-Version: 1.0 X-Received: by 10.112.135.131 with SMTP id ps3mr427348lbb.84.1432178481362; Wed, 20 May 2015 20:21:21 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.164.38 with HTTP; Wed, 20 May 2015 20:21:21 -0700 (PDT) In-Reply-To: References: Date: Wed, 20 May 2015 20:21:21 -0700 X-Google-Sender-Auth: y-ydwxGacVOW6Ubu9mXXHAjt910 Message-ID: Subject: Re: libc/gen: unused variables From: Craig Rodrigues To: Adrian Chadd Cc: freebsd-current Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 03:21:23 -0000 On Wed, May 20, 2015 at 5:53 PM, Adrian Chadd 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