All of lore.kernel.org
 help / color / mirror / Atom feed
* arch/powerpc/kernel/head_32.S:1106: Error: missing operand
@ 2018-05-26  4:35 Paul Menzel
  2018-05-26 16:02 ` christophe leroy
  2018-05-26 19:19 ` Segher Boessenkool
  0 siblings, 2 replies; 5+ messages in thread
From: Paul Menzel @ 2018-05-26  4:35 UTC (permalink / raw)
  To: Benjamin Herrenschmidt, Paul Mackerras, Michael Ellerman
  Cc: linuxppc-dev, linux-kernel

Dear Linux folks,


Building the configuration created with `make tinyconfig` on the Power 8 
system IBM S822LC with Ubuntu 18.04 fails with the error below.

```
$ git describe --dirty
v4.17-rc6-296-gbc2dbc5420e8
$ git log --oneline -1
bc2dbc5420e8 (HEAD -> master, origin/master, origin/HEAD) Merge branch 
'akpm' (patches from Andrew)
$ make tinyconfig
$ make -j120
[…]
   AS      arch/powerpc/kernel/head_32.o
arch/powerpc/kernel/head_32.S: Assembler messages:
arch/powerpc/kernel/head_32.S:1106: Error: missing operand
scripts/Makefile.build:413: recipe for target 
'arch/powerpc/kernel/head_32.o' failed
make[1]: *** [arch/powerpc/kernel/head_32.o] Error 1
[…]
```

Is this expected? *ppc64_defconfig* and *ppc64e_defconfig* build fine.


Kind regards,

Paul

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: arch/powerpc/kernel/head_32.S:1106: Error: missing operand
  2018-05-26  4:35 arch/powerpc/kernel/head_32.S:1106: Error: missing operand Paul Menzel
@ 2018-05-26 16:02 ` christophe leroy
  2018-05-26 18:27   ` Paul Menzel
  2018-05-26 19:19 ` Segher Boessenkool
  1 sibling, 1 reply; 5+ messages in thread
From: christophe leroy @ 2018-05-26 16:02 UTC (permalink / raw)
  To: Paul Menzel, Benjamin Herrenschmidt, Paul Mackerras, Michael Ellerman
  Cc: linuxppc-dev, linux-kernel



Le 26/05/2018 à 06:35, Paul Menzel a écrit :
> Dear Linux folks,
> 
> 
> Building the configuration created with `make tinyconfig` on the Power 8 
> system IBM S822LC with Ubuntu 18.04 fails with the error below.
> 
> ```
> $ git describe --dirty
> v4.17-rc6-296-gbc2dbc5420e8
> $ git log --oneline -1
> bc2dbc5420e8 (HEAD -> master, origin/master, origin/HEAD) Merge branch 
> 'akpm' (patches from Andrew)
> $ make tinyconfig
> $ make -j120
> […]
>    AS      arch/powerpc/kernel/head_32.o
> arch/powerpc/kernel/head_32.S: Assembler messages:
> arch/powerpc/kernel/head_32.S:1106: Error: missing operand

There was a similar problem in 2015, see 
http://linux-kernel.2935.n7.nabble.com/Missing-operand-for-tlbie-instruction-on-Power7-td1206917.html

Which version of binutils do you use ?

Christophe

> scripts/Makefile.build:413: recipe for target 
> 'arch/powerpc/kernel/head_32.o' failed
> make[1]: *** [arch/powerpc/kernel/head_32.o] Error 1
> […]
> ```
> 
> Is this expected? *ppc64_defconfig* and *ppc64e_defconfig* build fine.
> 
> 
> Kind regards,
> 
> Paul

---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: arch/powerpc/kernel/head_32.S:1106: Error: missing operand
  2018-05-26 16:02 ` christophe leroy
@ 2018-05-26 18:27   ` Paul Menzel
  2018-05-27  9:29     ` christophe leroy
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Menzel @ 2018-05-26 18:27 UTC (permalink / raw)
  To: Christophe Leroy, Benjamin Herrenschmidt, Paul Mackerras,
	Michael Ellerman
  Cc: linuxppc-dev, linux-kernel

Dear Christophe,


Am 26.05.2018 um 18:02 schrieb christophe leroy:

> Le 26/05/2018 à 06:35, Paul Menzel a écrit :

