From: Prem Kumar <perry.prem@gmail.com>
To: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: liming.gao@intel.com, edk2-devel@lists.01.org
Subject: Re: [edk2-buildtools] Configuration changes for building EDK2 for AARCH64 using LLVM
Date: Mon, 5 Nov 2018 16:09:52 +0530 [thread overview]
Message-ID: <CAG+YCe3D4Ybp6BLaZ8bNuVurD_HxhCuOMWJZaA1F1-xX7vyEbg@mail.gmail.com> (raw)
In-Reply-To: <CAKv+Gu_pzUfPBRnnsMtxDAJa6suptyGPZX=MjZQbjHS4gxwhdQ@mail.gmail.com>
Hi Ard Biesheuvel,
Thanks for your reply.
I've windows environment and LLVM tools chain installed. I'd like to build
EDK2 project for ARM and AARCH64.
Just a simple try I've tried CLANG38 tool chain to build MdeModulePkg.dsc
like below,
*build -t CLANG38 -a AARCH64 -p MdeModulePkg\MdeModulePkg.dsc*
Below is the error for above command used,
C:\UEFIWorkspace\edk2-master_2018_Latest>build -t CLANG38 -a AARCH64 -p
MdeModulePkg\MdeModulePkg.dsc
Build environment: Windows-10-10.0.16299
Build start time: 16:08:38, Nov.05 2018
WORKSPACE = c:\uefiworkspace\edk2-master_2018_latest
ECP_SOURCE =
c:\uefiworkspace\edk2-master_2018_latest\edkcompatibilitypkg
EDK_SOURCE =
c:\uefiworkspace\edk2-master_2018_latest\edkcompatibilitypkg
EFI_SOURCE =
c:\uefiworkspace\edk2-master_2018_latest\edkcompatibilitypkg
EDK_TOOLS_PATH = c:\uefiworkspace\edk2-master_2018_latest\basetools
EDK_TOOLS_BIN =
c:\uefiworkspace\edk2-master_2018_latest\basetools\bin\win32
CONF_PATH = c:\uefiworkspace\edk2-master_2018_latest\conf
Architecture(s) = AARCH64
Build target = DEBUG
Toolchain = CLANG38
Active Platform =
c:\uefiworkspace\edk2-master_2018_latest\MdeModulePkg\MdeModulePkg.dsc
Processing meta-data ...... done!
Building ...
c:\uefiworkspace\edk2-master_2018_latest\MdePkg\Library\BaseStackCheckLib\BaseStackCheckLib.inf
[AARCH64]
Building ...
c:\uefiworkspace\edk2-master_2018_latest\ArmPkg\Library\CompilerIntrinsicsLib\CompilerIntrinsicsLib.inf
[AARCH64]
Building ...
c:\uefiworkspace\edk2-master_2018_latest\MdePkg\Library\UefiLib\UefiLib.inf
[AARCH64]
'make' is not recognized as an internal or external command,
'make' is not recognized as an internal or external command,
Building ...
c:\uefiworkspace\edk2-master_2018_latest\MdePkg\Library\UefiApplicationEntryPoint\UefiApplicationEntryPoint.inf
[AARCH64]
operable program or batch file.
operable program or batch file.
build.py...
: error 7000: Failed to execute command
make tbuild
[c:\uefiworkspace\edk2-master_2018_latest\Build\MdeModule\DEBUG_CLANG38\AARCH64\MdePkg\Library\BaseStackCheckLib\BaseStackCheckLib]
'make' is not recognized as an internal or external command,
build.py...
: error 7000: Failed to execute command
make tbuild
[c:\uefiworkspace\edk2-master_2018_latest\Build\MdeModule\DEBUG_CLANG38\AARCH64\ArmPkg\Library\CompilerIntrinsicsLib\CompilerIntrinsicsLib]
build.py...
: error 7000: Failed to execute command
make tbuild
[c:\uefiworkspace\edk2-master_2018_latest\Build\MdeModule\DEBUG_CLANG38\AARCH64\MdePkg\Library\UefiLib\UefiLib]
build.py...
: error 7000: Failed to execute command
make tbuild
[c:\uefiworkspace\edk2-master_2018_latest\Build\MdeModule\DEBUG_CLANG38\AARCH64\MdePkg\Library\UefiApplicationEntryPoint\UefiApplicationEntryPoint]
build.py...
: error 7000: Failed to execute command
make tbuild
[c:\uefiworkspace\edk2-master_2018_latest\Build\MdeModule\DEBUG_CLANG38\AARCH64\MdePkg\Library\UefiDevicePathLib\UefiDevicePathLib]
build.py...
: error F002: Failed to build module
c:\uefiworkspace\edk2-master_2018_latest\MdePkg\Library\BaseStackCheckLib\BaseStackCheckLib.inf
[AARCH64, CLANG38, DEBUG]
- Failed -
Build end time: 16:08:52, Nov.05 2018
--
Thanks,
Prem.
On Mon, Nov 5, 2018 at 3:52 PM Ard Biesheuvel <ard.biesheuvel@linaro.org>
wrote:
> On 5 November 2018 at 09:51, Prem Kumar <perry.prem@gmail.com> wrote:
> > Hi All,
> >
> > I'm trying to build EDK2 for AARCH64 using LLVM tool chain under Windows
> > environment.
> >
> >
> >
> > Kindly provide any pointers
> >
> > - To configure tools chain,
> >
> > - Modify Conf folder for LLVM
> >
> > - Configure for building ARM and AARCH64
> >
> >
> > Any pointers are welcome to proceed further.
> >
>
> I'm sorry - I don't have access to a Windows machine, but I am not
> aware of any reasons why clang for windows wouldn't work with the
> CLANG38 toolchain profile to build AARCH64 targets.
>
> However, GCC5 is by far the best supported one, so if you're after the
> ability to build AARCH64 targets using whichever toolchain, that is
> what I would recommend instead.
>
next prev parent reply other threads:[~2018-11-05 10:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAG+YCe0inGqy_60B2LQhAfj0i9nJwMT0Jn0ynZ71TfPUtMUoUA@mail.gmail.com>
[not found] ` <CAG+YCe2ijxfGKKNk6HgW8Et7fL4xSgeJoKqkxnGVeUkes2F1qg@mail.gmail.com>
[not found] ` <4A89E2EF3DFEDB4C8BFDE51014F606A14E3644F3@SHSMSX104.ccr.corp.intel.com>
[not found] ` <CAG+YCe2ROe1wvF5QMX7ZEvLFuuy-1XxwPa=087W7jFny1wZ9zQ@mail.gmail.com>
2018-11-05 8:51 ` [edk2-buildtools] Configuration changes for building EDK2 for AARCH64 using LLVM Prem Kumar
2018-11-05 9:52 ` Gao, Liming
2018-11-05 10:22 ` Ard Biesheuvel
2018-11-05 10:39 ` Prem Kumar [this message]
2018-11-05 10:43 ` Ard Biesheuvel
2018-11-05 14:35 ` Gao, Liming
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAG+YCe3D4Ybp6BLaZ8bNuVurD_HxhCuOMWJZaA1F1-xX7vyEbg@mail.gmail.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox