From owner-freebsd-current@freebsd.org Tue May 16 06:47:37 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 39C0BD6FF97 for ; Tue, 16 May 2017 06:47:37 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::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 D4F33333 for ; Tue, 16 May 2017 06:47:36 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wm0-x22a.google.com with SMTP id b84so118164505wmh.0 for ; Mon, 15 May 2017 23:47:36 -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=JHd05vqpCjrMzcdFCMEf/H8La7ZRSNVF25fHLliUFP4=; b=CKAAiIBn+STlRl59OANqgpcp1+/JP1LB7O+E5ypFrROaPm9KO0FZccR/bHpf/tfEcM qYvvLuWAEyYD8N/eQrWHGCD0fOujv+krF2/35Wtn8aWFs6v+Ug0KTk5YkM8f+H/32W2+ BcM3PYv6IFQ3Wqouc0dvcHMlIhp9Knbvwmq/55Z0KghZKGEwV1iyOSIFyFQPiMXVvFNd IKJp4Hu6/puXbOnKGMulF0KPSuu+0SkSyylLSbCpZY2oy0i2p60ypaULNxCrwOqI7GQ1 ngBellyT4Adeb0e6q51x0KfaBpoBAcwaZolRaBHQe9o9qz6fQUfDZgnAwF24MiCnjdJ1 KTOQ== 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=JHd05vqpCjrMzcdFCMEf/H8La7ZRSNVF25fHLliUFP4=; b=PBujAY2aNcegMK8lDayCDT++HdPsMHN1g7zjW9dcUnyU+xWCfmn2QnR0hLTSXkcaT0 ohiu3D1jwdwQRAyg67PMis/NA5CgJS21DL0hmKOG+HUglfl35tRZSky39vZAYP5PTOJf vlLj6R7MFDyNLLXUEh6QoW71FUvmYyDorHUv1I7DBs+Z78y6q1yRe1Xio7uoXx8RBtP6 wZJII+08c1d4jFRsDmlu7+9nf0Y5zdvrFvBXc/0BubVpu8sgWGedU19rVdpDz7AUcbkE srZFWQwjTziJC9JcrPGi4KALbfUH6x0caC/G1TwG5y1oW4FQ8FGszlSHZ7s4YZREkuNV wb8A== X-Gm-Message-State: AODbwcCMAbJr1EzetAd6JpOVp68DZYcQm1CPERYbERXs9kjCp3cUgVL4 IJn46MKQt0B9gSSmD2dnJJ+nlqb6oQ== X-Received: by 10.223.148.132 with SMTP id 4mr8039141wrr.119.1494917255153; Mon, 15 May 2017 23:47:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.164.11 with HTTP; Mon, 15 May 2017 23:47:34 -0700 (PDT) In-Reply-To: References: From: Johannes Lundberg Date: Tue, 16 May 2017 08:47:34 +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:47:37 -0000 Hmm, with the previously mentioned solution, colored output was lost half way through the build... Going to do a single thread clean build later when I have the time to wait and see what the results are. On Tue, May 16, 2017 at 8:42 AM, Johannes Lundberg wrote: > 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 >> >> >