Just confirming that the Crosstool-NG sources on github for Xtensa are broken. Somehow some changes got mixed up. Might take me a couple of days to sort it out.
Sprite_tm wrote:To be honest, apart from all the madness of getting crosstool-ng to actually build with the overlay, I think the overlay itself may be broken or incompatible with gcc. I have tried crosstool-ng and building my own toolchain, with the most recent gcc/binutils (2.22 and 4.9) and with a binutils/gcc that was current at the time of release of the overlay files (2.18 and 3.4.6), and every single time I get stuck on an error that eventually boils down to:Code: Select all/tmp/ccOHD9T1.s:19: Error: unknown opcode or format name 'entry'
/tmp/ccOHD9T1.s:29: Error: unknown opcode or format name 'retw.n'
In other words: the compiled cross-compiler spits out mnemonics the compiled cross-assembler in binutils can't make heads or tails of.
That most probably means that overlay was not correctly applied to gcc: gcc/include/xtensa-config.h in the crosstool build directory and in the overlay should match.
jcmvbkbc wrote:That most probably means that overlay was not correctly applied to gcc: gcc/include/xtensa-config.h in the crosstool build directory and in the overlay should match.
Just checked it: it is indeed the same. *something* is emitting enter/retw.n-opcodes without minding the fact that the toolchain is configured not to. It's unfortunate I'm completely new to the gcc source codes; let's hope Tensilica comes up with something.