在Makefile里加上-O0
之后
./include/linux/compiler-gcc.h:120:38: error: impossible constraint in ‘asm’ |
由https://stackoverflow.com/questions/11501236/how-to-prevent-gcc-optimizing-in-kernel-modules可知,至少要-O1
才行。
在Makefile里加上-O0
之后
./include/linux/compiler-gcc.h:120:38: error: impossible constraint in ‘asm’ |
由https://stackoverflow.com/questions/11501236/how-to-prevent-gcc-optimizing-in-kernel-modules可知,至少要-O1
才行。
Except as otherwise noted, this blog is licensed under CC BY-SA 4.0 License.
©2021-
searchstar
|
pv
|
uv
Theme Tree
by Wu Jun
Powered by Hexo