[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#708070: enable x32 support for the amd64 kernels



On Fri, 25 Jul 2014, Ben Hutchings wrote:

No, there should be no extra kernel flavours for i386 or amd64.
Hmm, still not getting this. I thought the point of flavours was to split
off options that, though popular, have undesirable side effects.

I had an idea how to unblock this, and finally got round to trying it,
and it seems to work.  That is, we build in x32 support but require a
run-time parameter to enable.  So, please try the attached patch
(against the sid branch), adding "syscall.x32=y" to the kernel command
line.
But this sounds perfectly acceptable.

The general instructions for building a patched package are:
<http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-official>.
Oh, yes ... I remember that :-(

You'll need to follow subsection 4.2.3 and apply the patch like so:
   patch -p1 < ../x86-syscall-make-x32-syscall-support-conditional.patch
   quilt push
Will try this "shortly". Though I may have to spin up a "VM" to build it.

--
Rob.                          (Robert de Bath <robert$ @ debath.co.uk>)
                                             <http://www.debath.co.uk/>


Reply to: