Public bug reported:

1. binfmt-update-in doesn't have definition for ppc64le_{magic,mask}.

I temporarily created one using hexdump output:

hexdump -C /bin/bash | head -n 2
00000000  7f 45 4c 46 02 01 01 00  00 00 00 00 00 00 00 00  |.ELF............|
00000010  02 00 15 00 01 00 00 00  70 14 02 10 00 00 00 00  |........p.......|


hexdump -C /bin/sh | head -n 2
00000000  7f 45 4c 46 02 01 01 00  00 00 00 00 00 00 00 00  |.ELF............|
00000010  03 00 15 00 01 00 00 00  ac 4e 00 00 00 00 00 00  |.........N......|


2. I added a small patch of 32-bit usermode "qemu-ppcle" (being subarch of 
ppc64le)

I am in the porting powerpcel (32bit ppc LE) ubuntu 14.04, and 
got successfully chroot with this qemu-ppcle patch and it looks very promising 
(i.e.
build perl looks ok)

3.  I am attaching patch for above two.  You can  ignore/reject if
necessary.

Thanks.

** Affects: qemu (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "patch for ppc64le magic + qemu-ppcle"
   
https://bugs.launchpad.net/bugs/1358268/+attachment/4180535/+files/qemu-2.1.0-ppcle.diff

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1358268

Title:
  ppc64le (+ ppcle) magic is missing in debian/binfmt-update-in

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1358268/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to