Tool/software: Linux
I tried to build gdb with bitbake, I used MACHINE=am335x-evm bitbake gdb. but I got the error log as followed.
/usr/build-environment/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf//arm-linux-gnueabihf/lib/libstdc++.a: error adding symbols: No more archived files
collect2: error: ld returned 1 exit status
Makefile:2215: recipe for target 'gdb' failed
make[2]: *** [gdb] Error 1
make[2]: Leaving directory '/home/guyan/tisdk1/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/gdb/8.0-r0/build-arm-linux-gnueabi/gdb'
Makefile:8792: recipe for target 'all-gdb' failed
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory '/home/guyan/tisdk1/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/gdb/8.0-r0/build-arm-linux-gnueabi'
Makefile:849: recipe for target 'all' failed
make: *** [all] Error 2
ERROR: oe_runmake failed
WARNING: /home/guyan/tisdk1/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/gdb/8.0-r0/temp/run.do_compile.99609:1 exit 1 from 'exit 1'
ERROR: Function failed: do_compile
I googled it and someone said it may because of the version of gcc.