Here is a minimal test case extracted from swsusp_asm64.s:
bergner@genoa:~/binutils/BUGS$ cat tlbie.s
.text
tlbie %r4
bergner@genoa:~/binutils/BUGS$
/home/bergner/binutils/build/binutils-2_25/gas/as-new -a64 -mpower7 tlbie.s
tlbie.s: Assembler messages:
tlbie.s:2: Error: missing operand
In ISA 2.06 (ie, POWER7), the tlbie instruction was changed from:
tlbie RB,L # Where L = 0 or 1 and "tlbie RB" is an extended
mnemonic for "tlbie RB,0"
to
tlbie RB,RS
The assembler was recently changed to accept the "tlbie RB,RS" variant
so that is why we are seeing the error now and not before, but I believe
it is correct that the assembler error out on this, as the tlbie
instruction really did change. I believe the correct "fix" for this is
going to take a kernel source change. Whether that is to setup and pass
RS to the tlbie or whether we should use tlbiel instead, I'm not sure.
I'll ping our kernel team and see what they say.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1463836
Title:
4.0 kernel build failure on ppc64el
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1463836/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs