tossp / redpill-tool-chain

这是一个测试项目,可能会有不可预测的事情发生(比如:毁损数据、烧毁硬件等等),请谨慎使用。
804 stars 1.88k forks source link

CONFIG_RETPOLINE=y, but not supported by the compiler. Toolchain update recommended. #199

Closed rodhammond closed 2 years ago

rodhammond commented 2 years ago

cd /var/lib/vz/dsm && chmod -R 777 ./* && ./redpill_tool_chain.sh auto ds3615xs-7.0.1-42218

Checking if redpill-lkm sources require pull. Nothing to do. Check if redpill-load sources require pull. Nothing to do. Lay back and enjoy the show: Magic is about to happen! make[1]: Entering directory '/opt/redpill-lkm' make -C /opt/toolkit_dev-bromolow-7.0.1-42218 M=/opt/redpill-lkm RP_MODULE_TARGET="dev" RP_MODULE_TARGET_VER="7" modules make[2]: Entering directory '/opt/toolkit_dev-bromolow-7.0.1-42218' /opt/toolkit_dev-bromolow-7.0.1-42218/arch/x86/Makefile:164: CONFIG_RETPOLINE=y, but not supported by the compiler. Toolchain update recommended. RP-TARGET SPECIFIED AS dev v7 CC [M] /opt/redpill-lkm/compat/string_compat.o cc1: error: code model kernel does not support PIC mode make[3]: [scripts/Makefile.build:309: /opt/redpill-lkm/compat/string_compat.o] Error 1 make[2]: [Makefile:1229: module/opt/redpill-lkm] Error 2 make[2]: Leaving directory '/opt/toolkit_dev-bromolow-7.0.1-42218' make[1]: [Makefile:90: dev-v7] Error 2 make[1]: Leaving directory '/opt/redpill-lkm' make: [Makefile:24: build_redpill_lkm] Error 2

tossp commented 2 years ago

Can't reproduce your problem。