Re: [PATCH-for-5.0] roms/edk2-funcs.sh: Use available GCC for ARM/Aarch64 targets

2019-12-08 Thread dann frazier
On Fri, Dec 06, 2019 at 06:07:58AM +0100, Philippe Mathieu-Daudé wrote: > On 12/5/19 8:35 PM, Laszlo Ersek wrote: > > On 12/05/19 17:50, Ard Biesheuvel wrote: > > > On Thu, 5 Dec 2019 at 16:27, Philippe Mathieu-Daudé > > > wrote: > > > > > > > > On 12/5/19 5:13 PM, Laszlo Ersek wrote: > > > > >

Re: [PATCH-for-5.0] roms/edk2-funcs.sh: Use available GCC for ARM/Aarch64 targets

2019-12-05 Thread Philippe Mathieu-Daudé
On 12/5/19 8:35 PM, Laszlo Ersek wrote: On 12/05/19 17:50, Ard Biesheuvel wrote: On Thu, 5 Dec 2019 at 16:27, Philippe Mathieu-Daudé wrote: On 12/5/19 5:13 PM, Laszlo Ersek wrote: Hi Phil, (+Ard) On 12/04/19 23:12, Philippe Mathieu-Daudé wrote: Centos 7.7 only provides cross GCC 4.8.5,

Re: [PATCH-for-5.0] roms/edk2-funcs.sh: Use available GCC for ARM/Aarch64 targets

2019-12-05 Thread Laszlo Ersek
On 12/05/19 17:50, Ard Biesheuvel wrote: > On Thu, 5 Dec 2019 at 16:27, Philippe Mathieu-Daudé wrote: >> >> On 12/5/19 5:13 PM, Laszlo Ersek wrote: >>> Hi Phil, >>> >>> (+Ard) >>> >>> On 12/04/19 23:12, Philippe Mathieu-Daudé wrote: Centos 7.7 only provides cross GCC 4.8.5, but the script

Re: [PATCH-for-5.0] roms/edk2-funcs.sh: Use available GCC for ARM/Aarch64 targets

2019-12-05 Thread Philippe Mathieu-Daudé
On 12/5/19 5:47 PM, Andrea Bolognani wrote: On Thu, 2019-12-05 at 17:27 +0100, Philippe Mathieu-Daudé wrote: On 12/5/19 5:13 PM, Laszlo Ersek wrote: If that rules out CentOS 7 as a QEMU project build / CI platform for the bundled ArmVirtQemu binaries, then we need a more recent platform

Re: [PATCH-for-5.0] roms/edk2-funcs.sh: Use available GCC for ARM/Aarch64 targets

2019-12-05 Thread Ard Biesheuvel
On Thu, 5 Dec 2019 at 16:27, Philippe Mathieu-Daudé wrote: > > On 12/5/19 5:13 PM, Laszlo Ersek wrote: > > Hi Phil, > > > > (+Ard) > > > > On 12/04/19 23:12, Philippe Mathieu-Daudé wrote: > >> Centos 7.7 only provides cross GCC 4.8.5, but the script forces > >> us to use GCC5. Since the same

Re: [PATCH-for-5.0] roms/edk2-funcs.sh: Use available GCC for ARM/Aarch64 targets

2019-12-05 Thread Andrea Bolognani
On Thu, 2019-12-05 at 17:27 +0100, Philippe Mathieu-Daudé wrote: > On 12/5/19 5:13 PM, Laszlo Ersek wrote: > > If that rules out CentOS 7 as a QEMU project build / CI platform for the > > bundled ArmVirtQemu binaries, then we need a more recent platform > > (perhaps CentOS 8, not sure). > >

Re: [PATCH-for-5.0] roms/edk2-funcs.sh: Use available GCC for ARM/Aarch64 targets

2019-12-05 Thread Philippe Mathieu-Daudé
On 12/5/19 5:13 PM, Laszlo Ersek wrote: Hi Phil, (+Ard) On 12/04/19 23:12, Philippe Mathieu-Daudé wrote: Centos 7.7 only provides cross GCC 4.8.5, but the script forces us to use GCC5. Since the same machinery is valid to check the GCC version, remove the $emulation_target check. $ cat

Re: [PATCH-for-5.0] roms/edk2-funcs.sh: Use available GCC for ARM/Aarch64 targets

2019-12-05 Thread Laszlo Ersek
Hi Phil, (+Ard) On 12/04/19 23:12, Philippe Mathieu-Daudé wrote: > Centos 7.7 only provides cross GCC 4.8.5, but the script forces > us to use GCC5. Since the same machinery is valid to check the > GCC version, remove the $emulation_target check. > > $ cat /etc/redhat-release > CentOS Linux

[PATCH-for-5.0] roms/edk2-funcs.sh: Use available GCC for ARM/Aarch64 targets

2019-12-04 Thread Philippe Mathieu-Daudé
Centos 7.7 only provides cross GCC 4.8.5, but the script forces us to use GCC5. Since the same machinery is valid to check the GCC version, remove the $emulation_target check. $ cat /etc/redhat-release CentOS Linux release 7.7.1908 (Core) $ aarch64-linux-gnu-gcc -v 2>&1 | tail -1 gcc