编译Linux内核时出现“code model kernel does not support PIC mode”的解决方法

编译linux内核时,出现如下情况:
在这里插入图片描述
相应的解决方法为:修改内核源码中的Makefile文件,添加-fno-pie
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_44933518/article/details/105881723