Re: [PATCH V2 5/9] ppc64el: kernel: patch: temporarily disable zImage

2014-06-04 Thread Ben Hutchings
On Wed, 2014-06-04 at 09:06 -0300, Mauricio Faria de Oliveira wrote:
 Debian ppc64el will wait for the 'powerpc/boot: 64bit little endian wrapper'
 (zImage) patches upstream rather than shipping 32-bit tools for zImage.  The
 patches are currently in Ben Herrenschmidt's linux-next tree [1].
 
 The patches are not being carried over instead of this workaround because,
 even without both, the build process does produces vmlinux, only failing for
 zImage. So, it's ok to just work-around this for now, as we pick vmlinux.
 
 The workaround patch just avoids this build error:
 
   [...]
 LD  vmlinux
 SYSMAP  System.map
   [...]
 WRAParch/powerpc/boot/zImage.pseries
   ld: unrecognised emulation mode: elf32ppc
   Supported emulations: elf64lppc elf32lppc elf32lppclinux elf32lppcsim
   make[6]: *** [arch/powerpc/boot/zImage.pseries] Error 1
   make[5]: *** [zImage] Error 2
 
 [1] 
 https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/log/?qt=grepq=powerpc%2Fboot
 (15 commits with message prefix 'powerpc/boot:' dated of 2014-04-28)
 
 Signed-off-by: Mauricio Faria de Oliveira mauri...@linux.vnet.ibm.com
 ---
  debian/patches/debian/ppc64el-disable-zImage.patch |   20 
 
  debian/patches/series  |1 +
  2 files changed, 21 insertions(+), 0 deletions(-)
  create mode 100644 debian/patches/debian/ppc64el-disable-zImage.patch
 
 diff --git a/debian/patches/debian/ppc64el-disable-zImage.patch 
 b/debian/patches/debian/ppc64el-disable-zImage.patch
 new file mode 100644
 index 000..1fb9a1f
 --- /dev/null
 +++ b/debian/patches/debian/ppc64el-disable-zImage.patch
 @@ -0,0 +1,20 @@
 +Index: linux-3.14.2/arch/powerpc/boot/Makefile
 +===
 +--- linux-3.14.2.orig/arch/powerpc/boot/Makefile 2014-05-02 
 16:52:37.0 -0300
  linux-3.14.2/arch/powerpc/boot/Makefile  2014-05-07 09:39:11.0 
 -0300
[...]

This patch file is missing a header, but we can copy that from your
email.

Ben.

-- 
Ben Hutchings
Experience is what causes a person to make new mistakes instead of old ones.


signature.asc
Description: This is a digitally signed message part


Re: [PATCH V2 5/9] ppc64el: kernel: patch: temporarily disable zImage

2014-06-04 Thread Mauricio Faria de Oliveira

On 06/04/2014 09:32 AM, Ben Hutchings wrote:

This patch file is missing a header, but we can copy that from your
email.


Ok, I would be fine with that or resubmitting a fixed one. Whatever
works best for you.

Thanks,

--
Mauricio Faria de Oliveira
IBM Linux Technology Center


--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/538f1c2f.8090...@linux.vnet.ibm.com