Hi Liam,
Could you change sof-v1.2-gcc8.1.tar.gz to different tar names for crosstool and overlays? It makes very confusion in local build, especially in mock environment.
https://github.com/thesofproject/crosstool-ng/archive/sof-v1.2-gcc8.1.tar.gz https://github.com/thesofproject/xtensa-overlay/archive/sof-v1.2-gcc8.1.tar....
Best Regards & Thanks, Wang, Long
-----Original Message----- From: Liam Girdwood [mailto:liam.r.girdwood@linux.intel.com] Sent: Friday, June 15, 2018 10:16 PM To: Wang, Long1 long1.wang@intel.com; Pan, Xiuli xiuli.pan@linux.intel.com; Keyon Jie yang.jie@linux.intel.com; sound-open-firmware@alsa-project.org Cc: Li, Jocelyn jocelyn.li@linux.intel.com Subject: Re: [Sound-open-firmware] Request to create a tag for https://github.com/01org/osadsp-crosstool-ng
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