LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 08-03-2018, 02:02 PM   #1
Yufei He
LQ Newbie
 
Registered: Aug 2018
Posts: 1

Rep: Reputation: Disabled
make can not pass, why?


yufei@Yufei-LMINT ~/mykernel/hello world $ make
make -C /lib/modules/4.4.0-53-generic/build M=/home/yufei/mykernel/hello world modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-53-generic'
arch/x86/Makefile:148: CONFIG_X86_X32 enabled but no binutils support
Makefile:691: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
make[1]: *** No rule to make target 'world'. Stop.
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-53-generic'
makefile:4: recipe for target 'all' failed
make: *** [all] Error 2
 
Old 08-03-2018, 05:20 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,333

Rep: Reputation: Disabled
Your .config file contains two settings that are not supported by your compiler and your binutils package respectively.

As for the compiler, either upgrade to a later version of gcc that supports -fstack-protector-strong, or disable CONFIG_CC_STACKPROTECTOR_STRONG. Perhaps CONFIG_CC_STACKPROTECTOR_REGULAR will work.

Same goes for the X86_X32 issue (32-bit ABI support on x86_64 kernels); either upgrade the binutils package or disable the kernel setting.
 
Old 08-06-2018, 12:58 AM   #3
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
What exactly are you trying to compile? A kernel? Which version of gcc are you using? Also, you need to put the full path for 'hello world modules' in quotes, or the shell will break it up.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[LFSv7.9][6.61.--Make 4.1] Failed to pass make check on misc/close_stdout w1z1k Linux From Scratch 1 03-27-2016 11:07 PM
ERROR: During Make of GCC-4.5.1 - Pass 1 gau190188 Linux From Scratch 1 01-02-2011 02:31 PM
GCC - Pass 1 Make error furry-penguin Linux From Scratch 7 09-29-2010 04:43 PM
5.5. GCC-4.4.0 - Pass 1 Make Problem pcallahan80 Linux From Scratch 10 03-05-2010 06:07 PM
Make g++ pass my file before others to ld ta0kira Programming 18 07-15-2005 10:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 08:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration