FYI, we recently cross-compiled the dtc binary for ARM, using gcc 4.2.1
(target arm-gnu-eabi). A bug appears in calling function
write_tree_source_node(), the two last parameters are mangled. Latest
gcc 4.3.3 does not exhibit the issue.

The problem is due to gcc (a very small fragment of code exhibit the
same problem), and is probably related to the bug described below:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36527
(Fixed in gcc 4.3.1)

As a workaround, using -O2 instead of -Os solves the issue on the
specific dtc case.

HTH,

Laurent GREGOIRE
Embedded Software Engineering | TomTom | www.tomtom.com

_______________________________________________
devicetree-discuss mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/devicetree-discuss

Reply via email to