From owner-freebsd-current@freebsd.org Tue May 16 06:42:17 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90833D6FE42 for ; Tue, 16 May 2017 06:42:17 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (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 2F541EA for ; Tue, 16 May 2017 06:42:17 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wm0-x231.google.com with SMTP id v15so78479607wmv.1 for ; Mon, 15 May 2017 23:42:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=eJjbqeNz1MQRxHZSkxU+4+jWwMhlWAnyvFIDdW3Vfq0=; b=KDJt9gWCga+zoSxGvL8mSu9pLxr1YXddtoxH1diNLjvAk+0UrAM18lvP73ABPg3WiS lGGt3UawKxJGCW2VVKwaQLspOvTeX9H90IUNtJ2VEuOv4Wr9xrDxMIiq7+DPVmqf4GxC aTXyz3+mYpISz4JTfc5w/qtOFN9g4JnUobcL3R07EneP/1rqOhhPGv2MdzICsYeIHjuL dDqqvcimXJqzgwP91vvcv+mHsMbREaUWTqBuXbfMyWEwUEphjNJLKeC7VUmKba82KFwj 5lfKiaoQEHErG0firtIKWXtITh9CXapm1KMiI+02PenAfP3vrF9iY+DUop4479bLw/ho y27w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=eJjbqeNz1MQRxHZSkxU+4+jWwMhlWAnyvFIDdW3Vfq0=; b=chAK6bUvRdyWofzzSXp1UVD97wQY1Dp60ykB1mqykeCcIj9+l8pCCSPUaMycL6VPbG UYDFvKz57w8p+MP0+SSDVvXmjQPbMfEO2BoCmm3H4jrJc3gi6MbbqHn2sKtYTCCaJaCp 2MujRQIU66uMwWo8kD2ltxaelWbGOh8kFdAW+jK1GH/TxBHWzvyJwTUCbzkraeXMQCG5 G++4gno2QBFr1TDDLhk1tzNktTCoJf8RbVIjGjIQn3ZB8SZfLejCucu8SNYl9JCs1Xgc ABsyMOh0jvtA3tmJMYIATw+RVxj05nXNWzB3BLE//lkwXrNnmBtrpA8LovExLyeUtRcX 4jwg== X-Gm-Message-State: AODbwcA0E5qHX+IfKbzB7PX31ABpIwIsXivsEuV5tI0LnUHNSNP1ISrF 9dAl6WAGbOESg6YGT7fW1ys6jnypYZoc X-Received: by 10.223.151.146 with SMTP id s18mr6442906wrb.40.1494916934823; Mon, 15 May 2017 23:42:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.164.11 with HTTP; Mon, 15 May 2017 23:42:14 -0700 (PDT) In-Reply-To: References: From: Johannes Lundberg Date: Tue, 16 May 2017 08:42:14 +0200 Message-ID: Subject: Re: build src with colored output? To: freebsd-current Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Tue, 16 May 2017 06:42:17 -0000 Gonna answer myself here. Think I found a way. Add CFLAGS=-fcolor-diagnostics to env or /etc/src.conf Do clean build, that is no -DNO_CLEAN,KERNFAST, etc. Makes it a lot easier to find the errors in a 16 threads build output... The mystery still remains though, why is color disabled for parallel builds? On Tue, May 16, 2017 at 8:03 AM, Johannes Lundberg wrote: > Hi > > I'm sure this has been discussed but my Google-fu couldn't find me any > information.. > > I get colored output when building kernel with a single thread, however, > for -j > 1 colored output is disabled. > > Anyone know what's the reason for this? > > /Johannes > >