Yocto for Nvidia Jetson fails because of GCC 7 - cannot compute suffix of object files

大城市里の小女人 提交于 2019-12-06 07:50:12

I had the same problem and after a quick investigation I discovered that the reason of the failure is the flag -fmacro-debug-prefix not present in gcc7.

It is used in bitbake.conf by the variableDEBUG_PREFIX_MAP, if you set it to not contain the flag in your local.conf that problem will disappear (maybe others will appear:P).

I'm not an expert of Yocto so maybe such change could have unexpected side effect (probably the path during debug will be screwed up).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!