cc1: error: unrecognized command line option "-freduce-all-gives"
查阅gcc手册发现 -freduce-all-gives选项是gcc用于优化的选项,其功能是Strength reduce all loop general induction variables,译为“强力精简所有循环通用归纳变量”。可能是由于高版本的gcc把这条优化选项去掉了,我使用低版本交叉编译工具时没有报过这个错。那么这样说来就是在configure生成makefile的过程中有地方定义了这个选项而导致make的失败。