Re: [edk2-devel] Building EDK2 code on arm64 (aarch64) - BaseTools fails

2019-04-10 Thread Rebecca Cran via Groups.Io
On 2019-04-10 20:07, Rebecca Cran via Groups.Io wrote: Thanks. I'm working on fixing it now: it looks like it needs new compiler flags in BaseTools/Source/C/Makefiles/header.makefile, as well as recognizing arm64 as a platform name in addition to aarch64 It didn't need any compiler flag chang

Re: [edk2-devel] Building EDK2 code on arm64 (aarch64) - BaseTools fails

2019-04-10 Thread Rebecca Cran via Groups.Io
On 2019-04-10 18:09, Liming Gao wrote: Yes. No test on FreeBSD. If possible, can you contribute the patch to fix this issue on FreeBSD? Thanks. I'm working on fixing it now: it looks like it needs new compiler flags in BaseTools/Source/C/Makefiles/header.makefile, as well as recognizing ar

Re: [edk2-devel] Building EDK2 code on arm64 (aarch64) - BaseTools fails

2019-04-10 Thread Liming Gao
groups.io; rebe...@bluestop.org >Subject: Re: [edk2-devel] Building EDK2 code on arm64 (aarch64) - BaseTools >fails > >On 04/10/19 06:57, Rebecca Cran via Groups.Io wrote: >> Is there any expectation that EDK2 will build on non-x86 systems? > >Yes. It should certainly build

Re: [edk2-devel] Building EDK2 code on arm64 (aarch64) - BaseTools fails

2019-04-10 Thread Laszlo Ersek
On 04/10/19 06:57, Rebecca Cran via Groups.Io wrote: > Is there any expectation that EDK2 will build on non-x86 systems? Yes. It should certainly build on aarch64 (Linux at least). > > I tried building BaseTools (from git master, > ae2fb9ead47b5abaf2a4e815b5f57c8f4838b221) using GCC 8.2 on a Sof

Re: [edk2-devel] Building EDK2 code on arm64 (aarch64) - BaseTools fails

2019-04-10 Thread Rebecca Cran via Groups.Io
On 2019-04-10 08:41, Philippe Mathieu-Daudé wrote: This doesn't look like an architecture problem. It seems your GCC version isn't checked correctly by BaseTools. This warning is supposed to be disabled, see: StdLib/LibC/Stdio/Stdio.inf: GCC:*_*_*_CC_FLAGS= -fno-builtin -Wno-pointer-to-int

Re: [edk2-devel] Building EDK2 code on arm64 (aarch64) - BaseTools fails

2019-04-10 Thread Philippe Mathieu-Daudé
On 4/10/19 6:57 AM, Rebecca Cran via Groups.Io wrote: > Is there any expectation that EDK2 will build on non-x86 systems? I have no problem using Ubuntu Bionic on Aarch64 using the default GCC. $ lsb_release -cd Description:Ubuntu 18.04.2 LTS Codename: bionic $ uname -ms Linux aarch64

[edk2-devel] Building EDK2 code on arm64 (aarch64) - BaseTools fails

2019-04-09 Thread Rebecca Cran via Groups.Io
Is there any expectation that EDK2 will build on non-x86 systems? I tried building BaseTools (from git master, ae2fb9ead47b5abaf2a4e815b5f57c8f4838b221) using GCC 8.2 on a SoftIron OverDrive 1000 (running FreeBSD) but there are lots of errors, such as: gcc  -c  -I .. -I ../Include/Common -I