On 02.09.19 10:09, Jan Kiszka wrote:
From: Jan Kiszka <jan.kis...@siemens.com>

This allows to switch to gcc 8 which may report issues earlier.

Powerpc does not build with gcc 8 and even also 7, so go with 6.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>
---

Changes in v2:
  - switch back to gcc 6
  - switch to gcc 8 for the rest

Steven, any chance we get ppc to a newer gcc? Are the issues

https://travis-ci.com/xenomai-ci/xenomai/jobs/229976797#L786
https://travis-ci.com/xenomai-ci/xenomai/jobs/229922504#L3071

fixed in newer 4.14 releases?

  .travis.yml | 15 +++++++++++----
  1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 671c551f72..15efb7ccb1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,15 +1,16 @@
  language: c
-dist: xenial
+dist: bionic
  cache: ccache
addons:
    apt:
      packages:
-      - gcc-aarch64-linux-gnu
+      - gcc-8
+      - gcc-8-aarch64-linux-gnu
        - libc6-dev-arm64-cross
-      - gcc-arm-linux-gnueabihf
+      - gcc-8-arm-linux-gnueabihf
        - libc6-dev-armhf-cross
-      - gcc-powerpc-linux-gnu
+      - gcc-6-powerpc-linux-gnu
        - libc6-dev-powerpc-cross
        - u-boot-tools
@@ -20,6 +21,10 @@ env:
      - CCACHE_MAXSIZE=400M
install:
+  - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 800
+  - sudo update-alternatives --install /usr/bin/aarch64-linux-gnu-gcc 
aarch64-linux-gnu-gcc /usr/bin/aarch64-linux-gnu-gcc-8 800
+  - sudo update-alternatives --install /usr/bin/arm-linux-gnueabihf-gcc 
arm-linux-gnueabihf-gcc /usr/bin/arm-linux-gnueabihf-gcc-8 800
+  - sudo update-alternatives --install /usr/bin/powerpc-linux-gnu-gcc 
powerpc-linux-gnu-gcc /usr/bin/powerpc-linux-gnu-gcc-6 800
    - git clone --depth 1 --branch ${IPIPE_REV} ${IPIPE_KERNEL} ${KDIR}
before_script:
@@ -46,6 +51,8 @@ before_script:
    - ln -s /usr/bin/ccache ~/ccache/arm-linux-gnueabihf-gcc
    - ln -s /usr/bin/ccache ~/ccache/powerpc-linux-gnu-gcc
    - export PATH=~/ccache:$PATH
+  - ${CROSS_COMPILE}gcc --version
+
    - pushd ${KDIR}
    - make -j $(nproc) ${KERNEL_DEFCONFIG}

Argh, wrong list, ignore.

Jan

--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

--
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jailhouse-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/38ca40f7-fcde-ceaa-1c91-f4b809a9e0a6%40siemens.com.

Reply via email to