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

Re: [Xen-devel] [PATCH] automation: add SLES 11 SP4 dockerfile



>>> On 17.07.18 at 22:03, <wei.liu2@xxxxxxxxxx> wrote:
> Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
> ---
> No OVMF because it requires gcc 4.4 or later.
> No seabios because it requires anonymous union initialisation

This is unfortunate, and could perhaps be worked around by using the
alternative newer gcc-5 (iirc) that is being provided. Otoh we're not
so much after the build checking of 3rd party components here anyway.

> No QEMU upstrea because sed doesn't support -E.

This has been fixed in qemu quite some time ago (6809df1df0).

> vmcs.c vmx_find_msr and vmx_del_msr build failure in pv shim because
> the compiler thinks total, substart and subend may be used
> uninitialised.  The compiler doesn't complain while building normal
> xen though.

A patch for this was already sent, but I mean to work out whether
instead some CFLAGS issue exists.

> Cc: Jan Beulich <jbeulich@xxxxxxxx>
> Cc: Doug Goldstein <cardoe@xxxxxxxxxx>
> ---
>  automation/build/suse/sles11sp4.dockerfile | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
>  create mode 100644 automation/build/suse/sles11sp4.dockerfile
> 
> diff --git a/automation/build/suse/sles11sp4.dockerfile 
> b/automation/build/suse/sles11sp4.dockerfile
> new file mode 100644
> index 0000000000..ff69a99afc
> --- /dev/null
> +++ b/automation/build/suse/sles11sp4.dockerfile
> @@ -0,0 +1,20 @@
> +FROM registry.gitlab.com/xen-project/xen/suse:sles11sp4-base
> +LABEL maintainer.name="The Xen Project" \
> +      maintainer.email="xen-devel@xxxxxxxxxxxxxxxxxxxx"
> +
> +ENV USER root
> +
> +RUN mkdir /build
> +WORKDIR /build
> +
> +# Nothing else is needed -- base image already contain everything.
> +
> +# Note:
> +#
> +# SLES11 SP4 runs pre-2.13 glibc, which requires vsyscall support.  Most
> +# distros nowadays disable vsyscall. To run this container, the host needs 
> to
> +# have vsyscall=emulate in its kernel command line.
> +#
> +# Due to various issues in SLES11 SP4, you might want to disable building
> +# certain components. Known *not bulding* components include OVMF, SEABIOS
> +# and upstream QEMU.
> -- 
> 2.11.0





_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.