Okay, had a long talk with mpee and benh on IRC, where a few things came out of it:
1) This is absolutely an upstream kernel bug. 2) This code probably doesn't work on anything newer than a G5 *anyway*, even if they fix that one line. Given those two points, the conclusion we came to is that we should disable CONFIG_HIBERNATION for ppc64el, and they'll backburner an item to some day see if they can make hibernation work on modern POWER CPUs, but no one sees that as critical. I did a testbuild on ppc64el with CONFIG_HIBERNATION=n, and that worked fine, so that's what we should do for now. ** Package changed: binutils (Ubuntu) => linux (Ubuntu) ** Changed in: linux (Ubuntu) Assignee: Matthias Klose (doko) => (unassigned) ** Changed in: linux (Ubuntu) Status: New => Confirmed ** Summary changed: - 4.0 kernel build failure on ppc64el + Disable CONFIG_HIBERNATION on ppc64el -- 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: Disable CONFIG_HIBERNATION on ppc64el Status in linux package in Ubuntu: Confirmed 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/linux/+bug/1463836/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp