Got it

"unrecognized command line option '-fstack-protector-strong'" occurs during compilation

Created: Mar 23, 2022 03:08:08Latest reply: Mar 25, 2022 09:35:45 386 6 1 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello, everyone!

What should I do if the unrecognized command line option '-fstack-protector-strong message appears when I install NVIDIA?

Thanks in advance!

  • x
  • convention:

Featured Answers
olive.zhao
Admin Created Mar 23, 2022 03:15:23

Hello, friend!

You can use the following method to solve "unrecognized command line option '-fstack-protector-strong" error.

1. Run the following commands to modify kernel makefile configuration items:

cd /usr/src/kernels/$(uname -r)/include/config

sed -i 's/CONFIG_CC_STACKPROTECTOR_STRONG=y/CONFIG_CC_STACKPROTECTOR_REGULAR=y/' auto.conf

2. Run the NVDIA installation script again.

bash /opt/NVIDIA-Linux-x86_64-375.66.run

Hope this helps!

View more
  • x
  • convention:

nochhie
nochhie Created Mar 23, 2022 04:40:17 (0) (0)
good  
Saqibaz
Saqibaz Created Mar 23, 2022 05:34:03 (0) (0)
 
All Answers
olive.zhao
olive.zhao Admin Created Mar 23, 2022 03:15:23

Hello, friend!

You can use the following method to solve "unrecognized command line option '-fstack-protector-strong" error.

1. Run the following commands to modify kernel makefile configuration items:

cd /usr/src/kernels/$(uname -r)/include/config

sed -i 's/CONFIG_CC_STACKPROTECTOR_STRONG=y/CONFIG_CC_STACKPROTECTOR_REGULAR=y/' auto.conf

2. Run the NVDIA installation script again.

bash /opt/NVIDIA-Linux-x86_64-375.66.run

Hope this helps!

View more
  • x
  • convention:

nochhie
nochhie Created Mar 23, 2022 04:40:17 (0) (0)
good  
Saqibaz
Saqibaz Created Mar 23, 2022 05:34:03 (0) (0)
 
Sokrin
Sokrin Created Mar 23, 2022 04:41:14

nice
View more
  • x
  • convention:

user_4358465
user_4358465 Created Mar 25, 2022 09:35:45

Thanks for the helpful answer Olive!
View more
  • x
  • convention:

olive.zhao
olive.zhao Created Apr 2, 2022 02:32:32 (0) (0)
 

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.