Skip to content
This repository has been archived by the owner on Dec 10, 2023. It is now read-only.

编译出错错误 #1

Closed
lukemin opened this issue Oct 13, 2021 · 2 comments
Closed

编译出错错误 #1

lukemin opened this issue Oct 13, 2021 · 2 comments

Comments

@lukemin
Copy link

lukemin commented Oct 13, 2021

root@instance-20210811-1316:/home/ubuntu/redpill-tool-chain# ./redpill_tool_chain.sh auto bromolow-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'

@tossp tossp closed this as completed in 9fa3aa5 Oct 13, 2021
@tossp
Copy link
Owner

tossp commented Oct 13, 2021

fixed

@rodhammond
Copy link

Fixed? I'm seeing the same error 10 months later using latest Git pull:
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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants