Skip to contentSkip to conversation

automation: Add 32bit Jessie

PATCH In review Andrew Cooper 2 participants 6 messages Nov 19, 2018

lore
Share & tools
lore
#0 lore raw

cover automation: Add 32bit Jessie

Sample run available here:

https://gitlab.com/xen-project/people/andyhhp/xen/pipelines/37138805

Note that the failure is due to missing "libx86: Work around GCC being unable to spill the PIC hard register" which was the trigger for doing this work.

Andrew Cooper (2):
automation: Add a 32bit Debian Jessie dockerfile
automation: Add 32bit Debian Jessie builds

 .gitlab-ci.yml                                 | 32 +++++++++++++++++
 automation/build/debian/jessie-i386.dockerfile | 50 ++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)
 create mode 100644 automation/build/debian/jessie-i386.dockerfile
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
#1 lore raw

PATCH 1/2 automation: Add a 32bit Debian Jessie dockerfile

---
CC: Wei Liu <[email protected]>
CC: Doug Goldstein <[email protected]>

---
 automation/build/debian/jessie-i386.dockerfile | 50 ++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
 create mode 100644 automation/build/debian/jessie-i386.dockerfile
automation/build/debian/jessie-i386.dockerfile new file +50 -0
new file mode 100644
index 0000000..7a05004
@@ -0,0 +1,50 @@
+FROM i386/debian:jessie
+LABEL maintainer.name="The Xen Project" \
+      maintainer.email="[email protected]"
+
+ENV DEBIAN_FRONTEND=noninteractive
+ENV USER root
+
+RUN mkdir /build
+WORKDIR /build
+
+ENTRYPOINT ["linux32"]
+
+# build depends
+RUN apt-get update && \
+    apt-get --quiet --yes install \
+        build-essential \
+        zlib1g-dev \
+        libncurses5-dev \
+        libssl-dev \
+        python2.7-dev \
+        xorg-dev \
+        uuid-dev \
+        libyajl-dev \
+        libaio-dev \
+        libglib2.0-dev \
+        clang \
+        libpixman-1-dev \
+        pkg-config \
+        flex \
+        bison \
+        gettext \
+        acpica-tools \
+        bin86 \
+        bcc \
+        liblzma-dev \
+        libc6-dev \
+        libnl-3-dev \
+        ocaml-nox \
+        libfindlib-ocaml-dev \
+        markdown \
+        transfig \
+        pandoc \
+        checkpolicy \
+        wget \
+        git \
+        nasm \
+        && \
+        apt-get autoremove -y && \
+        apt-get clean && \
+        rm -rf /var/lib/apt/lists* /tmp/* /var/tmp/*
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
#3 lore raw

PATCH 2/2 automation: Add 32bit Debian Jessie builds

In reply to Andrew Cooper

---
CC: Wei Liu <[email protected]>
CC: Doug Goldstein <[email protected]>

---
 .gitlab-ci.yml | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
.gitlab-ci.yml +32 -0
index e7690e2..ad82c20 100644
@@ -92,6 +92,38 @@ debian-jessie-gcc-debug:
     debug: y
     XEN_TARGET_ARCH: x86_64
 
+debian-jessie-32-clang:
+  <<: *build
+  variables:
+    <<: *clang
+    CONTAINER: debian:jessie-i386
+    debug: n
+    XEN_TARGET_ARCH: x86_32
+
+debian-jessie-32-clang-debug:
+  <<: *build
+  variables:
+    <<: *clang
+    CONTAINER: debian:jessie-i386
+    debug: y
+    XEN_TARGET_ARCH: x86_32
+
+debian-jessie-32-gcc:
+  <<: *build
+  variables:
+    <<: *gcc
+    CONTAINER: debian:jessie-i386
+    debug: n
+    XEN_TARGET_ARCH: x86_32
+
+debian-jessie-32-gcc-debug:
+  <<: *build
+  variables:
+    <<: *gcc
+    CONTAINER: debian:jessie-i386
+    debug: y
+    XEN_TARGET_ARCH: x86_32
+
 debian-stretch-clang:
   <<: *build
   variables:
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
#5 lore raw
In reply to Andrew Cooper
Quoted 6 lines · Andrew Cooper

Sample run available here:

https://gitlab.com/xen-project/people/andyhhp/xen/pipelines/37138805

Note that the failure is due to missing "libx86: Work around GCC being unable to spill the PIC hard register" which was the trigger for doing this work.

And here is run with the above patch already present in staging.  Rather less red this time.

https://gitlab.com/xen-project/people/andyhhp/xen/pipelines/37151299

~Andrew

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel