dtc(1): reproducible segmentation fault

George Abdelmalik gabdelmalik at uniridge.com.au
Sat Oct 24 22:49:21 UTC 2015


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.


More information about the freebsd-current mailing list