Re: [PATCH v2] ci: Update build environment to Ubuntu 18.04
On Monday, September 2, 2019 4:10:52 AM EDT Jan Kiszka wrote: > On 02.09.19 10:09, Jan Kiszka wrote: > > 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? Strange. I build with gcc 7.3.0. I was going to try and get to some ppc stuff this week. I need to do some updates on the vendor board I have with 4.19 and then I will test with xenomai. Hopefully I can get to that later this week. I have seen the error with missing symbol _restgpr_31_x but it's been so long I forget what the resolution was. Steven -- 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/52277842.1e8b158zFm%40omoikane.
Re: [PATCH v2] ci: Update build environment to Ubuntu 18.04
On 02.09.19 10:09, Jan Kiszka wrote: From: Jan Kiszka 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 --- 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.
[PATCH v2] ci: Update build environment to Ubuntu 18.04
From: Jan Kiszka 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 --- 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} -- 2.16.4 -- 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/08337573-b545-aff2-315b-174504c4caf2%40siemens.com.
[PATCH v2] ci: Update build environment to Ubuntu 18.04
From: Jan Kiszka This allows to switch to gcc 8 which may report issues earlier. Signed-off-by: Jan Kiszka --- Changes in v2: - use gcc 8 rather than the default 7 .travis.yml | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8280912d..2d120561 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ # language: c -dist: xenial +dist: bionic compiler: - gcc @@ -20,9 +20,10 @@ addons: apt: packages: - python-mako - - gcc-arm-linux-gnueabihf + - gcc-8 + - gcc-8-arm-linux-gnueabihf - libc6-dev-armhf-cross - - gcc-aarch64-linux-gnu + - gcc-8-aarch64-linux-gnu - libc6-dev-arm64-cross coverity_scan: project: @@ -34,6 +35,9 @@ addons: branch_pattern: coverity_scan.* 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 # Work around broken certificate of scan.coverity.com - sudo curl -s -L https://entrust.com/root-certificates/entrust_l1k.cer -o /usr/local/share/ca-certificates/entrust_l1k.crt - sudo update-ca-certificates -- 2.16.4 -- 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/57ccfd93-38c8-e58a-5c28-c9b7b5fface0%40siemens.com.