[Pkg-uml-pkgs] failed i386 build of user-mode-linux 4.7-1um-2
Ritesh Raj Sarraf
rrs at debian.org
Sun Oct 30 18:34:58 UTC 2016
Hello Mattia,
In my opinion, the best fix for this issue seems to be to build the kernel with
gcc-5. I propose the changes (patch attached). The same approach is what the
Debian Kernel team too has taken.
I have built the UML kernel successfully on both the architectures, with the
proposed patch.
Please let me know what you think. I have not pushed the change yet. Will do
after an ack from you.
Thanks,
Ritesh
On Sun, 2016-10-30 at 21:36 +0530, Ritesh Raj Sarraf wrote:
> I spoke out too early. The change ("-fno-PIE") fixed the build on i386 but
> broken it on amd64.
>
>
>
> On Sun, 2016-10-30 at 16:15 +0530, Ritesh Raj Sarraf wrote:
> > On Mon, 2016-10-24 at 07:20 -0700, Mattia Dongili wrote:
> > > I suppose you're referring to:
> > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841368
> > >
> > > There is a workaround in the bugreport ("-fno-PIE -fno-PIC"[1]).
> > > Is it worth trying it?
> >
> > Thanks Mattia. This change does get it to build on i386.
> >
> > > Although, we'll see how all of this enabling default PIE in gcc ends.
> >
> > I have committed the change but will hold the upload until 4.8 linux source
> > hits
> > Unstable. Hopefully, by then, the linux kernel and gcc teams can come to a
> > conclusion.
> >
> >
--
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-uml-gcc-build-failure.patch
Type: text/x-patch
Size: 2771 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-uml-pkgs/attachments/20161031/05314aeb/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-uml-pkgs/attachments/20161031/05314aeb/attachment.sig>
More information about the Pkg-uml-pkgs
mailing list