Skip to contentSkip to conversation

Compiler lacks asm go-to support

DISCUSSION Bhanusree Pola 3 participants 3 messages May 7, 2018

lore
Share & tools
lore
#0 lore raw

Hi all,

I have cloned kernel from
git clone -b staging-testing git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging
while configuring the following error is shown

arch/x86/Makefile:184: *** Compiler lacks asm-goto support.. Stop.

I have tried all possible debugging with the help of internet,but could not solve the problem.

Please help me in this regard

Thanks & regards,
Bhanusree Pola

#1 lore raw
Quoted 6 lines · Bhanusree Pola

Hi all,

I have cloned kernel from
git clone -b staging-testing git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging
while configuring the following error is shown

Quoted 6 lines

arch/x86/Makefile:184: *** Compiler lacks asm-goto support.. Stop.

I have tried all possible debugging with the help of internet,but could not solve the problem.

Please help me in this regard

What compiler version are you using?

Justin

#2 lore raw
In reply to Bhanusree Pola
Quoted 5 lines · Bhanusree Pola

I have cloned kernel from
git clone -b staging-testing git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging
while configuring the following error is shown

arch/x86/Makefile:184: *** Compiler lacks asm-goto support.. Stop.

You're using an ancient gcc (older than gcc 4.5) or some other compiler that
doesn't support goto a C label inside an asm() statement.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 486 bytes
Desc: not available
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20180507/01613143/attachment.sig>