bus error on sparc64 running type-preservation test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

Since v1.4.7 DTC FTBFS on Debian sparc64 because of a bus error when running the type-preservation.dts test.

Build logs are available here:

https://buildd.debian.org/status/logs.php?pkg=device-tree-compiler&arch=sparc64

It may be an alignment issue introduced in this commit:

https://github.com/dgibson/dtc/commit/32b9c61307629ac76c6ac0bead6f926d579b3d2c

I have no idea how to fix this, but the following gdb backtrace (from v1.6.0) may help someone else:

Reading symbols from dtc...
(gdb) r -I dts -O dts -o tests/type-preservation.dts.test.dts tests/type-preservation.dts
Starting program: /build/device-tree-compiler-1.6.0/dtc -I dts -O dts -o tests/type-preservation.dts.test.dts tests/type-preservation.dts

Program received signal SIGBUS, Bus error.
0x0000010000010600 in write_propval_int (f=0x10000120300, p=0x100001268af "", len=<optimized out>, width=4)
    at treesource.c:108
108                     switch (width) {
(gdb) bt
#0  0x0000010000010600 in write_propval_int (f=0x10000120300, p=0x100001268af "", len=<optimized out>, width=4)
    at treesource.c:108
#1  0x0000010000010c6c in write_propval (prop=0x100001268e0, f=0x10000120300) at treesource.c:251
#2  write_tree_source_node (f=0x10000120300, tree=0x10000126960, level=<optimized out>) at treesource.c:310
#3  0x0000010000010c10 in write_tree_source_node (f=0x10000120300, tree=0x10000126a50, level=<optimized out>)
    at treesource.c:314
#4  0x0000010000010c10 in write_tree_source_node (f=0x10000120300, tree=0x10000126b40, level=<optimized out>)
    at treesource.c:314
#5  0x0000010000010c10 in write_tree_source_node (f=0x10000120300, tree=0x10000126c30, level=<optimized out>)
    at treesource.c:314
#6  0x00000100000054f4 in main (argc=<optimized out>, argv=<optimized out>) at dtc.c:351

If somebody has a suggestion for a patch, I can test it on Debian sparc64. I'm not subscribed to this list.

Best regards,
Tom Turelinckx






[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux