Solved DTC segmentation fault after upgrading to 12.0

aragats

Daemon

Reaction score: 539
Messages: 1,292

Is it only me? I'm using packages, but tried building from ports with the same result:
sysutils/dtc causes segfault on any source without any intermediate output.
I cannot compiled my .dts (flattened device tree source) files I used to for 3 year...

Thanks for directions!
 
OP
OP
aragats

aragats

Daemon

Reaction score: 539
Messages: 1,292

Okay, I found the problem.
I didn't know that with 12.0 the device tree compiler is a part of the base, thus by default /usr/bin/dtc is invoked.
Here is the corresponding source code in the svn. That dtc segfaults.
The one I always used is sysutils/dtc, and it still works fine when called explicitly.
So, this finding solves my "local" problem, but not the global....

What can be wrong? Nobody ever used it or it requires something special (compared to regular .dts files)?
I checked other other computers running 12.0 and got the same failures.
 
Top