>> Building the configuration created with `make tinyconfig` on the Power 
>> 8 system IBM S822LC with Ubuntu 18.04 fails with the error below.
>>
>> ```
>> $ git describe --dirty
>> v4.17-rc6-296-gbc2dbc5420e8
>> $ git log --oneline -1
>> bc2dbc5420e8 (HEAD -> master, origin/master, origin/HEAD) Merge branch 
>> 'akpm' (patches from Andrew)
>> $ make tinyconfig
>> $ make -j120
>> […]
>>    AS      arch/powerpc/kernel/head_32.o
>> arch/powerpc/kernel/head_32.S: Assembler messages:
>> arch/powerpc/kernel/head_32.S:1106: Error: missing operand
> 
> There was a similar problem in 2015, see 
> http://linux-kernel.2935.n7.nabble.com/Missing-operand-for-tlbie-instruction-on-Power7-td1206917.html
> 
> Which version of binutils do you use ?

2.30-15ubuntu1 is installed.


Kind regards,

Paul

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: arch/powerpc/kernel/head_32.S:1106: Error: missing operand
  2018-05-26  4:35 arch/powerpc/kernel/head_32.S:1106: Error: missing operand Paul Menzel
  2018-05-26 16:02 ` christophe leroy
@ 2018-05-26 19:19 ` Segher Boessenkool
  1 sibling, 0 replies; 5+ messages in thread
From: Segher Boessenkool @ 2018-05-26 19:19 UTC (permalink / raw)
  To: Paul Menzel
  Cc: Benjamin Herrenschmidt, Paul Mackerras, Michael Ellerman,
	linuxppc-dev, linux-kernel

On Sat, May 26, 2018 at 06:35:34AM +0200, Paul Menzel wrote:
> Building the configuration created with `make tinyconfig` on the Power 8 
> system IBM S822LC with Ubuntu 18.04 fails with the error below.

>   AS      arch/powerpc/kernel/head_32.o
> arch/powerpc/kernel/head_32.S: Assembler messages:
> arch/powerpc/kernel/head_32.S:1106: Error: missing operand

You are building a 32-bit kernel for a 64-bit machine.  This is not
supported, and as you found out, does not work.


Segher

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: arch/powerpc/kernel/head_32.S:1106: Error: missing operand
  2018-05-26 18:27   ` Paul Menzel
@ 2018-05-27  9:29     ` christophe leroy
  0 siblings, 0 replies; 5+ messages in thread
From: christophe leroy @ 2018-05-27  9:29 UTC (permalink / raw)
  To: Paul Menzel, Benjamin Herrenschmidt, Paul Mackerras, Michael Ellerman
  Cc: linuxppc-dev, linux-kernel



Le 26/05/2018 à 20:27, Paul Menzel a écrit :
> Dear Christophe,
> 
> 
> Am 26.05.2018 um 18:02 schrieb christophe leroy:
> 
>> Le 26/05/2018 à 06:35, Paul Menzel a écrit :
> 
>>> Building the configuration created with `make tinyconfig` on the 
>>> Power 8 system IBM S822LC with Ubuntu 18.04 fails with the error below.
>>>
>>> ```
>>> $ git describe --dirty
>>> v4.17-rc6-296-gbc2dbc5420e8
>>> $ git log --oneline -1
>>> bc2dbc5420e8 (HEAD -> master, origin/master, origin/HEAD) Merge 
>>> branch 'akpm' (patches from Andrew)
>>> $ make tinyconfig
>>> $ make -j120
>>> […]
>>>    AS      arch/powerpc/kernel/head_32.o
>>> arch/powerpc/kernel/head_32.S: Assembler messages:
>>> arch/powerpc/kernel/head_32.S:1106: Error: missing operand
>>
>> There was a similar problem in 2015, see 
>> http://linux-kernel.2935.n7.nabble.com/Missing-operand-for-tlbie-instruction-on-Power7-td1206917.html 
>>
>>
>> Which version of binutils do you use ?
> 
> 2.30-15ubuntu1 is installed.

Can tell what 'as --version' says ?

Thanks
Christophe

> 
> 
> Kind regards,
> 
> Paul

---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-05-27  9:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-26  4:35 arch/powerpc/kernel/head_32.S:1106: Error: missing operand Paul Menzel
2018-05-26 16:02 ` christophe leroy
2018-05-26 18:27   ` Paul Menzel
2018-05-27  9:29     ` christophe leroy
2018-05-26 19:19 ` Segher Boessenkool

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.