From owner-freebsd-current@freebsd.org Sat Oct 24 22:49:21 2015 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 834DEA1E23A for ; Sat, 24 Oct 2015 22:49:21 +0000 (UTC) (envelope-from gabdelmalik@mail.uniridge.com.au) Received: from mail.uniridge.com.au (ec2-54-206-17-100.ap-southeast-2.compute.amazonaws.com [54.206.17.100]) by mx1.freebsd.org (Postfix) with ESMTP id 3C587F80; Sat, 24 Oct 2015 22:49:20 +0000 (UTC) (envelope-from gabdelmalik@mail.uniridge.com.au) Received: by mail.uniridge.com.au (Postfix, from userid 1007) id DB1504A6F; Sun, 25 Oct 2015 09:49:13 +1100 (EST) Date: Sun, 25 Oct 2015 09:49:13 +1100 From: George Abdelmalik To: Ian Lepore Cc: freebsd-current@freebsd.org Subject: Re: dtc(1): reproducible segmentation fault Message-ID: <20151024224913.GA5266@barney.uniridge.com.au> References: <562A3FE5.8020809@uniridge.com.au> <1445618437.91534.13.camel@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1445618437.91534.13.camel@freebsd.org> User-Agent: Mutt/1.5.22 (2013-10-16) X-Mailman-Approved-At: Sun, 25 Oct 2015 08:33:16 +0000 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: Sat, 24 Oct 2015 22:49:21 -0000 On Fri, Oct 23, 2015 at 10:40:37AM -0600, Ian Lepore wrote: > > Don't cc me. I looked at the in-tree dtc code once and decided it's > too flawed to try to maintain, and it supports only a subset of the > full dts syntax. That's why we switched back to using the gnu dtc for > buildkernel. But I just discovered that for some reason gnu is not the > copy of dtc that gets installed, it's just the one that gets used > during a buildkernel. > > So basically if you do 'dtc -v' and the result is 0.4.0, that's too > limited to compile modern dts files, and if the result is 1.4.0 that's > the gnu dtc that should work fine, and if it doesn't we probably need > to report the problem upstream. > > -- Ian > Thanks Ian, The GPL dtc worked fine. I was actually wanting to compiler the in-tree zedbaord.dts file. I'd successfully done it some time back in June but must have been using the GPL dtc without realising it. George.