[OE-core] [PATCH] gdb-cross-canadian: Add bison-native for gdb-cross-canadian
richard.purdie at linuxfoundation.org
richard.purdie at linuxfoundation.org
Thu Dec 27 16:36:28 UTC 2018
On Fri, 2018-12-28 at 01:18 +0900, sungwon kim wrote:
> To. Richard
>
> Thank to comment it.
> When I build `bitbake meta-toolchain` at riscv64 architecture.
> when gdb-cross-canadian return the error message can't find `bison`
>
> > /home/pino/workspace/Opensource/riscv-yocto/build/tmp-
> > glibc/work/x86_64-nativesdk-oesdk-linux/gdb-cross-canadian-
> > riscv64/riscv-r0/git/missing: line 81: bison: command not found
> > WARNING: 'bison' is missing on your system.
> > You should only need it if you modified a '.y' file.
> > You may want to install the GNU Bison package:
> > http://www.gnu.org/software/bison/
>
> ...
>
> > Makefile:849: recipe for target 'all' failed
> > make: *** [all] Error 2
> > ERROR: oe_runmake failed
> > WARNING: /home/pino/workspace/Opensource/riscv-yocto/build/tmp-
> > glibc/work/x86_64-nativesdk-oesdk-linux/gdb-cross-canadian-
> > riscv64/riscv-r0/temp/run.do_compile.21026:1 exit 1 from 'exit 1'
> > ERROR: Function failed: do_compile (log file is located at
> > /home/pino/workspace/Opensource/riscv-yocto/build/tmp-
> > glibc/work/x86_64-nativesdk-oesdk-linux/gdb-cross-canadian-
> > riscv64/riscv-r0/temp/log.do_compile.21026)
>
> To fix this add native-bison at DEPENDS at gdb-cross-canadian.inc
Are you adding a riscv layer which adds patches to gdb? If so I suspect
this dependency is due to those patches and belongs with them.
Cheers,
Richard
More information about the Openembedded-core
mailing list