On Fri, 2018-06-15 at 12:23 +0000, Wang, Long1 wrote:
Hi Liam,
Could you see these compile error? Furthermore when set CT_DEBUG_GDB=n, the whole compiling can be passed.
[ERROR] /home/lwang/work/thesof/crosstool-ng/.build/xtensa-byt- elf/src/gdb/gdb/guile/scm-ports.c:797:24: error: 'SCM_PORT_WRITE' undeclared (first use in this function); did you m ean 'SCM_PORT_TYPE'? [ALL ] if (pt->rw_active == SCM_PORT_WRITE) [ALL ] ^~~~~~~~~~~~~~ [ALL ] SCM_PORT_TYPE [ERROR] /home/lwang/work/thesof/crosstool-ng/.build/xtensa-byt- elf/src/gdb/gdb/guile/scm-ports.c:823:29: error: 'SCM_PORT_READ' undeclared (first use in this function); did you me an 'SCM_PORT_WRITE'? [ALL ] else if (pt->rw_active == SCM_PORT_READ) [ALL ] ^~~~~~~~~~~~~ [ALL ] SCM_PORT_WRITE
No, I don't see those. I've also updated to gcc 8.1 as that should compile with your gcc 8.1 !
Can you checkout tag sof-v1.2-gcc8.1 for both crosstool and overlays and try again.
Btw, I'm using ubuntu 18.04 host.
Liam