From owner-freebsd-current@FreeBSD.ORG Thu May 21 00:30:41 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 9DC5BDF2; Thu, 21 May 2015 00:30:41 +0000 (UTC) Received: from mail-lb0-x22e.google.com (mail-lb0-x22e.google.com [IPv6:2a00:1450:4010:c04::22e]) (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 23E6B1E42; Thu, 21 May 2015 00:30:41 +0000 (UTC) Received: by lbbuc2 with SMTP id uc2so6542533lbb.2; Wed, 20 May 2015 17:30:39 -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=crZBG5CE4CiOdDFlOzHStTtv7bXK2POsPfLKAPI3/Lk=; b=SRczHf3bRnRIcSi7+gJYWbVSvAEs9lifEVqauJKk5Lu1pW3r9IT07GQ8BD1htNrKQq FTnY7p4YbrT9bbAS4e9chi9kQkKQG/0sSI6kJr7DzDL8KaR055neXqdQGw8Bx/UVmcOE 4FazJvwJwaTn+fUBRgaFEHLKiPviqE365yewX8hfI52iNNsZSV0VzeojezCgyYIfYKRs W3xhTEOoZvehbJVhTPz7c69ptiFkkySlt67l3h54svTuZuNqEuRjZBmu76+adqVquDY+ X9C93OZ9eovWO8rFL7PeCWO49syapMWd1/K3tU6Fh/K2vw3jraF33zSLUsiny3DQM+jr y5Dw== MIME-Version: 1.0 X-Received: by 10.152.4.137 with SMTP id k9mr27475lak.29.1432168239304; Wed, 20 May 2015 17:30:39 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.164.38 with HTTP; Wed, 20 May 2015 17:30:39 -0700 (PDT) In-Reply-To: References: Date: Wed, 20 May 2015 17:30:39 -0700 X-Google-Sender-Auth: dBI_rvV8m-KMizxPk6tKYa0DqIw 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 00:30:41 -0000 On Wed, May 20, 2015 at 12:11 AM, Adrian Chadd wrote: > Hi, > > here's a patch against -head that eliminates gcc-4.9 complaining about > I've set up a Jenkins build of trunk using gcc 4.9: https://jenkins.freebsd.org/job/FreeBSD_HEAD_amd64_gcc4.9/ That build also keeps track of the number of compiler warnings over time, so if you manage to reduce the warnings, we should see the trend. How much of FreeBSD have you been able to compile with gcc 4.9, and on which platform? On amd64, I could get a buildkernel and buildworld to work, but I had to forcibly skip building sys/boot/i386/boot2 because the generated code is too big: https://lists.freebsd.org/pipermail/freebsd-toolchain/2015-March/001547.html -- Craig