touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #83846
[Bug 1463836] Re: 4.0 kernel build failure on ppc64el
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
Touch seeded packages, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1463836
Title:
4.0 kernel build failure on ppc64el
Status in binutils package in Ubuntu:
New
Bug description:
We have uploaded our first 4.0 based Wily kernel to the archive but
are unfortunately seeing the following build failure which we believe
is related to our wily toolchain:
https://launchpadlibrarian.net/208665203/buildlog_ubuntu-wily-
ppc64el.linux_4.0.0-1.1_BUILDING.txt.gz
/build/buildd/linux-4.0.0/arch/powerpc/kernel/swsusp_asm64.S: Assembler messages:
/build/buildd/linux-4.0.0/arch/powerpc/kernel/swsusp_asm64.S:188: Error: missing operand
/build/buildd/linux-4.0.0/scripts/Makefile.build:294: recipe for target 'arch/powerpc/kernel/swsusp_asm64.o' failed
make[3]: *** [arch/powerpc/kernel/swsusp_asm64.o] Error 1
/build/buildd/linux-4.0.0/Makefile:957: recipe for target 'arch/powerpc/kernel' failed
make[2]: *** [arch/powerpc/kernel] Error 2
We do not believe this is due to a kernel change as the code in
question has not changed in years. Additionally, we had 4.0 based
test builds successfully passing in our PPA (ppa:canonical-kernel-
team/ppa). The last successful test build in our PPA was from May 21
(the logs are still there if needed). We were also unable to
reproduce by cross-compiling.
As added information, our wily kernel git repo can be seen at:
https://git.launchpad.net/~ubuntu-
kernel/ubuntu/+source/linux/+git/wily
Let us know if any additional information is required to debug this.
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: binutils 2.25-8ubuntu1
ProcVersionSignature: Ubuntu 4.0.0-1.1-generic 4.0.5
Uname: Linux 4.0.0-1-generic x86_64
ApportVersion: 2.17.3-0ubuntu4
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Jun 10 06:16:10 2015
Dependencies:
gcc-5-base 5.1.1-9ubuntu2
libc6 2.21-0ubuntu4
libgcc1 1:5.1.1-9ubuntu2
multiarch-support 2.21-0ubuntu4
zlib1g 1:1.2.8.dfsg-2ubuntu1
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-03-17 (449 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140317)
SourcePackage: binutils
UpgradeStatus: Upgraded to wily on 2015-05-28 (12 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1463836/+subscriptions
References